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

The line shaped track. More...

#include <Widget.h>

Inheritance diagram for LineTrack:
Track Widget Shape

List of all members.

Public Member Functions

 LineTrack (Point2D p1, Point2D p2, Joint *joint1, Joint *joint2)
void initialize (Point2D p1, Point2D p2, Joint *joint1, Joint *joint2)
virtual void draw ()
virtual WidgethitTest (float x, float y)
virtual void toOutboundPacketStream (osc::OutboundPacketStream &) const
virtual Point2D getEndPoint1 ()
virtual Point2D getEndPoint2 ()
virtual Point2D getNextPos (bool fReverse, float distance, Point2D pos)
 Returns the next position on the track that is distance far away from the passed in position.
virtual bool handleHover (float x, float y)
 Called when the user's mouse is hovering on the widget.
LinegetLine ()

Protected Attributes

Linem_line
Point2D m_p1
Point2D m_p2

Detailed Description

The line shaped track.


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