38 void createSelectLine(osg::Switch *node, std::list<osg::Vec3d> &pointList,
bool visible =
false);
42 virtual void setInteraction(
int intersectionIndex,
double intersectionRatio) = 0;
54 osg::Drawable *selectorDrawable;
55 osg::ref_ptr<osg::Geode> selectLine;
56 osg::ref_ptr<osg::Switch> switchNode;
58 std::list<HandlerNotifier *> notifiers;
Definition HandlerBase.h:29
virtual ~HandlerBase()
Definition HandlerBase.h:32
virtual void mouseOver(bool flag)=0
osg::Drawable * getSelectorDrawable(void)
Definition HandlerBase.h:40
void addNotifier(HandlerNotifier *notifier)
Definition HandlerBase.cpp:86
void beginInteraction(void)
Definition HandlerBase.cpp:70
void reportInteraction(void)
Definition HandlerBase.cpp:96
virtual void setInteractionReference(int intersectionIndex, double intersectionRatio)=0
void endInteraction(void)
Definition HandlerBase.cpp:78
HandlerBase()
Definition HandlerBase.h:31
void createSelectLine(osg::Switch *node, std::list< osg::Vec3d > &pointList, bool visible=false)
Definition HandlerBase.cpp:14
virtual osg::Node * getNode(void)=0
virtual void setInteraction(int intersectionIndex, double intersectionRatio)=0
void removeNotifier(HandlerNotifier *notifier)
Definition HandlerBase.cpp:91
Definition HandlerBase.h:20
virtual ~HandlerNotifier()
Definition HandlerBase.h:23
HandlerNotifier()
Definition HandlerBase.h:22
virtual void handlerInteraction(HandlerBase *handler)=0
Definition RubberbandOsgWrapper.h:22