#include <CSOFreehandProcessor.h>

Public Member Functions | |
| CSOFreehandProcessor () | |
| Constructor. | |
| virtual bool | process (CSOList *csoList, Vector3 ¤tHitPoint, int hitMode, CSO *recentlySelectedCSO, CSOSeedPoint *recentlySelectedSeedPoint, CSOPathPoints *recentlySelectedPathPoints, SoView2D *view2d, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase, CSOBoundingBox slabBB, int timepointindex, bool deleteSeedPoint) |
| Evaluates the interaction events and interpolates the contours accordingly. | |
| virtual bool | needsMemoryImage () |
| Returns if the processor need the current memory image for interpolation. | |
| virtual void | setMemoryImage (float *imageData, int sizex, int sizey, int voxelPosZ, float *voxelToWorldMatrix, float *worldToVoxelMatrix, View2DSliceList *slicelist) |
| Sets an image which can be used with an image based interpolation algorithm. | |
| bool | isCurrentlyGenerating () |
| Returns if the processor is currently generating a new contour. | |
| bool | isCurrentlyEditing () |
| Returns if the processor is currently editing an existing contour. | |
| bool | couldCloseCSO () |
| Returns if 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 processor's default mouse cursor. | |
Protected Member Functions | |
| virtual | ~CSOFreehandProcessor () |
| Destructor. | |
| virtual void | handleNotification (Field *field) |
| Handles field changes: here, only the creation mode field change is evaluated and leads to a setting of internal parameters. | |
| virtual void | activateAttachments () |
| Method is called after module creation and after setting saved field values. | |
Definition at line 66 of file CSOFreehandProcessor.h.
| ml::CSOFreehandProcessor::CSOFreehandProcessor | ( | ) |
Constructor.
| virtual ml::CSOFreehandProcessor::~CSOFreehandProcessor | ( | ) | [protected, virtual] |
Destructor.
| virtual void ml::CSOFreehandProcessor::activateAttachments | ( | ) | [protected, virtual] |
Method is called after module creation and after setting saved field values.
Reimplemented from ml::CSOBaseModule.
| bool ml::CSOFreehandProcessor::couldCloseCSO | ( | ) | [virtual] |
Returns if the processor could close an open CSO by the processor's rules.
Reimplemented from ml::CSOProcessor.
| virtual void ml::CSOFreehandProcessor::handleNotification | ( | Field * | field | ) | [protected, virtual] |
Handles field changes: here, only the creation mode field change is evaluated and leads to a setting of internal parameters.
Reimplemented from ml::CSOBaseModule.
| bool ml::CSOFreehandProcessor::isCurrentlyEditing | ( | ) | [virtual] |
Returns if the processor is currently editing an existing contour.
Reimplemented from ml::CSOProcessor.
| bool ml::CSOFreehandProcessor::isCurrentlyGenerating | ( | ) | [virtual] |
Returns if the processor is currently generating a new contour.
Reimplemented from ml::CSOProcessor.
| virtual bool ml::CSOFreehandProcessor::needsMemoryImage | ( | ) | [virtual] |
Returns if the processor need the current memory image for interpolation.
Reimplemented from ml::CSOProcessor.
| virtual bool ml::CSOFreehandProcessor::process | ( | CSOList * | csoList, | |
| Vector3 & | currentHitPoint, | |||
| int | hitMode, | |||
| CSO * | recentlySelectedCSO, | |||
| CSOSeedPoint * | recentlySelectedSeedPoint, | |||
| CSOPathPoints * | recentlySelectedPathPoints, | |||
| SoView2D * | view2d, | |||
| View2DSliceList * | slicelist, | |||
| View2DEvent * | ec, | |||
| View2DEventPhase | phase, | |||
| CSOBoundingBox | slabBB, | |||
| int | timepointindex, | |||
| bool | deleteSeedPoint | |||
| ) | [virtual] |
Evaluates the interaction events and interpolates the contours accordingly.
Returns 'true' if anything has changed.
Reimplemented from ml::CSOProcessor.
| virtual void ml::CSOFreehandProcessor::resetInteractionState | ( | ) | [virtual] |
| virtual void ml::CSOFreehandProcessor::setMemoryImage | ( | float * | imageData, | |
| int | sizex, | |||
| int | sizey, | |||
| int | voxelPosZ, | |||
| float * | voxelToWorldMatrix, | |||
| float * | worldToVoxelMatrix, | |||
| View2DSliceList * | slicelist | |||
| ) | [virtual] |
Sets an image which can be used with an image based interpolation algorithm.
| virtual void ml::CSOFreehandProcessor::triggerSetMouseCursor | ( | SoView2D * | view2d, | |
| bool | shouldSetMouseCursor | |||
| ) | [virtual] |
1.5.8