16 this->operator=(joint);
21 this->Joint::operator=(joint);
36 ptrFirstDof->
MoveTo(value);
40 list<VART::Dof*>::iterator iter = dofList.begin();
43 ptrSecondDof->
MoveTo(value);
47 list<VART::Dof*>::iterator iter = dofList.begin();
51 ptrThirdDof->
MoveTo(value);
56 assert(GetNumDofs() == 3);
57 list<VART::Dof*>::iterator iter = dofList.begin();
60 ptrSecondDof->
Move(variance);
65 assert(GetNumDofs() == 3);
66 list<VART::Dof*>::iterator iter = dofList.begin();
70 ptrSecondDof->
Move(variance);
74 assert (GetNumDofs() < 3);
77 if (GetNumDofs() == 3)
Base class for objects that compose a scene graph.
Representation of joints.
virtual VART::SceneNode * Copy()
Returns a copy of an PolyaxialJoint. Every derived class must reimplements this method, to avoid errors with VART::SceneNode::RecursiveCopy.
void SetTwistTo(float value)
void SetAductionTo(float value)
void AddDof(Dof *dof)
Adds a Dof.
void Adduct(float variance)
virtual Dof * AddDof(const Point4D &vec, const Point4D &pos, float min, float max)
Adds a Dof.
Header file for V-ART class "PolyaxialJoint".
virtual void CopyDofListFrom(VART::Joint &joint)
Copy the dofList atribute from an joint, setting the ownerJoint atribute of copied dof to 'this' join...
void Twist(float variance)
void MoveTo(float pos)
Sets DOF's current position.
A joint with three rotational degrees of freedom.
void Move(float variance)
Changes DOF.
VART::PolyaxialJoint & operator=(const VART::PolyaxialJoint &joint)
Copy the polyaxialJoint data to another PolyaxialJoint.
Degree Of Freedom - basic component of a Joint.
void SetFlexionTo(float value)