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

Represents a string that can be plucked to make sound. More...

#include <Widget.h>

Inheritance diagram for String:
SoundSource Widget Shape

List of all members.

Public Member Functions

 String (Point2D p1, Point2D p2, float radius)
void initialize (Point2D p1, Point2D p2, float radius)
bool pluck (Plucker *plucker)
virtual WidgethitTest (float x, float y)
virtual void draw ()
virtual bool handleHover (float x, float y)
 Called when the user's mouse is hovering on the widget.
virtual void toOutboundPacketStream (osc::OutboundPacketStream &) const
void setPadRadius (float)
virtual SAMPLE tick ()
 Returns the current sound signal and proceed to the next time unit.
LinegetLine ()
Side getMouseSide (float, float)
Side updateMouseSide (float, float)

Protected Attributes

Linem_line
Point2D m_p1
Point2D m_p2
Spiralm_p1Dot
Spiralm_p2Dot
Pluckerm_lastPlucker
Side m_mouseSide
stk::Plucked m_plucked
float m_freq

Detailed Description

Represents a string that can be plucked to make sound.


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