Bratmobile
Public Member Functions | Public Attributes | Friends | List of all members
Disturbance Struct Reference
Collaboration diagram for Disturbance:
Collaboration graph
[legend]

Public Member Functions

 Disturbance (AffordanceIndex i)
 
 Disturbance (AffordanceIndex i, b2Vec2 p)
 
 Disturbance (AffordanceIndex i, b2Vec2 p, float a)
 
 Disturbance (BodyFeatures _bf)
 
 Disturbance (b2Body *b)
 
float getAngle (b2Transform)
 
float getAngle (b2Body *b)
 
void setPosition (b2Vec2 pos)
 
void setPosition (float x, float y)
 
b2Vec2 getPosition () const
 
bool isValid () const
 
AffordanceIndex getAffIndex () const
 
void set_affordance (AffordanceIndex a)
 
void invalidate ()
 
void validate ()
 
std::pair< bool, float > getOrientation ()
 
b2Transform pose () const
 
void setPose (b2Transform t)
 
void setAsBox (float w, float l)
 
BodyFeatures bodyFeatures () const
 
void subtractPose (b2Transform dPose)
 
float halfLength ()
 
float halfWidth ()
 
void setOrientation (float, float)
 
std::vector< b2Vec2 > vertices () const
 
bool operator== (const Disturbance &d)
 
bool operator== (const Disturbance &d) const
 

Public Attributes

BodyFeatures bf =BodyFeatures(b2Transform(b2Vec2(10000, 10000), b2Rot(M_PI)))
 

Friends

class ControlInterface
 
struct StateMatcher
 

The documentation for this struct was generated from the following files: