MeVisLabToolboxReference
|
Module which allows for an half-automatic generation of contours along image edges, based on the live wire algorithm. More...
#include <CSOLiveWireProcessor.h>
Public Member Functions | |
CSOLiveWireProcessor () | |
Standard constructor. | |
virtual bool | process (CSOEvalEventView2DInfos view2DInfos, CSOEvalEventCSOInfos csoInfos) |
Processes 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. | |
virtual bool | isCurrentlyGenerating () |
Returns whether the processor is currently generating a new contour. | |
virtual bool | isCurrentlyEditing () |
Returns whether the processor is currently editing an existing contour. | |
virtual bool | couldCloseCSO () |
Returns whether the processor could close an open CSO by the processor's rules. | |
virtual void | resetInteractionState () |
Sets back internal interaction state. | |
virtual void | triggerSetMouseCursor (SoView2D *view2d, bool shouldSetMouseCursor) |
Triggers the setting of the processors default mouse cursor. | |
Protected Member Functions | |
virtual | ~CSOLiveWireProcessor () |
Standard destructor. | |
virtual void | activateAttachments () |
Initialize module after loading. | |
virtual void | handleNotification (Field *field) |
Called when input changes. |
Module which allows for an half-automatic generation of contours along image edges, based on the live wire algorithm.
Definition at line 46 of file CSOLiveWireProcessor.h.
ml::CSOLiveWireProcessor::CSOLiveWireProcessor | ( | ) |
Standard constructor.
virtual ml::CSOLiveWireProcessor::~CSOLiveWireProcessor | ( | ) | [protected, virtual] |
Standard destructor.
virtual void ml::CSOLiveWireProcessor::activateAttachments | ( | ) | [protected, virtual] |
Initialize module after loading.
Reimplemented from ml::CSOBaseModule.
virtual bool ml::CSOLiveWireProcessor::couldCloseCSO | ( | ) | [virtual] |
Returns whether the processor could close an open CSO by the processor's rules.
Reimplemented from ml::CSOProcessor.
virtual void ml::CSOLiveWireProcessor::handleNotification | ( | Field * | field | ) | [protected, virtual] |
Called when input changes.
Reimplemented from ml::CSOBaseModule.
virtual bool ml::CSOLiveWireProcessor::isCurrentlyEditing | ( | ) | [virtual] |
Returns whether the processor is currently editing an existing contour.
Reimplemented from ml::CSOProcessor.
virtual bool ml::CSOLiveWireProcessor::isCurrentlyGenerating | ( | ) | [virtual] |
Returns whether the processor is currently generating a new contour.
Reimplemented from ml::CSOProcessor.
virtual bool ml::CSOLiveWireProcessor::needsMemoryImage | ( | ) | [virtual] |
Returns whether the processor need the current memory image for interpolation.
Reimplemented from ml::CSOProcessor.
virtual bool ml::CSOLiveWireProcessor::process | ( | CSOEvalEventView2DInfos | view2DInfos, |
CSOEvalEventCSOInfos | csoInfos | ||
) | [virtual] |
Processes the interaction events and interpolates the contours accordingly.
Reimplemented from ml::CSOProcessor.
virtual void ml::CSOLiveWireProcessor::resetInteractionState | ( | ) | [virtual] |
Sets back internal interaction state.
Reimplemented from ml::CSOProcessor.
virtual void ml::CSOLiveWireProcessor::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::CSOLiveWireProcessor::triggerSetMouseCursor | ( | SoView2D * | view2d, |
bool | shouldSetMouseCursor | ||
) | [virtual] |
Triggers the setting of the processors default mouse cursor.
Reimplemented from ml::CSOProcessor.