8 #include "vart/graphicobj.h"
9 #include "vart/joint.h"
10 #include "vart/point4d.h"
11 #include "vart/sgpath.h"
12 #include "vart/callback.h"
48 virtual SceneNode*
Copy();
66 XmlJointAction*
LoadAction(
const std::string& fileName);
77 void Move(
const Point4D& offset);
83 void Walk(
bool status);
virtual void LocateDepthFirst(SNLocator *locatorPtr) const
std::list< JointAction * > actionList
Maps joint names to its noisydofmovers.
void ModifyActions(DMModifier &modifier)
Modifies registered actions.
XmlJointAction * LoadAction(const std::string &fileName)
Loads action from given file name.
virtual void DrawForPicking() const
SGPath * pathToStickPosPtr
Transform adjustment
A transform that makes a point on human's geometry to stick at the ground.
Transform position
A transform that puts the human at his position and orientation.
void RotateOnY(float radians)
virtual bool DrawInstanceOGL() const
JointAction * moveRightLegPtr
void ActivateBreatheAction(bool status)
Transform orientation
A transform that puts the human vertical on Y, scales him to the right size and puts his feet at Y = ...
float AngleToPosition(const Point4D &pos, float *totalAngle) const
Builds its internal map of dof movers.
Articulated object for humanoid representation.
void ChangeAdjustment(const Point4D &displacement)
void ComputeStickPosition(Point4D *resultPtr)
virtual void ComputeBoundingBox()
void ComputeTransform(Transform *transPtr)
void Move(const Point4D &offset)
bool isWalking
currently walking?
void ActivateRestAction(bool status)
bool LoadFromFile(const std::string &fileName)
Loads from a XML file.
virtual SceneNode * Copy()
Point4D forward
A vector that points forward on the floor plane (world coordinates)
void ComputeLocalStickPosition(Point4D *resultPtr)
Computes and returns the position of the right foot front.
Point4D * stickPositionPtr
bool WalkTo(const Point4D &dest, const Point4D &orientation)
bool ReachedDestiantion() const
Returns true if the human has reached its destination.
JointAction * moveLeftLegPtr
Human()
Creates an uninitialized humanoid.
void PutIntoScene(Scene *scenePtr)
Adds the humanoid to a scene.
virtual void TraverseDepthFirst(SNOperator *operatorPtr)
StepManager(Human *human)
float maxStepRotation
Maximal rotation (radians) during a single step.