PolylineROI Class Reference
[Views]

The class is responsible for creating and handling polyline region of interests. More...

#include <polyline_ROI.h>

Inherits ROIBase.

Inheritance diagram for PolylineROI:

Inheritance graph
[legend]
Collaboration diagram for PolylineROI:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PolylineROI (SoSeparator *root)
virtual ~PolylineROI ()
void addPoint (SbVec3f point)
void drawROI ()
void autoCloseROI ()

Protected Attributes

SoLineSet * polyline_set_
SbVec3f start_point_
SoCoordinate3 * point_set_
int total_point_count_
int point_index_

Detailed Description

The class is responsible for creating and handling polyline region of interests.

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 37 of file polyline_ROI.h.


Constructor & Destructor Documentation

PolylineROI SoSeparator *  root  ) 
 

Constructor

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

Definition at line 18 of file polyline_ROI.cpp.

References PolylineROI::point_set_, PolylineROI::polyline_set_, and ROIBase::root_.

~PolylineROI  )  [virtual]
 

Virtual Desturctor

Definition at line 33 of file polyline_ROI.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 from ROIBase.

Definition at line 39 of file polyline_ROI.cpp.

References ROIBase::addPoint(), PolylineROI::point_index_, PolylineROI::point_set_, X_DIMENSION, and Y_DIMENSION.

Referenced by PolylineROI::autoCloseROI().

Here is the call graph for this function:

void autoCloseROI  ) 
 

Takes the start point of the ROI for automatically closing of the ROI

Definition at line 81 of file polyline_ROI.cpp.

References PolylineROI::addPoint(), ROIBase::current_ROI_, and ROIBase::finishROI().

Here is the call graph for this function:


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