#include <ArticulatedHierarchyBVHController.h>


Public Member Functions | |
| ArticulatedHierarchyBVHController () | |
| Default Constructor. | |
| virtual | ~ArticulatedHierarchyBVHController () |
| Default Destructor. | |
| virtual void | init () |
| Init method called during the scene graph initialization. | |
| virtual void | reset () |
| Reset to initial state. | |
| virtual void | applyController (void) |
| Apply the controller current modifications to its controled component. | |
Protected Attributes | |
| ArtCenterVec | m_artCenterVec |
| List of ArticulationCenters controlled by the controller. | |
| ArticulatedHierarchyContainer * | ahc |
| int | frame |
| int | n |
Implements a handler that controls the values of the articulations of an articulated hierarchy container. .bvh files are controlling the value.
Definition at line 58 of file ArticulatedHierarchyBVHController.h.
| sofa::component::controller::ArticulatedHierarchyBVHController::ArticulatedHierarchyBVHController | ( | ) | [inline] |
Default Constructor.
Definition at line 65 of file ArticulatedHierarchyBVHController.h.
References sofa::core::objectmodel::BaseObject::f_listening, and sofa::core::objectmodel::Data< T >::setValue().
| virtual sofa::component::controller::ArticulatedHierarchyBVHController::~ArticulatedHierarchyBVHController | ( | ) | [inline, virtual] |
| void sofa::component::controller::ArticulatedHierarchyBVHController::applyController | ( | void | ) | [virtual] |
Apply the controller current modifications to its controled component.
Reimplemented from sofa::component::controller::ArticulatedHierarchyController.
Definition at line 67 of file ArticulatedHierarchyBVHController.cpp.
References ahc, sofa::component::container::ArticulatedHierarchyContainer::dtbvh, frame, sofa::core::objectmodel::BaseObject::getContext(), sofa::simulation::Node::getTreeObjects(), m_artCenterVec, n, and sofa::component::container::ArticulatedHierarchyContainer::numOfFrames.
| void sofa::component::controller::ArticulatedHierarchyBVHController::init | ( | void | ) | [virtual] |
Init method called during the scene graph initialization.
Reimplemented from sofa::component::controller::ArticulatedHierarchyController.
Definition at line 49 of file ArticulatedHierarchyBVHController.cpp.
References ahc, frame, sofa::core::objectmodel::BaseObject::getContext(), sofa::simulation::Node::getTreeObject(), sofa::simulation::Node::getTreeObjects(), m_artCenterVec, and n.
| void sofa::component::controller::ArticulatedHierarchyBVHController::reset | ( | void | ) | [virtual] |
Reset to initial state.
Reimplemented from sofa::core::objectmodel::BaseObject.
Definition at line 61 of file ArticulatedHierarchyBVHController.cpp.
ArticulatedHierarchyContainer* sofa::component::controller::ArticulatedHierarchyBVHController::ahc [protected] |
Definition at line 92 of file ArticulatedHierarchyBVHController.h.
Referenced by applyController(), and init().
Definition at line 93 of file ArticulatedHierarchyBVHController.h.
Referenced by applyController(), init(), and reset().
ArtCenterVec sofa::component::controller::ArticulatedHierarchyBVHController::m_artCenterVec [protected] |
List of ArticulationCenters controlled by the controller.
Reimplemented from sofa::component::controller::ArticulatedHierarchyController.
Definition at line 91 of file ArticulatedHierarchyBVHController.h.
Referenced by applyController(), and init().
Definition at line 94 of file ArticulatedHierarchyBVHController.h.
Referenced by applyController(), init(), and reset().
1.5.7.1