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

Event signalling a ROI has been removed from the ROI manager in the kernel. More...

#include <WRoiRemoveEvent.h>

+ Inheritance diagram for WRoiRemoveEvent:
+ Collaboration diagram for WRoiRemoveEvent:

Public Member Functions

 WRoiRemoveEvent (osg::ref_ptr< WROI > roi)
 constructor More...
 
virtual ~WRoiRemoveEvent ()
 destructor More...
 
osg::ref_ptr< WROIgetRoi ()
 Getter for the ROI that got removed. More...
 

Protected Attributes

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

Detailed Description

Event signalling a ROI has been removed from the ROI manager in the kernel.

Definition at line 37 of file WRoiRemoveEvent.h.

Constructor & Destructor Documentation

◆ WRoiRemoveEvent()

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

constructor

Parameters
roi

Definition at line 29 of file WRoiRemoveEvent.cpp.

◆ ~WRoiRemoveEvent()

WRoiRemoveEvent::~WRoiRemoveEvent ( )
virtual

destructor

Definition at line 36 of file WRoiRemoveEvent.cpp.

Member Function Documentation

◆ getRoi()

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

Getter for the ROI that got removed.

Returns
the ROI.

Definition at line 41 of file WRoiRemoveEvent.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 > WRoiRemoveEvent::m_roi
protected

The ROI that got removed.

Definition at line 62 of file WRoiRemoveEvent.h.

Referenced by getRoi().


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