#include <BaseMapping.h>


Public Member Functions | |
| virtual | ~BaseMapping () |
| Destructor. | |
| virtual void | updateMapping ()=0 |
| Apply the transformation from the input model to the output model (like apply displacement from BehaviorModel to VisualModel). | |
| virtual objectmodel::BaseObject * | getFrom ()=0 |
| Accessor to the input model of this mapping. | |
| virtual objectmodel::BaseObject * | getTo ()=0 |
| Accessor to the output model of this mapping. | |
| virtual void | disable ()=0 |
| Disable the mapping to get the original coordinates of the mapped model. | |
This Interface is used for the Mappings. A Mapping can convert one model to an other. For example, we can have a mapping from a BehaviorModel to a VisualModel.
Definition at line 50 of file BaseMapping.h.
| virtual sofa::core::BaseMapping::~BaseMapping | ( | ) | [inline, virtual] |
| virtual void sofa::core::BaseMapping::disable | ( | ) | [pure virtual] |
Disable the mapping to get the original coordinates of the mapped model.
Implemented in sofa::core::Mapping< TIn, TOut >, sofa::component::mapping::VoidMapping, sofa::core::Mapping< sofa::core::componentmodel::topology::BaseMeshTopology, >, and sofa::core::Mapping< BaseMeshTopology, BaseMeshTopology >.
| virtual objectmodel::BaseObject* sofa::core::BaseMapping::getFrom | ( | ) | [pure virtual] |
Accessor to the input model of this mapping.
Implemented in sofa::core::Mapping< TIn, TOut >, sofa::component::mapping::VoidMapping, sofa::core::Mapping< sofa::core::componentmodel::topology::BaseMeshTopology, >, and sofa::core::Mapping< BaseMeshTopology, BaseMeshTopology >.
Referenced by sofa::simulation::tree::ExportDotVisitor::processObject().
| virtual objectmodel::BaseObject* sofa::core::BaseMapping::getTo | ( | ) | [pure virtual] |
Accessor to the output model of this mapping.
Implemented in sofa::core::Mapping< TIn, TOut >, sofa::component::mapping::VoidMapping, sofa::core::Mapping< sofa::core::componentmodel::topology::BaseMeshTopology, >, and sofa::core::Mapping< BaseMeshTopology, BaseMeshTopology >.
Referenced by sofa::simulation::tree::ExportDotVisitor::processObject().
| virtual void sofa::core::BaseMapping::updateMapping | ( | ) | [pure virtual] |
Apply the transformation from the input model to the output model (like apply displacement from BehaviorModel to VisualModel).
Implemented in sofa::core::Mapping< TIn, TOut >, sofa::component::mapping::VoidMapping, sofa::core::Mapping< sofa::core::componentmodel::topology::BaseMeshTopology, >, and sofa::core::Mapping< BaseMeshTopology, BaseMeshTopology >.
Referenced by sofa::simulation::UpdateMappingVisitor::processMapping().
1.5.7.1