MeVisLab Toolbox Reference
SoCSOSplineEditor Class Reference

Extension for rendering, generating, and modifying a spline CSO. More...

#include <SoCSOSplineEditor.h>

Inheritance diagram for SoCSOSplineEditor:
SoCSOLineCreatorEditorExtension CSOPointDensity SoCSOCreatorEditorExtension SoCSOEditorExtension ml::CSOGeneratorBase

Public Member Functions

 SoCSOSplineEditor ()
 Standard constructor. More...
 
void createStartPressAt (const SoPointerPosition &pos) override
 
void createNewCSO (const SoPointerPosition &pos)
 
void createDragMoveTo (const SoPointerPosition &pos) override
 
bool createEndPress (int clickCount) override
 
void pointerPositionIfAllowedAt (const SoPointerPosition &pos) override
 Sets seed points while moving the mouse – but not while dragging. More...
 
void selectAndMoveStartPressAt (const SoPointerPosition &pos) override
 
void selectAndMoveDragMoveTo (const SoPointerPosition &pos) override
 
SoPointingActionselectAndMoveEndPress (int clickCount) override
 
void insertSeedPointStartPressAt (const SoPointerPosition &pos) override
 
void insertSeedPointDragMoveTo (const SoPointerPosition &pos) override
 
SoPointingActioninsertSeedPointEndPress (int clickCount) override
 
int cursorShape () const override
 Returns the cursor shape that indicates the next creation. More...
 
bool deleteSeedPoint (ml::CSO *cso, ml::CSOSeedPoint *seedPoint) override
 Removes the given seed point from the given CSO and returns whether that was successful. More...
 
void cancel () override
 Cancels an action like generating a CSO. Depends on concrete editor. More...
 
- Public Member Functions inherited from SoCSOLineCreatorEditorExtension
bool expectsToCreateCSO () override
 Returns whether an editor is awaiting to create a new CSO, depending on the requireMousemovement flag. More...
 
- Public Member Functions inherited from SoCSOCreatorEditorExtension
bool canCreateCSOs () const override
 Returns whether the editor can create a CSO. More...
 
int cursorShape () const override
 Returns the cursor shape that indicates the next creation. More...
 
- Public Member Functions inherited from SoCSOEditorExtension
void setExtensibleEditor (SoView2DCSOExtensibleEditor *extensibleEditor)
 Sets the pointer to the calling extensible editor. More...
 
virtual void activate (SoView2DCSOExtensibleEditor *extensibleEditor)
 Is called when an extension is activated by the SoView2DExtensibleEditor. More...
 
virtual void deactivate ()
 Is called when an extension is deactivated by the SoView2DExtensibleEditor. More...
 
virtual void buttonMaskChanged ()
 Is called when the button mask of the SoView2DExtensibleEditor has changed. More...
 
virtual void editingOnChanged ()
 Is called when the editingOn field of the SoView2DExtensibleEditor has changed. More...
 
virtual void startDrawing (View2DSliceList *)
 Is called before drawing. More...
 
virtual void drawingDone ()
 Is called when all drawing is done. More...
 
virtual void setVisibleCSOs (const std::vector< CSODrawCSOInfos > &drawCSOInformation, const CSODrawView2DInfos &view2DInfos, SoView2DCSOExtensibleEditor *editor)
 Sets visible CSOs that have been determined in the extensible editor. More...
 
virtual void draw (const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &sliceInfo, SoView2DCSOExtensibleEditor *editor)
 Main routine for drawing a CSO. More...
 
virtual void drawSecondPass (const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &sliceInfo, SoView2DCSOExtensibleEditor *editor)
 Drawing routine that comes between 'main' and 'overlay'. More...
 
virtual void drawOverlay (const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &sliceInfo, SoView2DCSOExtensibleEditor *editor)
 Routine for drawing after the main routine has drawn. More...
 
virtual void drawAdditionalGeometry (const CSODrawView2DInfos &view2DInfos, SoView2DCSOExtensibleEditor *editor)
 Routine for drawing additional geometry of the extension. More...
 
virtual void bulgeStartPressAt (const SoPointerPosition &)
 
virtual void bulgeDragMoveTo (const SoPointerPosition &)
 
virtual SoPointingActionbulgeEndPress (int)
 
virtual void pointerPosition (const SoPointerPosition &)
 Is called when the mouse moves over a viewer. More...
 
virtual void pointerLeftWindow ()
 Is called when mouse pointer leaves the window. More...
 
virtual bool isCreationAllowed () const
 Returns whether the editor is allowed to create a new CSO. More...
 
virtual bool isCreationAllowedAt (const SoPointerPosition &) const
 Returns whether the editor is allowed to create a new CSO at the given position, by default calls the previous method. More...
 
virtual bool isModificationAllowed () const
 Returns whether the editor is allowed to modify an existing CSO. More...
 
virtual bool shouldRenderCSOs () const
 Returns whether the editor should render. More...
 
SbString getCreatorExtensionId () const
 
void setActiveCSOList (ml::CSOList *hitCSOList)
 
void setSelectAndMoveInformation (ml::CSOList *hitCSOList, ml::CSO *hitCSO, ml::CSOSeedPoint *hitSeedPoint, ml::CSOPathPoints *hitPathPoints, float hitDistance)
 
void setCSOUnderMouse (ml::CSO *cso)
 
ml::CSOgetCSOUnderMouse () const
 
bool hasSelectedSeedPoint () const
 
bool hasSelectedCSO () const
 
virtual SbString getSubType () const
 Returns the sub type string of the derived class. More...
 
virtual bool shouldRenderSpecific (ml::CSO *cso) const
 Returns whether a given CSO should be rendered by this specific extension. More...
 
virtual bool shouldRenderGeneral (ml::CSO *) const
 Returns whether a given CSO should be rendered by this general extension. More...
 
virtual bool isDefaultRenderer () const
 Returns whether the editor is the default editor. More...
 
virtual bool isModificationEditor () const
 Returns whether the editor is a modification editor. More...
 
virtual void resetCache ()
 Resets internal module caches, if there are any. More...
 
ml::CSOSeedPointgetPreviousSeedPoint (ml::CSOSeedPoint *seedPoint) const
 Returns the previous seed point of the given seed point for setting it as the next selected seed point. More...
 
virtual void mouseWheelEventReceived (SoMouseWheelEvent::Orientation, int, View2DEvent *)
 Method is called when the extensible editor received a mouse wheel event. More...
 
virtual bool evaluateHitPoint (const ml::Vector3 &worldPosition, View2DSliceList *slicelist, ml::CSOList *csoList, const ml::CSOBoundingBox &slabBB, SoView2DCSOExtensibleEditor *editor, ml::CSO *&localHitCSO, ml::CSOSeedPoint *&localHitSeedPoint, ml::CSOPathPoints *&localHitPathPoints, float &distance)
 Returns whether the given world position is within the selection distance set in the editor and fills the selection distance. More...
 
void reset ()
 
ml::CSOVisualizationSettingsgetVisualizationSettings ()
 Returns a pointer to the visual settings that are either the default ones or the ones set to the extensible editor (if present). More...
 
bool shouldShowCSOForCurrentTimePoint (const CSODrawView2DInfos &view2DInfos, ml::CSO *cso)
 Returns whether the given CSO should be rendered for the current time point. More...
 
void sendCSOEventsOnCancel (ml::CSO *cso)
 Sends CSO events for completing a creation or interaction when canceling it. More...
 
virtual void sendCSOEventsOnCancel (ml::CSOList *csoList)
 
- Public Member Functions inherited from ml::CSOGeneratorBase
 CSOGeneratorBase ()
 Default constructor. More...
 
virtual ~CSOGeneratorBase ()=default
 
CSOgeneratorAddCSO (CSOList *csoList, bool useUndoRedo=true)
 Adds a new CSO to the CSOList. More...
 
CSOgeneratorAddCSONoEvent (CSOList *csoList, bool useUndoRedo=true, bool sendEvent=false)
 See generatorAddCSO, but no group scope event is emitted. (So this method is faster!) More...
 
CSOGroupgeneratorGetParentGroup (CSOList *csoList, bool useUndoRedo=false, bool generate=false)
 Returns the parent group according to current group settings. More...
 
void generatorEmptyGroupOnDemand (CSOList *csoList)
 Empties a group on demand of the given CSOList with the set label. More...
 
- Public Member Functions inherited from CSOPointDensity
 CSOPointDensity ()
 
float getPointDensity (const SoPointerPosition &pos) const
 

Static Public Member Functions

static void initClass ()
 init class in inventor runtime More...
 
- Static Public Member Functions inherited from SoCSOLineCreatorEditorExtension
static void initClass ()
 init class in inventor runtime More...
 
- Static Public Member Functions inherited from SoCSOCreatorEditorExtension
static void initClass ()
 init class in inventor runtime More...
 
- Static Public Member Functions inherited from SoCSOEditorExtension
static void initClass ()
 init class in inventor runtime More...
 

Public Attributes

SoSFBool useFreehandMode
 Toggles the interaction. More...
 
SoSFEnum doubleClickMode
 Defines how the module should react on a double-click. More...
 
SoSFBool shouldCloseFreehandOnRelease
 Closes a freehand CSO on release, independent of the distance between the first and the last seed point. More...
 
- Public Attributes inherited from SoCSOLineCreatorEditorExtension
SoSFEnum insertSeedPointCursor
 
SoSFEnum canCloseCursor
 
SoSFBool insertSeedPointByClickingOnPathPointList
 CSO will be grabbed to be moved. More...
 
SoSFBool generateSeedPointsWhileDragging
 Shall seed points be generated while dragging in non-freehand mode? More...
 
- Public Attributes inherited from SoCSOCreatorEditorExtension
SoSFInt32 moduleCreatorId
 Sets the module's creator id. More...
 
SoSFString moduleCreatorString
 Sets the module's type string. More...
 
SoSFString labelPrefixString
 Sets a label prefix string. More...
 
SoSFBool requirePointerPositionMovementToCreateCSO
 Should the mouse have to be moved a bit before creating a CSO? More...
 
SoSFInt32 pointerPositionEpsilonForCreatingCSO
 The pointer position movement epsilon distance in pixel to trigger CSO creation. More...
 
SoSFBool shouldEmptyGroupBeforeGenerating
 Should the CSO group be emptied before generating new CSOs into it? More...
 
SoSFEnum addCSOToGroupMode
 Sets whether the group's label or its id should be used for cso-into-group generation. More...
 
SoSFString addCSOToGroupLabel
 Sets the group's label for CSO generation. More...
 
SoSFInt32 addCSOToGroupId
 Sets the group's id for CSO generation. More...
 
SoSFEnum defaultPathPointStyle
 Sets the default path point style. More...
 
SoSFFloat defaultPathPointWidth
 Sets the default path point width. More...
 
SoSFColor defaultPathPointColor
 Sets the default path point color. More...
 
SoSFFloat defaultPathPointAlpha
 Sets the default path point alpha. More...
 
SoSFEnum defaultSeedPointStyle
 Sets the default seed point style. More...
 
SoSFFloat defaultSeedPointSize
 Sets the default seed point size. More...
 
SoSFColor defaultSeedPointColor
 Sets the default seed point color. More...
 
SoSFFloat defaultSeedPointAlpha
 Sets the default seed point alpha. More...
 
SoSFEnum defaultVoxelWriteMode
 Sets the default voxel write mode. More...
 
SoSFFloat defaultVoxelWriteValue
 Sets the default voxel write value. More...
 
SoSFEnum createCursor
 Cursor shapes. More...
 
SoSFEnum moveAllCursor
 
SoSFEnum moveSeedCursor
 
- Public Attributes inherited from SoCSOEditorExtension
SoSFString extensionId
 ID for a editor, needs to be unique per editor extension instance. More...
 
SoSFBool allowCreation
 Shall the editor allow creation? More...
 
SoSFBool allowModification
 Shall the editor allow modification of CSOs of its type? More...
 
SoSFBool allowSeedPointInteraction
 Should the interaction with seed points be allowed? More...
 
SoSFBool shouldRender
 Shall the editor render its CSOs? More...
 
SoSFMLBase inVisualizationSettings
 Optionally attached visualization settings, overrides the vis. More...
 
SoSFEnum selectionCursor
 
SoSFEnum interactionForbiddenCursor
 
SoSFInt32 csoIdUnderMouseCursor
 The id of the CSO currently under the mouse (or -1 if no CSO is under the mouse). More...
 
- Public Attributes inherited from CSOPointDensity
SoSFEnum pointDensityMode
 
SoSFFloat densityFactor
 

Protected Member Functions

ml::Vector3 getCurrentPositon (const SoPointerPosition &pos)
 
- Protected Member Functions inherited from SoCSOLineCreatorEditorExtension
 SoCSOLineCreatorEditorExtension ()
 Hidden constructor. More...
 
void initMembers () override
 
- Protected Member Functions inherited from SoCSOCreatorEditorExtension
 SoCSOCreatorEditorExtension ()
 Hidden constructor. More...
 
int getModuleCreatorId () const override
 Returns the module's creator id. More...
 
std::string getModuleType () const override
 Returns the module's type string. More...
 
void setCreationData (const SoPointerPosition &pos, ml::CSO *newCSO) override
 Sets creation data to a newly created CSO. More...
 
int getMaxAvailableId ()
 Returns the current id for CSOs created by this editor. It is the maximum available id. More...
 
bool getShouldEmptyBeforeGeneration () const override
 Returns whether the module should empty a group before generating CSOs into it. More...
 
int getAddCSOToGroupMode () const override
 Returns the group generation mode. More...
 
std::string getAddCSOToGroupLabel () const override
 Returns the label string of a target group. More...
 
int getAddCSOToGroupId () const override
 Returns the id of a target group. More...
 
int getDefaultPathPointStyle () const override
 Returns the set default path point style for a new CSO. More...
 
float getDefaultPathPointWidth () const override
 Returns the set default path point width for a new CSO. More...
 
ml::Vector3 getDefaultPathPointColor () const override
 Returns the set default path point color for a new CSO. More...
 
float getDefaultPathPointAlpha () const override
 Returns the set default path point alpha for a new CSO. More...
 
int getDefaultSeedPointStyle () const override
 Returns the set default seed point style for a new CSO. More...
 
float getDefaultSeedPointSize () const override
 Returns the set default seed point size for a new CSO. More...
 
ml::Vector3 getDefaultSeedPointColor () const override
 Returns the set default seed point color for a new CSO. More...
 
float getDefaultSeedPointAlpha () const override
 Returns the set default seed point alpha for a new CSO. More...
 
int getDefaultVoxelWriteMode () const override
 Returns the set default voxel write mode for a new CSO. More...
 
float getDefaultVoxelWriteValue () const override
 Returns the set default voxel write value for a new CSO. More...
 
ml::CSOgetActiveCSO () const override
 Returns the currently active CSO. More...
 
bool isFartherThanEpsilon (const SoPointerPosition &pos) const
 Returns whether the given position is farther away from the start position than the epsilon in pixel. More...
 
- Protected Member Functions inherited from SoCSOEditorExtension
 SoCSOEditorExtension ()
 Hidden constructor. More...
 
 ~SoCSOEditorExtension () override
 Hidden destructor. More...
 
void sendCSONotificationRepaint ()
 Sends a CSO notification to repaint the CSOList. More...
 
void sendCSONotificationMove ()
 Sends a CSO notification on moving a CSO or seed point. More...
 
void sendCSONotificationFinishInteraction ()
 Sends a CSO notification on finishing an interaction with a CSO. More...
 
void sendCSONotificationResetInteractionState ()
 Sends a CSO notification on having the interaction state being reset. More...
 
void sendCSONotificationInsertSeedPoint ()
 Sends a CSO notification on inserting a seed point. More...
 
void sendCSONotificationNewCSOStarted ()
 Sends a CSO notification on having started to create a new CSO. More...
 
void setExtensionIdAsSubType ()
 Sets the subtype member to the value of the extension id string. More...
 
void extensionIdCB (SoField *)
 
SoCSOEditorTools::LineRenderSettings getLineRenderSettingsOnSlice ()
 Creates a LineRenderSettings struct from the editors visualization settings "onSlice" section. More...
 
SoCSOEditorTools::LineRenderSettings getLineRenderSettingsForCSO (ml::CSO *cso)
 Creates a LineRenderSettings struct from the visualization attributes of the given CSO. More...
 
void drawPathPoints (const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &drawSliceInfo, const SbVec2f &shadowOffsetDevice, SoView2DCSOExtensibleEditor *editor)
 Draws the CSO by drawing lines between the path points. Renders different types of CSOs. More...
 
void renderPathPoints (const CSOPathPointsRenderSettings &renderSettings, const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const std::vector< CSOSliceCrossing > &pathPointsLists, GLint lineMode, const SbVec2f &shadowOffsetDevice)
 Draws path points with given render settings. More...
 
void drawPathAndCrossingPoints (const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const SbVec2f &shadowOffsetDevice, const std::vector< CSOSliceCrossing > &pathAndCrossingPoints, GLint lineMode)
 Draws the path and crossing points. More...
 
void drawShape (int style, SoView2DCSOExtensibleEditor *editor, ml::CSOVisualizationSettings *visualizationSettings, float deviceX, float deviceY, float size, float lineWidth=1.f)
 Draws the shape with the given style with the given center and size. More...
 
void drawSeedPoints (const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &drawSliceInfo, SoView2DCSOExtensibleEditor *editor)
 Draws the seed points of the CSO. More...
 
void drawFixedSizeCircleAt (float deviceX, float deviceY)
 Renders a fixed size circle at the given position. More...
 
bool isCSOVisible (const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &drawSliceInfo, SoView2DCSOExtensibleEditor *editor)
 Returns whether the CSO is visible on the current slice. More...
 
ml::Vector3 getTransformedPosition (const CSODrawView2DInfos &view2DInfos, const ml::Vector3 &position)
 If a SoCSOTransform exists, this method returns the transformed position. More...
 
void mapWorldToDevice (const SoPointerPosition &pos, const ml::Vector3 &worldPosition, float &deviceX, float &deviceY)
 Returns device coordinates for a given world position. More...
 
void mapWorldToDevice (View2DSliceList *slicelist, const ml::Vector3 &worldPosition, float &deviceX, float &deviceY)
 Returns device coordinates for a given world position. More...
 
ml::Vector3 mapDeviceToWorld (const SoPointerPosition &pos, float deviceX, float deviceY)
 Returns world coordinates for given device position. More...
 
ml::Vector3 mapWorldToVoxel (const SoPointerPosition &pos, const ml::Vector3 &worldPosition)
 Returns a voxel position for a given world position. More...
 
ml::Vector3 mapWorldToVoxel (const SoPointerPosition &pos, const SbVec3f &worldPosition)
 Returns a voxel position for a given world position. More...
 
ml::Vector3 mapVoxelToWorld (const SoPointerPosition &pos, const ml::Vector3 &voxelPosition)
 Returns a world position for a given voxel position. More...
 
SbVec2f nonShadowOffset () const
 Returns the default offset for non-shadows in pixels. More...
 
SbVec2f shadowOffset () const
 Returns the default offset for shadows in pixels. More...
 
GLint getLineMode (ml::CSO *cso)
 Returns the correct line mode for open and for closed CSOs. More...
 
void setupGLForCSO (const CSODrawCSOInfos &csoInfos)
 Sets up GL state for color, line width, and point size. More...
 
void setupGLShadow (float generalAlpha=1.0f)
 Sets up the GL state for shadow rendering (color and line width). More...
 
void glSetAlpha (float alpha)
 Sets an alpha value but retains the set color. More...
 
float getDepthAlpha (int maxSliceDistance, int currentSliceDistance) const
 Returns an alpha factor based on the max distance and the current distance. More...
 
bool doesCSOTimePointMatchCurrentTimePoint (const CSODrawView2DInfos &view2DInfos, ml::CSO *cso)
 Returns true if the CSO's time point matches the (overwritten) current time point. More...
 

Additional Inherited Members

- Protected Attributes inherited from SoCSOLineCreatorEditorExtension
bool _isCurrentlyGenerating
 
bool _justStartedToCreate
 
bool _hasClickedToCreate
 
- Protected Attributes inherited from SoCSOCreatorEditorExtension
SbVec2f _startDevicePointerPosition
 The device position of the pointer at creation start. More...
 
ml::CSO_newCSO
 Created CSO. More...
 
- Protected Attributes inherited from SoCSOEditorExtension
SoView2DCSOExtensibleEditor_editor
 
ml::CSOListPtr _hitCSOList
 Pointer to internal/interactive states. More...
 
ml::CSO_hitCSO
 
ml::CSOSeedPoint_hitSeedPoint
 
ml::CSOPathPoints_hitPathPoints
 
float _hitDistance
 
ml::CSO_csoUnderMouse
 
ml::CSOVisualizationSettings _visualizationSettings
 Default visual settings. Access them via the method getVisualSettings(). More...
 
SbString _subType
 Member for subtype of generated CSOs. More...
 

Detailed Description

Extension for rendering, generating, and modifying a spline CSO.

Extension for rendering, generating, and modifying a spline CSO.

Definition at line 26 of file SoCSOSplineEditor.h.

Constructor & Destructor Documentation

◆ SoCSOSplineEditor()

SoCSOSplineEditor::SoCSOSplineEditor ( )

Standard constructor.

Member Function Documentation

◆ cancel()

void SoCSOSplineEditor::cancel ( )
overridevirtual

Cancels an action like generating a CSO. Depends on concrete editor.

Reimplemented from SoCSOEditorExtension.

◆ createDragMoveTo()

void SoCSOSplineEditor::createDragMoveTo ( const SoPointerPosition pos)
overridevirtual

Implements SoCSOEditorExtension.

◆ createEndPress()

bool SoCSOSplineEditor::createEndPress ( int  clickCount)
overridevirtual

Implements SoCSOEditorExtension.

◆ createNewCSO()

void SoCSOSplineEditor::createNewCSO ( const SoPointerPosition pos)

◆ createStartPressAt()

void SoCSOSplineEditor::createStartPressAt ( const SoPointerPosition pos)
overridevirtual

Implements SoCSOEditorExtension.

◆ cursorShape()

int SoCSOSplineEditor::cursorShape ( ) const
inlineoverridevirtual

Returns the cursor shape that indicates the next creation.

Reimplemented from SoCSOEditorExtension.

Definition at line 61 of file SoCSOSplineEditor.h.

◆ deleteSeedPoint()

bool SoCSOSplineEditor::deleteSeedPoint ( ml::CSO cso,
ml::CSOSeedPoint  
)
overridevirtual

Removes the given seed point from the given CSO and returns whether that was successful.

Reimplemented from SoCSOEditorExtension.

◆ getCurrentPositon()

ml::Vector3 SoCSOSplineEditor::getCurrentPositon ( const SoPointerPosition pos)
protected

◆ initClass()

static void SoCSOSplineEditor::initClass ( )
static

init class in inventor runtime

◆ insertSeedPointDragMoveTo()

void SoCSOSplineEditor::insertSeedPointDragMoveTo ( const SoPointerPosition pos)
overridevirtual

Reimplemented from SoCSOEditorExtension.

◆ insertSeedPointEndPress()

SoPointingAction* SoCSOSplineEditor::insertSeedPointEndPress ( int  clickCount)
overridevirtual

Reimplemented from SoCSOEditorExtension.

◆ insertSeedPointStartPressAt()

void SoCSOSplineEditor::insertSeedPointStartPressAt ( const SoPointerPosition pos)
overridevirtual

Reimplemented from SoCSOEditorExtension.

◆ pointerPositionIfAllowedAt()

void SoCSOSplineEditor::pointerPositionIfAllowedAt ( const SoPointerPosition pos)
overridevirtual

Sets seed points while moving the mouse – but not while dragging.

Is called in isSensitiveAt only while interacting on the same slice where the interaction has started.

Implements SoCSOEditorExtension.

◆ selectAndMoveDragMoveTo()

void SoCSOSplineEditor::selectAndMoveDragMoveTo ( const SoPointerPosition pos)
overridevirtual

Implements SoCSOEditorExtension.

◆ selectAndMoveEndPress()

SoPointingAction* SoCSOSplineEditor::selectAndMoveEndPress ( int  clickCount)
overridevirtual

Implements SoCSOEditorExtension.

◆ selectAndMoveStartPressAt()

void SoCSOSplineEditor::selectAndMoveStartPressAt ( const SoPointerPosition pos)
overridevirtual

Implements SoCSOEditorExtension.

Member Data Documentation

◆ doubleClickMode

SoSFEnum SoCSOSplineEditor::doubleClickMode

Defines how the module should react on a double-click.

Definition at line 41 of file SoCSOSplineEditor.h.

◆ shouldCloseFreehandOnRelease

SoSFBool SoCSOSplineEditor::shouldCloseFreehandOnRelease

Closes a freehand CSO on release, independent of the distance between the first and the last seed point.

Definition at line 44 of file SoCSOSplineEditor.h.

◆ useFreehandMode

SoSFBool SoCSOSplineEditor::useFreehandMode

Toggles the interaction.

Definition at line 39 of file SoCSOSplineEditor.h.


The documentation for this class was generated from the following file: