OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
HandlerBase Class Referenceabstract

#include "HandlerBase.h"

Inheritance diagram for HandlerBase:
HandleArrow HandleWheel

Public Member Functions

 HandlerBase ()
 
virtual ~HandlerBase ()
 
virtual osg::Node * getNode (void)=0
 
virtual void mouseOver (bool flag)=0
 
void createSelectLine (osg::Switch *node, std::list< osg::Vec3d > &pointList, bool visible=false)
 
osg::Drawable * getSelectorDrawable (void)
 
virtual void setInteraction (int intersectionIndex, double intersectionRatio)=0
 
virtual void setInteractionReference (int intersectionIndex, double intersectionRatio)=0
 
void beginInteraction (void)
 
void endInteraction (void)
 
void addNotifier (HandlerNotifier *notifier)
 
void removeNotifier (HandlerNotifier *notifier)
 
void reportInteraction (void)
 

Constructor & Destructor Documentation

◆ HandlerBase()

HandlerBase::HandlerBase ( )
inline

◆ ~HandlerBase()

virtual HandlerBase::~HandlerBase ( )
inlinevirtual

Member Function Documentation

◆ addNotifier()

void HandlerBase::addNotifier ( HandlerNotifier * notifier)

◆ beginInteraction()

void HandlerBase::beginInteraction ( void )

◆ createSelectLine()

void HandlerBase::createSelectLine ( osg::Switch * node,
std::list< osg::Vec3d > & pointList,
bool visible = false )

◆ endInteraction()

void HandlerBase::endInteraction ( void )

◆ getNode()

virtual osg::Node * HandlerBase::getNode ( void )
pure virtual

Implemented in HandleArrow, and HandleWheel.

◆ getSelectorDrawable()

osg::Drawable * HandlerBase::getSelectorDrawable ( void )
inline

◆ mouseOver()

virtual void HandlerBase::mouseOver ( bool flag)
pure virtual

Implemented in HandleArrow, and HandleWheel.

◆ removeNotifier()

void HandlerBase::removeNotifier ( HandlerNotifier * notifier)

◆ reportInteraction()

void HandlerBase::reportInteraction ( void )

◆ setInteraction()

virtual void HandlerBase::setInteraction ( int intersectionIndex,
double intersectionRatio )
pure virtual

Implemented in HandleArrow, and HandleWheel.

◆ setInteractionReference()

virtual void HandlerBase::setInteractionReference ( int intersectionIndex,
double intersectionRatio )
pure virtual

Implemented in HandleArrow, and HandleWheel.


The documentation for this class was generated from the following files: