OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
HandleArrow Class Reference

#include "HandleArrow.h"

Inheritance diagram for HandleArrow:
HandlerBase

Public Member Functions

 HandleArrow ()=delete
 
 HandleArrow (osg::Vec3d point, osg::Vec3d dir, double color[4], double length, double radius)
 
virtual ~HandleArrow ()
 
virtual osg::Node * getNode (void) override
 
virtual void mouseOver (bool flag) override
 
virtual void setInteraction (int intersectionIndex, double intersectionRatio) override
 
virtual void setInteractionReference (int intersectionIndex, double intersectionRatio) override
 
void setPosition (osg::Vec3d pos)
 
osg::Vec3d getPosition (void)
 
- Public Member Functions inherited from HandlerBase
 HandlerBase ()
 
virtual ~HandlerBase ()
 
void createSelectLine (osg::Switch *node, std::list< osg::Vec3d > &pointList, bool visible=false)
 
osg::Drawable * getSelectorDrawable (void)
 
void beginInteraction (void)
 
void endInteraction (void)
 
void addNotifier (HandlerNotifier *notifier)
 
void removeNotifier (HandlerNotifier *notifier)
 
void reportInteraction (void)
 

Constructor & Destructor Documentation

◆ HandleArrow() [1/2]

HandleArrow::HandleArrow ( )
delete

◆ HandleArrow() [2/2]

HandleArrow::HandleArrow ( osg::Vec3d point,
osg::Vec3d dir,
double color[4],
double length,
double radius )

◆ ~HandleArrow()

HandleArrow::~HandleArrow ( )
virtual

Member Function Documentation

◆ getNode()

osg::Node * HandleArrow::getNode ( void )
overridevirtual

Implements HandlerBase.

◆ getPosition()

osg::Vec3d HandleArrow::getPosition ( void )
inline

◆ mouseOver()

void HandleArrow::mouseOver ( bool flag)
overridevirtual

Implements HandlerBase.

◆ setInteraction()

void HandleArrow::setInteraction ( int intersectionIndex,
double intersectionRatio )
overridevirtual

Implements HandlerBase.

◆ setInteractionReference()

void HandleArrow::setInteractionReference ( int intersectionIndex,
double intersectionRatio )
overridevirtual

Implements HandlerBase.

◆ setPosition()

void HandleArrow::setPosition ( osg::Vec3d pos)

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