OpenWalnut  1.5.0dev
Public Member Functions | Protected Attributes | List of all members
WRoiAssocEvent Class Reference

Event signalling a new ROI has been associated with the ROI manager in the kernel. More...

#include <WRoiAssocEvent.h>

+ Inheritance diagram for WRoiAssocEvent:
+ Collaboration diagram for WRoiAssocEvent:

Public Member Functions

 WRoiAssocEvent (osg::ref_ptr< WROI > roi)
 Constructor. More...
 
virtual ~WRoiAssocEvent ()
 Destructor. More...
 
osg::ref_ptr< WROIgetRoi ()
 Getter for the ROI that got associated. More...
 

Protected Attributes

osg::ref_ptr< WROIm_roi
 The ROI that got associated. More...
 

Detailed Description

Event signalling a new ROI has been associated with the ROI manager in the kernel.

Definition at line 38 of file WRoiAssocEvent.h.

Constructor & Destructor Documentation

◆ WRoiAssocEvent()

WRoiAssocEvent::WRoiAssocEvent ( osg::ref_ptr< WROI roi)
explicit

Constructor.

Parameters
roiPointer to the associated ROI

Definition at line 29 of file WRoiAssocEvent.cpp.

◆ ~WRoiAssocEvent()

WRoiAssocEvent::~WRoiAssocEvent ( )
virtual

Destructor.

Definition at line 36 of file WRoiAssocEvent.cpp.

Member Function Documentation

◆ getRoi()

osg::ref_ptr< WROI > WRoiAssocEvent::getRoi ( )

Getter for the ROI that got associated.

Returns
the ROI.

Definition at line 41 of file WRoiAssocEvent.cpp.

References m_roi.

Referenced by WQtControlPanel::event().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_roi

osg::ref_ptr< WROI > WRoiAssocEvent::m_roi
protected

The ROI that got associated.

Definition at line 64 of file WRoiAssocEvent.h.

Referenced by getRoi().


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