84 void GetDofs(std::list<Dof*>* dofListPtr);
105 virtual void XmlPrintOn(std::ostream& os,
unsigned int indent)
const;
114 static const Material& GetMaterial(
int num);
const Joint & operator=(const Joint &j)
std::istream & operator>>(std::istream &input, Joint::DofID &dofId)
Base class for objects that compose a scene graph.
Representation of joints.
Header file for V-ART class "Material".
Points and vectors using homogeneous coordinates.
std::list< Dof * > dofList
std::ostream & operator<<(std::ostream &output, const Joint::DofID &dofId)
bool HasDof(DofID dof)
Checks whether a DOF exists in the joint.
unsigned short int GetNumDofs() const
void MakeLim()
Updates the LIM, based on DOFs' situation.
bool MoveDof(DofID dof, float variance)
Moves a joint's DOF.
virtual Dof * AddDof(const Point4D &vec, const Point4D &pos, float min, float max)
Adds a Dof.
virtual void CopyDofListFrom(VART::Joint &joint)
Copy the dofList atribute from an joint, setting the ownerJoint atribute of copied dof to 'this' join...
Material properties for graphical objects.
void SetAtRest()
Put the joint in a rest position.
virtual VART::SceneNode * Copy()
Returns a copy of a Joint. Every derived class must reimplement this method, to avoid errors with VAR...
void GetDofs(std::list< Dof * > *dofListPtr)
Returns all DOFs.
Joint()
Creates an uninitialized joint.
DofID GetDofID(const Dof *dofPtr) const
Returns the DofID of some member Dof.
virtual TypeID GetID()
Returns type identification of the node.
const Dof & GetDof(DofID dof) const
Returns a joint's DOF.
Degree Of Freedom - basic component of a Joint.
virtual void XmlPrintOn(std::ostream &os, unsigned int indent) const
Outputs XML representation of the scene.