13 #ifndef CSOPROCESSOR_DATA_H
14 #define CSOPROCESSOR_DATA_H
55 const Matrix4& voxelToWorldMatrix,
const Matrix4& worldToVoxelMatrix,
#define SOCSO_EXPORT
Header file for system independent resolution.
SoView2D is a 2D viewer for image data.
a list that holds all View2DSlice objects (lazily created) of a SoView2D
Class representing general ML objects that support import/export via strings (setPersistentState() an...
The CSOProcesorData provides the network data interchange object for processing interaction events an...
bool couldCloseCSO()
Returns whether the processor could close an open CSO by the processor's rules.
bool isCurrentlyEditing()
Returns whether the processor is currently editing an existing contour.
int getPickingMode()
Returns the picking mode of the processor (seed or path points).
void draw(CSODrawView2DInfos view2DInfos, CSODrawCSOInfos csoInfos)
After the editor has done its drawing, this method is invoked on the processor to draw processor-spec...
bool process(CSOEvalEventView2DInfos view2DInfos, CSOEvalEventCSOInfos csoInfos)
Processes all interaction events and triggers an interpolation.
void setProcessor(CSOProcessor *processor)
Sets the processor module.
bool isCurrentlyGenerating()
Returns whether the processor is currently generating a new contour.
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.
std::string getProcessorType()
Returns the current processor type.
CSOProcessorData()
Constructor.
~CSOProcessorData() override
Destructor.
bool needsMemoryImage()
Returns whether the attached processor module needs the current memory image.
int getProcessorMode()
Returns the mode of the referenced processor. Is only called if the processor really exists.
void resetInteractionState()
Resets the interaction state of the attached processing module.
void triggerSetMouseCursor(SoView2D *view2d, bool shouldSetMouseCursor)
Triggers the processor to set its default mouse cursor.
Base class for processor modules; those provide mechanisms for an interactive generation of seed poin...
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non existing export symbol.