MeVisLabToolboxReference
|
Extension for rendering, generating, and modifying a spline CSO. More...
#include <SoCSOSplineEditor.h>
Public Member Functions | |
SoCSOSplineEditor () | |
Standard constructor. | |
virtual void | createStartPressAt (const SoPointerPosition &pos) |
void | createNewCSO (const SoPointerPosition &pos) |
virtual void | createDragMoveTo (const SoPointerPosition &pos) |
virtual bool | createEndPress (int clickCount) |
virtual void | pointerPositionIfAllowedAt (const SoPointerPosition &pos) |
Sets seed points while moving the mouse -- but not while dragging. | |
virtual void | selectAndMoveStartPressAt (const SoPointerPosition &pos) |
virtual void | selectAndMoveDragMoveTo (const SoPointerPosition &pos) |
virtual SoPointingAction * | selectAndMoveEndPress (int clickCount) |
virtual void | insertSeedPointStartPressAt (const SoPointerPosition &pos) |
virtual void | insertSeedPointDragMoveTo (const SoPointerPosition &pos) |
virtual SoPointingAction * | insertSeedPointEndPress (int clickCount) |
virtual int | cursorShape () const |
Returns the cursor shape that indicates the next creation. | |
virtual bool | deleteSeedPoint (ml::CSO *cso, ml::CSOSeedPoint *seedPoint) |
Removes the given seed point from the given CSO and returns whether that was successful. | |
virtual void | cancel () |
Cancels an action like generation a CSO. Depends on concrete editor. | |
Static Public Member Functions | |
static void | initClass () |
init class in inventor runtime | |
Public Attributes | |
SoSFBool | useFreehandMode |
Toggles the interaction. | |
SoSFEnum | doubleClickMode |
Defines how the module should react on a double-click. | |
Protected Member Functions | |
ml::Vector3 | getCurrentPositon (const SoPointerPosition &pos) |
Extension for rendering, generating, and modifying a spline CSO.
Definition at line 20 of file SoCSOSplineEditor.h.
SoCSOSplineEditor::SoCSOSplineEditor | ( | ) |
Standard constructor.
virtual void SoCSOSplineEditor::cancel | ( | ) | [virtual] |
Cancels an action like generation a CSO. Depends on concrete editor.
Reimplemented from SoCSOEditorExtension.
virtual void SoCSOSplineEditor::createDragMoveTo | ( | const SoPointerPosition & | pos | ) | [virtual] |
Implements SoCSOEditorExtension.
virtual bool SoCSOSplineEditor::createEndPress | ( | int | clickCount | ) | [virtual] |
Implements SoCSOEditorExtension.
void SoCSOSplineEditor::createNewCSO | ( | const SoPointerPosition & | pos | ) |
virtual void SoCSOSplineEditor::createStartPressAt | ( | const SoPointerPosition & | pos | ) | [virtual] |
Implements SoCSOEditorExtension.
virtual int SoCSOSplineEditor::cursorShape | ( | ) | const [inline, virtual] |
Returns the cursor shape that indicates the next creation.
Reimplemented from SoCSOEditorExtension.
Definition at line 52 of file SoCSOSplineEditor.h.
virtual bool SoCSOSplineEditor::deleteSeedPoint | ( | ml::CSO * | cso, |
ml::CSOSeedPoint * | |||
) | [virtual] |
Removes the given seed point from the given CSO and returns whether that was successful.
Reimplemented from SoCSOEditorExtension.
ml::Vector3 SoCSOSplineEditor::getCurrentPositon | ( | const SoPointerPosition & | pos | ) | [protected] |
static void SoCSOSplineEditor::initClass | ( | ) | [static] |
init class in inventor runtime
Reimplemented from SoCSOLineCreatorEditorExtension.
virtual void SoCSOSplineEditor::insertSeedPointDragMoveTo | ( | const SoPointerPosition & | pos | ) | [virtual] |
Reimplemented from SoCSOEditorExtension.
virtual SoPointingAction* SoCSOSplineEditor::insertSeedPointEndPress | ( | int | clickCount | ) | [virtual] |
Reimplemented from SoCSOEditorExtension.
virtual void SoCSOSplineEditor::insertSeedPointStartPressAt | ( | const SoPointerPosition & | pos | ) | [virtual] |
Reimplemented from SoCSOEditorExtension.
virtual void SoCSOSplineEditor::pointerPositionIfAllowedAt | ( | const SoPointerPosition & | pos | ) | [virtual] |
Sets seed points while moving the mouse -- but not while dragging.
Is only called if isAllowedAt of the action is true.
Implements SoCSOEditorExtension.
virtual void SoCSOSplineEditor::selectAndMoveDragMoveTo | ( | const SoPointerPosition & | pos | ) | [virtual] |
Implements SoCSOEditorExtension.
virtual SoPointingAction* SoCSOSplineEditor::selectAndMoveEndPress | ( | int | clickCount | ) | [virtual] |
Implements SoCSOEditorExtension.
virtual void SoCSOSplineEditor::selectAndMoveStartPressAt | ( | const SoPointerPosition & | pos | ) | [virtual] |
Implements SoCSOEditorExtension.
SoSFEnum SoCSOSplineEditor::doubleClickMode |
Defines how the module should react on a double-click.
Definition at line 35 of file SoCSOSplineEditor.h.
SoSFBool SoCSOSplineEditor::useFreehandMode |
Toggles the interaction.
Definition at line 33 of file SoCSOSplineEditor.h.