SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::collision::ComponentMouseInteraction Class Referenceabstract

#include <ComponentMouseInteraction.h>

Inheritance diagram for sofa::component::collision::ComponentMouseInteraction:

Public Attributes

simulation::Node::SPtr nodeRayPick
 
sofa::core::behavior::BaseMechanicalState::SPtr mouseInSofa
 
sofa::component::collision::BaseMouseInteractor::SPtr mouseInteractor
 

Public Member Functions

 ComponentMouseInteraction ()
 
virtual ~ComponentMouseInteraction ()
 
virtual void createInteractionComponents (sofa::simulation::Node *parent, sofa::simulation::Node *current)=0
 
void attach (simulation::Node *parentNode)
 
void detach ()
 
void reset ()
 
virtual bool isCompatible (core::objectmodel::BaseContext *) const =0
 

Static Public Member Functions

template<class RealObject >
static RealObject * create (RealObject *, core::objectmodel::BaseContext *)
 

Attribute details

sofa::core::behavior::BaseMechanicalState::SPtr sofa::component::collision::ComponentMouseInteraction::mouseInSofa
sofa::component::collision::BaseMouseInteractor::SPtr sofa::component::collision::ComponentMouseInteraction::mouseInteractor
simulation::Node::SPtr sofa::component::collision::ComponentMouseInteraction::nodeRayPick

Constructor details

sofa::component::collision::ComponentMouseInteraction::ComponentMouseInteraction ( )
sofa::component::collision::ComponentMouseInteraction::~ComponentMouseInteraction ( )
virtual

Function details

void sofa::component::collision::ComponentMouseInteraction::attach ( simulation::Node parentNode)
template<class RealObject >
static RealObject* sofa::component::collision::ComponentMouseInteraction::create ( RealObject *  ,
core::objectmodel::BaseContext  
)
inlinestatic
virtual void sofa::component::collision::ComponentMouseInteraction::createInteractionComponents ( sofa::simulation::Node parent,
sofa::simulation::Node current 
)
pure virtual
void sofa::component::collision::ComponentMouseInteraction::detach ( )
virtual bool sofa::component::collision::ComponentMouseInteraction::isCompatible ( core::objectmodel::BaseContext ) const
pure virtual
void sofa::component::collision::ComponentMouseInteraction::reset ( )