SOFA API  b3f2f2a4
Open source framework for multi-physics simuation
sofa::gui::component::performer::ComponentMouseInteraction Class Referenceabstract

#include <ComponentMouseInteraction.h>

Inheritance diagram for sofa::gui::component::performer::ComponentMouseInteraction:

Public Attributes

simulation::NodeSPtr nodeRayPick
 
sofa::core::behavior::BaseMechanicalState::SPtr mouseInSofa
 
sofa::gui::component::performer::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

◆ mouseInSofa

sofa::core::behavior::BaseMechanicalState::SPtr sofa::gui::component::performer::ComponentMouseInteraction::mouseInSofa

◆ mouseInteractor

sofa::gui::component::performer::BaseMouseInteractor::SPtr sofa::gui::component::performer::ComponentMouseInteraction::mouseInteractor

◆ nodeRayPick

simulation::NodeSPtr sofa::gui::component::performer::ComponentMouseInteraction::nodeRayPick

Constructor details

◆ ComponentMouseInteraction()

sofa::gui::component::performer::ComponentMouseInteraction::ComponentMouseInteraction ( )

◆ ~ComponentMouseInteraction()

sofa::gui::component::performer::ComponentMouseInteraction::~ComponentMouseInteraction ( )
virtual

Function details

◆ attach()

void sofa::gui::component::performer::ComponentMouseInteraction::attach ( simulation::Node parentNode)

◆ create()

template<class RealObject >
static RealObject* sofa::gui::component::performer::ComponentMouseInteraction::create ( RealObject *  ,
core::objectmodel::BaseContext  
)
inlinestatic

◆ createInteractionComponents()

virtual void sofa::gui::component::performer::ComponentMouseInteraction::createInteractionComponents ( sofa::simulation::Node parent,
sofa::simulation::Node current 
)
pure virtual

◆ detach()

void sofa::gui::component::performer::ComponentMouseInteraction::detach ( )

◆ isCompatible()

virtual bool sofa::gui::component::performer::ComponentMouseInteraction::isCompatible ( core::objectmodel::BaseContext ) const
pure virtual

◆ reset()

void sofa::gui::component::performer::ComponentMouseInteraction::reset ( void  )