MeVisLabToolboxReference
|
Module which allows for a modification of CSOs of all types. More...
#include <CSOModifyProcessor.h>
Classes | |
struct | CrossingIndices |
Structure holds the indices of crossed edges in the modify and the flattened total contour. | |
struct | CSOAndPositions |
Structure for associating a pointer to a CSO with a vector of (its) transformed positions. | |
struct | EntryExitSegment |
Structure holds entry / exit pairs defining a segment on CSOs and MODs. | |
Public Member Functions | |
CSOModifyProcessor () | |
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 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 | ~CSOModifyProcessor () |
Standard destructor. | |
virtual void | activateAttachments () |
Initialize module after loading. | |
virtual void | handleNotification (Field *field) |
Called when input changes. |
Module which allows for a modification of CSOs of all types.
Definition at line 39 of file CSOModifyProcessor.h.
ml::CSOModifyProcessor::CSOModifyProcessor | ( | ) |
Standard constructor.
virtual ml::CSOModifyProcessor::~CSOModifyProcessor | ( | ) | [protected, virtual] |
Standard destructor.
virtual void ml::CSOModifyProcessor::activateAttachments | ( | ) | [protected, virtual] |
Initialize module after loading.
Reimplemented from ml::CSOBaseModule.
virtual bool ml::CSOModifyProcessor::couldCloseCSO | ( | ) | [virtual] |
Returns whether the processor could close an open CSO by the processor's rules.
Reimplemented from ml::CSOProcessor.
virtual void ml::CSOModifyProcessor::handleNotification | ( | Field * | field | ) | [protected, virtual] |
Called when input changes.
Reimplemented from ml::CSOBaseModule.
virtual bool ml::CSOModifyProcessor::isCurrentlyEditing | ( | ) | [virtual] |
Returns whether the processor is currently editing an existing contour.
Reimplemented from ml::CSOProcessor.
virtual bool ml::CSOModifyProcessor::isCurrentlyGenerating | ( | ) | [virtual] |
Returns whether the processor is currently generating a new contour.
Reimplemented from ml::CSOProcessor.
virtual bool ml::CSOModifyProcessor::needsMemoryImage | ( | ) | [virtual] |
Returns whether the processor need the current memory image for interpolation.
Reimplemented from ml::CSOProcessor.
virtual bool ml::CSOModifyProcessor::process | ( | CSOEvalEventView2DInfos | view2DInfos, |
CSOEvalEventCSOInfos | csoInfos | ||
) | [virtual] |
Processes the interaction events and interpolates the contours accordingly.
Reimplemented from ml::CSOProcessor.
virtual void ml::CSOModifyProcessor::resetInteractionState | ( | ) | [virtual] |
Sets back internal interaction state.
Reimplemented from ml::CSOProcessor.
virtual void ml::CSOModifyProcessor::triggerSetMouseCursor | ( | SoView2D * | view2d, |
bool | shouldSetMouseCursor | ||
) | [virtual] |
Triggers the setting of the processors default mouse cursor.
Reimplemented from ml::CSOProcessor.