13 #ifndef CSOBULGE_PROCESSOR_H
14 #define CSOBULGE_PROCESSOR_H
80 BoolField* _adaptInfluenceWhileInteractingFld;
95 float _currentHitXPos;
97 float _currentHitYPos;
99 float _currentHitZPos;
112 CSO* _currentlyActiveCSO;
119 bool _isMovingSeedPoint;
126 void _convertCurrentCSO();
133 void _getNormalAt(
unsigned int pathIndex,
unsigned int pointIndex,
Vector3& normal);
135 float _getDeformationValue(
float factor);
#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
Field to encapsulate a boolean value.
Module which allows for an interactive bulging of CSOs of all types.
bool couldCloseCSO() override
Returns whether the processor could close an open CSO by the processor's rules.
bool isCurrentlyEditing() override
Returns whether the processor is currently editing an existing contour.
~CSOBulgeProcessor() override
Standard destructor.
void activateAttachments() override
Initializes module after loading.
bool isCurrentlyGenerating() override
Returns whether the processor is currently generating a new contour.
bool process(CSOEvalEventView2DInfos view2DInfos, CSOEvalEventCSOInfos csoInfos) override
Processes the interaction events and interpolates the contours accordingly.
void handleNotification(Field *field) override
Called when input changes.
void resetInteractionState() override
Sets back the internal interaction state.
void triggerSetMouseCursor(SoView2D *view2d, bool shouldSetMouseCursor) override
Triggers the setting of the processors default mouse cursor.
CSOBulgeProcessor()
Standard constructor.
bool needsMemoryImage() override
Returns whether the processor need the current memory image for interpolation.
A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation...
The CSOPathPoints is a list of world coordinates which are interpolated by a certain interpolation sc...
Base class for processor modules; those provide mechanisms for an interactive generation of seed poin...
The CSOSeedPoint can be interactively set and modified and is the framework for contours.
The CSO represents a contour segmentation object.
Base class for all fields used in the ML.
Field to encapsulate a float value.
Field to encapsulate an integer value.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.