sofa::component::container::ArticulatedHierarchyContainer::ArticulationCenter::Articulation Class Reference

This class defines an articulation. More...

#include <ArticulatedHierarchyContainer.h>

Inheritance diagram for sofa::component::container::ArticulatedHierarchyContainer::ArticulationCenter::Articulation:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::container::ArticulatedHierarchyContainer::ArticulationCenter::Articulation:

Collaboration graph
[legend]

Public Member Functions

 Articulation ()
 An articulation is defined by an axis, an orientation and an index.
 ~Articulation ()

Data Fields

Data< Vector3 > axis
 this variable defines the motion axis
Data< bool > rotation
 If true, this variable sets a rotation motion otherwise it does nothing.
Data< bool > translation
 If true, this variable sets a translation motion otherwise it does nothing.
Data< int > articulationIndex
 This is global index to number the articulations.
std::vector< double > motion

Detailed Description

This class defines an articulation.

An articulation is defined by an axis, an orientation and an index. All the variables which are defined in this class can be modified once sofa is running.

Definition at line 75 of file ArticulatedHierarchyContainer.h.


Constructor & Destructor Documentation

sofa::component::container::ArticulatedHierarchyContainer::ArticulationCenter::Articulation::Articulation (  ) 

An articulation is defined by an axis, an orientation and an index.

Parameters:
axis is a Vector3. It determines the motion axis
rotation is a boolean. If true, it defines a rotation motion. Otherwise it does nothing.
translation is a boolean. If true, it defines a translation motion. Otherwise it does nothing.
articulationIndex is an integer. This index identifies, in an univocal way, one articulation from the set of articulations of a rigid object.

Definition at line 41 of file ArticulatedHierarchyContainer.inl.

sofa::component::container::ArticulatedHierarchyContainer::ArticulationCenter::Articulation::~Articulation (  )  [inline]

Definition at line 88 of file ArticulatedHierarchyContainer.h.


Field Documentation

This is global index to number the articulations.

Definition at line 107 of file ArticulatedHierarchyContainer.h.

Referenced by sofa::component::container::ArticulatedHierarchyContainer::buildCenterArticulationsTree().

this variable defines the motion axis

Definition at line 88 of file ArticulatedHierarchyContainer.h.

Referenced by sofa::component::container::ArticulatedHierarchyContainer::buildCenterArticulationsTree().

If true, this variable sets a rotation motion otherwise it does nothing.

Definition at line 98 of file ArticulatedHierarchyContainer.h.

Referenced by sofa::component::container::ArticulatedHierarchyContainer::buildCenterArticulationsTree().

If true, this variable sets a translation motion otherwise it does nothing.

Definition at line 103 of file ArticulatedHierarchyContainer.h.

Referenced by sofa::component::container::ArticulatedHierarchyContainer::buildCenterArticulationsTree().


The documentation for this class was generated from the following files:

Generated on Sun Nov 23 04:18:21 2008 for Sofa by  doxygen 1.5.7.1