MeVisLabToolboxReference
|
The CSOIsoProcessor interactively finds an iso contour on the slice being displayed by the SoView2D module or on the optional input image. More...
#include <CSOIsoProcessor.h>
Public Member Functions | |
CSOIsoProcessor () | |
Constructor. | |
virtual void | handleNotification (Field *field) |
Called when input changes. | |
virtual bool | process (CSOEvalEventView2DInfos view2DInfos, CSOEvalEventCSOInfos csoInfos) |
Evaluates the interaction events and interpolates the contours accordingly. | |
virtual bool | needsMemoryImage () |
Returns whether the processor need the current memory image for interpolation. | |
virtual void | setMemoryImage (float *imageData, int sizex, int sizey, int voxelPosZ, const Matrix4 &voxelToWorldMatrix, const Matrix4 &worldToVoxelMatrix, View2DSliceList *slicelist) |
Sets an image which can be used with an image based interpolation algorithm. | |
bool | isCurrentlyGenerating () |
Returns whether the processor is currently generating a new contour. | |
bool | isCurrentlyEditing () |
Returns whether the processor is currently editing an existing contour. | |
virtual void | resetInteractionState () |
Sets back internal interaction state. | |
virtual void | triggerSetMouseCursor (SoView2D *view2d, bool shouldSetMouseCursor) |
Triggers the setting of the processor's default mouse cursor. | |
virtual void | activateAttachments () |
Sets internal state variables according to field settings. | |
Protected Member Functions | |
virtual | ~CSOIsoProcessor () |
Destructor. |
The CSOIsoProcessor interactively finds an iso contour on the slice being displayed by the SoView2D module or on the optional input image.
Definition at line 46 of file CSOIsoProcessor.h.
ml::CSOIsoProcessor::CSOIsoProcessor | ( | ) |
Constructor.
virtual ml::CSOIsoProcessor::~CSOIsoProcessor | ( | ) | [protected, virtual] |
Destructor.
virtual void ml::CSOIsoProcessor::activateAttachments | ( | ) | [virtual] |
Sets internal state variables according to field settings.
Reimplemented from ml::CSOBaseModule.
virtual void ml::CSOIsoProcessor::handleNotification | ( | Field * | field | ) | [virtual] |
Called when input changes.
Reimplemented from ml::CSOBaseModule.
bool ml::CSOIsoProcessor::isCurrentlyEditing | ( | ) | [virtual] |
Returns whether the processor is currently editing an existing contour.
Reimplemented from ml::CSOProcessor.
bool ml::CSOIsoProcessor::isCurrentlyGenerating | ( | ) | [virtual] |
Returns whether the processor is currently generating a new contour.
Reimplemented from ml::CSOProcessor.
virtual bool ml::CSOIsoProcessor::needsMemoryImage | ( | ) | [virtual] |
Returns whether the processor need the current memory image for interpolation.
Reimplemented from ml::CSOProcessor.
virtual bool ml::CSOIsoProcessor::process | ( | CSOEvalEventView2DInfos | view2DInfos, |
CSOEvalEventCSOInfos | csoInfos | ||
) | [virtual] |
Evaluates the interaction events and interpolates the contours accordingly.
Returns 'true' if anything has changed.
Reimplemented from ml::CSOProcessor.
virtual void ml::CSOIsoProcessor::resetInteractionState | ( | ) | [virtual] |
Sets back internal interaction state.
Reimplemented from ml::CSOProcessor.
virtual void ml::CSOIsoProcessor::setMemoryImage | ( | float * | imageData, |
int | sizex, | ||
int | sizey, | ||
int | voxelPosZ, | ||
const Matrix4 & | voxelToWorldMatrix, | ||
const Matrix4 & | worldToVoxelMatrix, | ||
View2DSliceList * | slicelist | ||
) | [virtual] |
Sets an image which can be used with an image based interpolation algorithm.
Reimplemented from ml::CSOProcessor.
virtual void ml::CSOIsoProcessor::triggerSetMouseCursor | ( | SoView2D * | view2d, |
bool | shouldSetMouseCursor | ||
) | [virtual] |
Triggers the setting of the processor's default mouse cursor.
Reimplemented from ml::CSOProcessor.