SOFA API  cba138a4
Open source framework for multi-physics simuation
sofa::component::controller Namespace Reference

Classes

class  BaseStateTester
 As the mechanical states are templated, we use a templated class to test each possibilty. More...
 
class  Controller
 Controller Class. Interface of user interaction on SOFA Components. Provides also an interface for BeginAnimation and EndAnimation events launched at the beginning and the end of a time step. More...
 
class  ForceFeedback
 Base class implementing forcefeedback as a force field. More...
 
class  GetStatesThatCanSleep
 A visitor that gets a list of all base mechanical state that can sleep. More...
 
class  LCPForceFeedback
 
class  MechanicalStateController
 MechanicalStateController Class. More...
 
class  MechanicalStateForceFeedback
 
class  NullForceFeedback
 Null force feedback for haptic feedback device. More...
 
class  NullForceFeedbackT
 Null force feedback for haptic feedback device. More...
 
class  SleepController
 A component that will survey the graph for nodes/contexts that can sleep. From those objects their mechanical states will be extracted and their velocities are compared to a set threshold and if under the threshold, put to sleep. A minimum time is set before putting a node to sleep if it was just woken up, so objects with no initial velocity aren't put to sleep right away. If a sleeping object is in contact with another object, it's woken up. More...
 
class  StateTester
 
class  UpdateAllSleepStates
 A visitor that sets the sleep state of all nodes based on their parents being asleep. More...
 

Variables

int lCPForceFeedbackClass
 
int nullForceFeedbackClass
 
int nullForceFeedbackTClass
 
int MechanicalStateControllerClass
 
template class SOFA_USER_INTERACTION_API MechanicalStateController< Vec1Types >
 
template class SOFA_USER_INTERACTION_API MechanicalStateController< Rigid3Types >
 
int SleepControllerClass
 

Variable Documentation

int sofa::component::controller::lCPForceFeedbackClass
Initial value:
= sofa::core::RegisterObject("LCP force feedback for the device")
.add< LCPForceFeedback<defaulttype::Vec1Types> >()
.add< LCPForceFeedback<defaulttype::Rigid3Types> >()
RegisterObject & add(bool defaultTemplate=false)
Definition: ObjectFactory.h:292
Helper class used to register a class in the ObjectFactory.
Definition: ObjectFactory.h:260
template class SOFA_USER_INTERACTION_API sofa::component::controller::MechanicalStateController< Rigid3Types >
template class SOFA_USER_INTERACTION_API sofa::component::controller::MechanicalStateController< Vec1Types >
int sofa::component::controller::MechanicalStateControllerClass
Initial value:
= core::RegisterObject("Provides a Mouse & Keyboard user control on a Mechanical State.")
.add< MechanicalStateController<Vec1Types> >()
.add< MechanicalStateController<Rigid3Types> >()
int sofa::component::controller::nullForceFeedbackClass
Initial value:
= sofa::core::RegisterObject("Null force feedback for haptic feedback device")
.add< NullForceFeedback >()
RegisterObject & add(bool defaultTemplate=false)
Definition: ObjectFactory.h:292
Helper class used to register a class in the ObjectFactory.
Definition: ObjectFactory.h:260
int sofa::component::controller::nullForceFeedbackTClass
Initial value:
= sofa::core::RegisterObject("Null force feedback for haptic feedback device")
.add< NullForceFeedbackT<sofa::defaulttype::Vec1Types> >()
.add< NullForceFeedbackT<sofa::defaulttype::Rigid3Types> >()
RegisterObject & add(bool defaultTemplate=false)
Definition: ObjectFactory.h:292
Helper class used to register a class in the ObjectFactory.
Definition: ObjectFactory.h:260
int sofa::component::controller::SleepControllerClass
Initial value:
= core::RegisterObject("A controller that puts node into sleep when the objects are not moving, and wake them up again when there are in collision with a moving object")
.add< SleepController >()