sofa::core::BehaviorModel Class Reference

Abstract Interface of components defining the behavior of a simulated object. More...

#include <BehaviorModel.h>

Inheritance diagram for sofa::core::BehaviorModel:

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

Collaboration graph
[legend]

Public Member Functions

virtual ~BehaviorModel ()
 Destructor.
virtual void updatePosition (double dt)=0
 Computation of a new simulation step.

Detailed Description

Abstract Interface of components defining the behavior of a simulated object.

This Interface is used by "black-box" objects (such as some fluid algorithms) that are present in a SOFA simulation but which do not use the internal behavior components (MechanicalState, ForceField, etc) defined in the sofa::core::componentmodel::behavior namespace.

A BehaviorModel simply has to implement the updatePosition method to compute a new simulation step.

Definition at line 50 of file BehaviorModel.h.


Constructor & Destructor Documentation

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

Destructor.

Definition at line 54 of file BehaviorModel.h.


Member Function Documentation

virtual void sofa::core::BehaviorModel::updatePosition ( double  dt  )  [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