MEPP2 Project
Public Member Functions | Protected Attributes | List of all members
FEVV::PickHandler Class Reference

#include <PickHandler.h>

Inheritance diagram for FEVV::PickHandler:
Inheritance graph
Collaboration diagram for FEVV::PickHandler:
Collaboration graph

Public Member Functions

 PickHandler (FEVV::SimpleViewer *smpViewer, osgText::Text *updateText)
 
 ~PickHandler ()
 
bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa)
 
virtual void pick (osgViewer::View *view, const osgGA::GUIEventAdapter &ea)
 
void setLabel (const std::string &name)
 

Protected Attributes

FEVV::SimpleViewer_smpViewer = nullptr
 
osg::ref_ptr< osgText::Text > _updateText
 

Detailed Description

Definition at line 23 of file PickHandler.h.

Constructor & Destructor Documentation

◆ PickHandler()

FEVV::PickHandler::PickHandler ( FEVV::SimpleViewer smpViewer,
osgText::Text *  updateText 
)
inline

Definition at line 26 of file PickHandler.h.

◆ ~PickHandler()

FEVV::PickHandler::~PickHandler ( )
inline

Definition at line 32 of file PickHandler.h.

Member Function Documentation

◆ handle()

bool FEVV::PickHandler::handle ( const osgGA::GUIEventAdapter &  ea,
osgGA::GUIActionAdapter &  aa 
)
inline

Definition at line 52 of file PickHandler.h.

Here is the call graph for this function:

◆ pick()

void FEVV::PickHandler::pick ( osgViewer::View *  view,
const osgGA::GUIEventAdapter &  ea 
)
inlinevirtual

Definition at line 89 of file PickHandler.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLabel()

void FEVV::PickHandler::setLabel ( const std::string &  name)
inline

Definition at line 38 of file PickHandler.h.

Here is the caller graph for this function:

Member Data Documentation

◆ _smpViewer

FEVV::SimpleViewer* FEVV::PickHandler::_smpViewer = nullptr
protected

Definition at line 45 of file PickHandler.h.

◆ _updateText

osg::ref_ptr< osgText::Text > FEVV::PickHandler::_updateText
protected

Definition at line 46 of file PickHandler.h.


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