| V-ARTContributions
    | 
Articulated object for humanoid representation. More...
#include <human.h>
 
  
 | Classes | |
| class | StepManager | 
| Public Member Functions | |
| Human () | |
| Creates an uninitialized humanoid.  More... | |
| Human (VART::Human &human) | |
| ~Human () | |
| virtual SceneNode * | Copy () | 
| virtual void | ComputeBoundingBox () | 
| virtual void | TraverseDepthFirst (SNOperator *operatorPtr) | 
| virtual void | LocateDepthFirst (SNLocator *locatorPtr) const | 
| virtual void | DrawForPicking () const | 
| bool | LoadFromFile (const std::string &fileName) | 
| Loads from a XML file.  More... | |
| void | PutIntoScene (Scene *scenePtr) | 
| Adds the humanoid to a scene.  More... | |
| XmlJointAction * | LoadAction (const std::string &fileName) | 
| Loads action from given file name.  More... | |
| void | ModifyActions (DMModifier &modifier) | 
| Modifies registered actions.  More... | |
| void | ComputeStickPosition (Point4D *resultPtr) | 
| void | AdjustPosition () | 
| void | ComputeTransform (Transform *transPtr) | 
| void | Move (const Point4D &offset) | 
| void | ResetPosition () | 
| void | RotateOnY (float radians) | 
| void | Walk (bool status) | 
| bool | WalkTo (const Point4D &dest, const Point4D &orientation) | 
| void | SwapLegs () | 
| void | StickRightFoot () | 
| void | StickLeftFoot () | 
| bool | ReachedDestiantion () const | 
| Returns true if the human has reached its destination.  More... | |
| Point4D | Position () const | 
| bool | IsWalking () const | 
| void | ChangeAdjustment (const Point4D &displacement) | 
| void | ActivateBreatheAction (bool status) | 
| void | ActivateRestAction (bool status) | 
| Protected Member Functions | |
| void | ComputeLocalStickPosition (Point4D *resultPtr) | 
| Computes and returns the position of the right foot front.  More... | |
| virtual bool | DrawInstanceOGL () const | 
| float | AngleToPosition (const Point4D &pos, float *totalAngle) const | 
| Builds its internal map of dof movers.  More... | |
| Protected Attributes | |
| std::list< JointAction * > | actionList | 
| Maps joint names to its noisydofmovers.  More... | |
| Point4D | rfFront | 
| Point4D | lfFront | 
| Point4D | rfBack | 
| Point4D | lfBack | 
| Point4D * | stickPositionPtr | 
| Transform | position | 
| A transform that puts the human at his position and orientation.  More... | |
| Transform | adjustment | 
| A transform that makes a point on human's geometry to stick at the ground.  More... | |
| Transform | orientation | 
| A transform that puts the human vertical on Y, scales him to the right size and puts his feet at Y = 0;.  More... | |
| Joint * | hipJointPtr | 
| SGPath | pathToRFoot | 
| SGPath | pathToLFoot | 
| SGPath * | pathToStickPosPtr | 
| JointAction * | moveLeftLegPtr | 
| JointAction * | moveRightLegPtr | 
| JointAction * | restPtr | 
| JointAction * | breathePtr | 
| StepManager | stepManager | 
| Point4D | forward | 
| A vector that points forward on the floor plane (world coordinates)  More... | |
| float | maxStepRotation | 
| Maximal rotation (radians) during a single step.  More... | |
| Point4D | destination | 
| bool | isWalking | 
| currently walking?  More... | |
| float | anxiety | 
| float | anger | 
| float | joy | 
| float | fear | 
| float | disgust | 
| float | surprise | 
| Friends | |
| class | StepManager | 
Articulated object for humanoid representation.
A human object is an articulated object that can be included in the scene graph.
| VART::Human::Human | ( | ) | 
Creates an uninitialized humanoid.
Definition at line 46 of file human.cpp.
References adjustment, orientation, and position.
| VART::Human::Human | ( | VART::Human & | human | ) | 
Definition at line 62 of file human.cpp.
References orientation, and position.
| 
 | protected | 
Builds its internal map of dof movers.
Computes signed angle to given position
| [in] | pos | position | 
| [out] | totalAngle | total angle to position | 
Returns a signed parcial angle to given position, as computed from human position (center – not foot support position). If you do not want the total angle, pass NULL.
| void VART::Human::ChangeAdjustment | ( | const Point4D & | displacement | ) | 
| 
 | protected | 
| void VART::Human::ComputeStickPosition | ( | Point4D * | resultPtr | ) | 
| void VART::Human::ComputeTransform | ( | Transform * | transPtr | ) | 
| 
 | protectedvirtual | 
| 
 | inline | 
| VART::XmlJointAction * VART::Human::LoadAction | ( | const std::string & | fileName | ) | 
| bool VART::Human::LoadFromFile | ( | const std::string & | fileName | ) | 
| 
 | virtual | 
| void VART::Human::ModifyActions | ( | DMModifier & | modifier | ) | 
| void VART::Human::PutIntoScene | ( | Scene * | scenePtr | ) | 
| bool VART::Human::ReachedDestiantion | ( | ) | const | 
| void VART::Human::SwapLegs | ( | ) | 
| 
 | virtual | 
| bool VART::Human::WalkTo | ( | const Point4D & | dest, | 
| const Point4D & | orientation | ||
| ) | 
| 
 | friend | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
 1.8.6
 1.8.6