ROIBase Class Reference
[Views]

The base call for region of interests. More...

#include <ROI_base.h>

Inherited by PolylineROI.

Inheritance diagram for ROIBase:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ROIBase (SoSeparator *root)
virtual ~ROIBase ()
void finishROI ()
void addPoint (SbVec3f point)

Protected Attributes

SoSeparator * root_
std::vector< region_of_interest_typeROI_container_
region_of_interest_type current_ROI_

Detailed Description

The base call for region of interests.

ROIBase

The ROI are viewed directly in the render area

Author:
Tobias Gross (tobias.gross@imedgine.org)

Christian Koerner (christian.koerner@imedgine.org)

Alexander Lex (alexander.lex@imedgine.org)

Marc Streit (marc.streit@imedgine.org)

Martin Reininger (martin.reininger@imedgine.org)

Definition at line 40 of file ROI_base.h.


Constructor & Destructor Documentation

ROIBase SoSeparator *  root  ) 
 

Constructor

Parameters:
root The separator to which the ROI will be added

Definition at line 18 of file ROI_base.cpp.

~ROIBase  )  [virtual]
 

Virtual Desturctor

Definition at line 25 of file ROI_base.cpp.


Member Function Documentation

void addPoint SbVec3f  point  ) 
 

Add a point to the point set that defines the ROI

Parameters:
point A reference to the point to add

Reimplemented in PolylineROI.

Definition at line 31 of file ROI_base.cpp.

References ROIBase::current_ROI_, X_DIMENSION, Y_DIMENSION, and Z_DIMENSION.

Referenced by PolylineROI::addPoint().

void finishROI  ) 
 

Takes the current_points_ array and copies the array to the ROI vector.

Definition at line 45 of file ROI_base.cpp.

References ROIBase::current_ROI_, and ROIBase::ROI_container_.

Referenced by PolylineROI::autoCloseROI().


Member Data Documentation

region_of_interest_type current_ROI_ [protected]
 

The current ROI that is added to the ROI container (region_of_interest_) when the user finishes the ROI selection.)

Definition at line 85 of file ROI_base.h.

Referenced by ROIBase::addPoint(), PolylineROI::autoCloseROI(), PolylineROI::drawROI(), and ROIBase::finishROI().

std::vector<region_of_interest_type> ROI_container_ [protected]
 

Data structure that holds all regions of interests for that view

Definition at line 79 of file ROI_base.h.

Referenced by PolylineROI::drawROI(), and ROIBase::finishROI().


The documentation for this class was generated from the following files:
Generated on Sun Aug 13 18:20:05 2006 for iMEDgine by  doxygen 1.4.6