Play 'round
Public Member Functions | Protected Member Functions | Protected Attributes
Joint Class Reference

The connection between tracks that relays the plucker from one path to another. More...

#include <Widget.h>

Inheritance diagram for Joint:
Widget Shape

List of all members.

Public Member Functions

 Joint (Point2D center, float radius)
void addTrack (Track *track)
Point2D getCenter ()
void setCenter (Point2D center)
void setColor (Color color)
std::vector< Track * > * getTracks ()
virtual void draw ()
virtual WidgethitTest (float x, float y)
virtual std::string toString ()
RoundPadgetParentRoundPad ()
void setParentRoundPad (RoundPad *pad)

Protected Member Functions

virtual bool handleDraw (float x, float y)
 The draw event called when the user drags from this widget.
virtual bool handleDrawEnd (float x, float y)
 The last draw event called when the user finishes dragging.
virtual bool handleSelect (float x, float y, bool=false)
 Called when the user click on the widget.

Protected Attributes

std::vector< Track * > m_tracks
Point2D m_center
float m_radius
Spiralm_circle
SpiralTrackm_newSpiralTrack
LineTrackm_newLineTrack
Line m_dragLine
bool m_drawing
RoundPadm_parentRoundPad

Detailed Description

The connection between tracks that relays the plucker from one path to another.


The documentation for this class was generated from the following files:
 All Classes Functions Enumerations