SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::component::controller::BaseStateTester Class Referenceabstract

#include <SleepController.h>

As the mechanical states are templated, we use a templated class to test each possibilty. More...

Inheritance diagram for sofa::component::controller::BaseStateTester:

Detailed Description

As the mechanical states are templated, we use a templated class to test each possibilty.

Public Member Functions

virtual bool canConvert (core::behavior::BaseMechanicalState *baseState)=0
 
virtual bool wantsToSleep (core::behavior::BaseMechanicalState *baseState, SReal speedThreshold, SReal rotationThreshold)=0
 

Function details

virtual bool sofa::component::controller::BaseStateTester::canConvert ( core::behavior::BaseMechanicalState baseState)
pure virtual
virtual bool sofa::component::controller::BaseStateTester::wantsToSleep ( core::behavior::BaseMechanicalState baseState,
SReal  speedThreshold,
SReal  rotationThreshold 
)
pure virtual