sofa::core::BaseMapping Class Reference

An interface to convert a model to an other model. More...

#include <BaseMapping.h>

Inheritance diagram for sofa::core::BaseMapping:

Inheritance graph
[legend]
Collaboration diagram for sofa::core::BaseMapping:

Collaboration graph
[legend]

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.

Detailed Description

An interface to convert a model to an other 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.


Constructor & Destructor Documentation

virtual sofa::core::BaseMapping::~BaseMapping (  )  [inline, virtual]

Destructor.

Definition at line 54 of file BaseMapping.h.


Member Function Documentation

virtual void sofa::core::BaseMapping::disable (  )  [pure virtual]

virtual objectmodel::BaseObject* sofa::core::BaseMapping::getFrom (  )  [pure virtual]

virtual objectmodel::BaseObject* sofa::core::BaseMapping::getTo (  )  [pure virtual]

virtual void sofa::core::BaseMapping::updateMapping (  )  [pure virtual]


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

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