89 void MoveTo(
float pos,
unsigned int newPriority);
99 void Move(
float variance) {
MoveTo(currentPosition+variance); }
128 void XmlPrintOn(std::ostream& os,
unsigned int indent)
const;
136 bool DrawInstanceOGL()
const;
138 static float axisSize;
163 std::string description;
168 float currentMinAngle;
169 float currentMaxAngle;
170 float confortMinAngle;
171 float confortMaxAngle;
173 float currentPosition;
178 static std::list<Dof*> instanceList;
A modifier controls how one DOF influences other DOF.
void Reconfigure(const Point4D &state, const Point4D &target)
Reconfigure DOF to match a target direction.
Representation of joints.
Points and vectors using homogeneous coordinates.
Header file for V-ART class "MemoryObj".
void SetEvoluta(Bezier *evol)
A "Memory Object" is a V-ART object that has some memory allocation attributes, allowing V-ART to aut...
const std::string & GetDescription() const
float GetCurrentMax() const
Point4D GetOrigin() const
static void ClearPriorities()
Resets priorities of all DOF instances.
unsigned int priority
Priority of last DOF change.
float GetRest() const
Returns DOF's rest position.
void SetAxis(Point4D vec)
void SetOwnerJoint(Joint *ow)
void SetDescription(const std::string &desc)
float GetCurrentMin() const
void SetLim(const Transform &t)
Point4D axis
Together with "position", defines the rotation axis. Relative to the parent reference system...
Header file for V-ART class "Bezier".
Modifier * GetRangeModifier()
void MoveTo(float pos)
Sets DOF's current position.
float GetCurrent() const
Gets DOF's current position.
void SetRangeModifier(Modifier *m)
const Transform & GetLim() const
void Move(float variance)
Changes DOF.
Point4D GetPosition() const
Header file for V-ART class "Point4D".
void SetMin(float min)
Sets DOF's minimal state.
Joint * GetOwnerJoint() const
void SetMax(float max)
Sets DOF's maximal state.
Point4D position
Together with "axis", defines the rotation axis. Relative to the parent reference system...
void ApplyTransformTo(Transform *ptrTrans) const
Apply internal transform to some external transform.
Degree Of Freedom - basic component of a Joint.
void XmlPrintOn(std::ostream &os, unsigned int indent) const
Outputs XML representation of the scene.
void Set(const Point4D &vec, const Point4D &pos, float min, float max)
Initializes a DOF previouly created with default constructor.
Dof & operator=(const Dof &dof)