#include <CSOProcessorData.h>

Public Member Functions | |
| CSOProcessorData () | |
| Constructor. | |
| ~CSOProcessorData () | |
| Destructor. | |
| void | setProcessor (CSOProcessor *processor) |
| Sets the processor module. | |
| bool | needsMemoryImage () |
| Returns if the attached processor module needs the current memory image. | |
| 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 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. | |
| int | getProcessorMode () |
| Returns the mode of the referenced processor. Is only called if the processor really exists. | |
| 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) |
| Processes all interaction events and triggers an interpolation. | |
| void | resetInteractionState () |
| Resets the interaction state of the attached processing module. | |
| std::string | getProcessorType () |
| Returns the current processor type. | |
| void | triggerSetMouseCursor (SoView2D *view2d, bool shouldSetMouseCursor) |
| Triggers the processor to set its default mouse cursor. | |
| int | getPickingMode () |
| Returns the picking mode of the processor (seed or path points). | |
Definition at line 35 of file CSOProcessorData.h.
| ml::CSOProcessorData::CSOProcessorData | ( | ) |
Constructor.
| ml::CSOProcessorData::~CSOProcessorData | ( | ) |
Destructor.
| bool ml::CSOProcessorData::couldCloseCSO | ( | ) |
Returns if the processor could close an open CSO by the processor's rules.
| int ml::CSOProcessorData::getPickingMode | ( | ) |
Returns the picking mode of the processor (seed or path points).
| int ml::CSOProcessorData::getProcessorMode | ( | ) |
Returns the mode of the referenced processor. Is only called if the processor really exists.
| std::string ml::CSOProcessorData::getProcessorType | ( | ) |
Returns the current processor type.
| bool ml::CSOProcessorData::isCurrentlyEditing | ( | ) |
Returns if the processor is currently editing an existing contour.
| bool ml::CSOProcessorData::isCurrentlyGenerating | ( | ) |
Returns if the processor is currently generating a new contour.
| bool ml::CSOProcessorData::needsMemoryImage | ( | ) |
Returns if the attached processor module needs the current memory image.
| bool ml::CSOProcessorData::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 | |||
| ) |
Processes all interaction events and triggers an interpolation.
Returns if the interaction has changed some CSO.
| void ml::CSOProcessorData::resetInteractionState | ( | ) |
Resets the interaction state of the attached processing module.
| void ml::CSOProcessorData::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.
| void ml::CSOProcessorData::setProcessor | ( | CSOProcessor * | processor | ) | [inline] |
| void ml::CSOProcessorData::triggerSetMouseCursor | ( | SoView2D * | view2d, | |
| bool | shouldSetMouseCursor | |||
| ) |
Triggers the processor to set its default mouse cursor.
1.5.8