MeVisLab Toolbox Reference
SoView2DCSOEditor Class Reference

Provides 2D drawing and interaction for the contour segmentation objects. More...

#include <SoView2DCSOEditor.h>

Inheritance diagram for SoView2DCSOEditor:
SoView2DExtension SoView2DCSOEditorBase SoInteractionProviderNode SoInteractionOwner SoInteractionProvider

Public Types

enum  INTERACTION_MODES { INTERACTION_MODE_EDIT = 0 , INTERACTION_MODE_MOVE = 1 }
 Enumeration of the interaction modes. More...
 
enum  TOGGLE_MODE_KEYS { TOGGLE_MODE_NONE = 0 , TOGGLE_MODE_ALT = 1 , TOGGLE_MODE_CONTROL = 2 , TOGGLE_MODE_SHIFT = 3 }
 Enumeration of the keyboard modifiers to use for toggling seed point / whole CSO interaction. More...
 
enum  EDITING_OPERATION_KEYBOARD_MODIFIERS { EDIT_OP_KEY_MOD_NONE = 0 , EDIT_OP_KEY_MOD_ALT = 1 , EDIT_OP_KEY_MOD_CONTROL = 2 , EDIT_OP_KEY_MOD_SHIFT = 3 }
 Enumeration of the keyboard modifiers for editing operations. More...
 
enum  EDITING_OPERATION_KEYS {
  EDIT_OP_KEY_A , EDIT_OP_KEY_B , EDIT_OP_KEY_C , EDIT_OP_KEY_D ,
  EDIT_OP_KEY_E , EDIT_OP_KEY_F , EDIT_OP_KEY_G , EDIT_OP_KEY_H ,
  EDIT_OP_KEY_I , EDIT_OP_KEY_J , EDIT_OP_KEY_K , EDIT_OP_KEY_L ,
  EDIT_OP_KEY_M , EDIT_OP_KEY_N , EDIT_OP_KEY_O , EDIT_OP_KEY_P ,
  EDIT_OP_KEY_Q , EDIT_OP_KEY_R , EDIT_OP_KEY_S , EDIT_OP_KEY_T ,
  EDIT_OP_KEY_U , EDIT_OP_KEY_V , EDIT_OP_KEY_W , EDIT_OP_KEY_X ,
  EDIT_OP_KEY_Y , EDIT_OP_KEY_Z , EDIT_OP_KEY_SPACE , EDIT_OP_KEY_ENTER ,
  EDIT_OP_KEY_DELETE , EDIT_OP_KEY_BCKSPC
}
 Enumeration of the keys for editing operations. More...
 
enum  WINDING_RULES {
  WR_ODD = GLU_TESS_WINDING_ODD , WR_NONZERO = GLU_TESS_WINDING_NONZERO , WR_POSITIVE = GLU_TESS_WINDING_POSITIVE , WR_NEGATIVE = GLU_TESS_WINDING_NEGATIVE ,
  WR_ABS_GEQ_TWO = GLU_TESS_WINDING_ABS_GEQ_TWO
}
 
enum  LABEL_SHOW_MODES {
  LABEL_SHOW_NONE = 0 , LABEL_SHOW_CSO_LABEL = 1 , LABEL_SHOW_CSO_DESCRIPTION = 2 , LABEL_SHOW_CSO_ID = 3 ,
  LABEL_SHOW_CSO_INDEX = 4 , LABEL_SHOW_GROUP_LABEL = 5 , LABEL_SHOW_GROUP_DESCRIPTION = 6 , LABEL_SHOW_GROUP_ID = 7 ,
  LABEL_SHOW_GROUP_INDEX = 8 , LABEL_SHOW_CSO_LENGTH = 9 , LABEL_SHOW_CSO_AREA = 10
}
 Enumeration of the label show modes. More...
 
enum  LABEL_ALIGNMENT_MODES {
  LABEL_ALIGN_TOP_LEFT = 0 , LABEL_ALIGN_TOP_RIGHT = 1 , LABEL_ALIGN_BOTTOM_LEFT = 2 , LABEL_ALIGN_BOTTOM_RIGHT = 3 ,
  LABEL_ALIGN_TOP = 4 , LABEL_ALIGN_BOTTOM = 5 , LABEL_ALIGN_LEFT = 6 , LABEL_ALIGN_RIGHT = 7 ,
  LABEL_ALIGN_CENTER = 8
}
 Enumeration of the label alignment. More...
 
enum  LABEL_UNITS_SCALES { LABEL_UNIT_SCALE_MM = 0 , LABEL_UNIT_SCALE_CM = 1 , LABEL_UNIT_SCALE_M = 2 }
 Enumeration of unit scales. More...
 
- Public Types inherited from SoView2DExtension
enum  Sign { ZERO , NEGATIVE , POSITIVE }
 defines the sign of a number, with zero as an extra value More...
 
- Public Types inherited from SoInteractionProvider
typedef SoInteractionProvider *(* GetProviderFunc) (SoNode *)
 

Public Member Functions

 SoView2DCSOEditor ()
 Standard constructor. More...
 
- Public Member Functions inherited from SoView2DExtension
 SoView2DExtension ()
 Constructor. More...
 
void init ()
 setup internal state More...
 
virtual void updateValues ()
 Update fields to local variables, may be reimplemented if you want to update additional local vars. More...
 
virtual void startDrawing (View2DSliceList *)
 
virtual void endDrawing (View2DSliceList *)
 
virtual void overwriteDrawingSettings (SoView2DDrawingSettings &)
 
View2DEventgetEvent ()
 get the current event (when inside of evalEvent) More...
 
float getSelectDist ()
 Set the distance tolerance on hit checking in pixels. More...
 
bool isPointInsideDeviceRect (float pointX, float pointY, float centerX, float centerY, float hitRectangleSize=0.0)
 returns whether the given point is inside a rectangle around the given center. More...
 
void drawMiniRect (float xp, float yp, float ext, float lineWidth=1.f)
 Draws a small rectangle with given half side length and a line width. More...
 
void drawDashedMiniRect (float xp, float yp, float ext, float lineWidth)
 
void drawFilledMiniRect (float xp, float yp, float ext, float lineWidth=1.f)
 Draws a small filled rectangle with given half side length. More...
 
void drawMiniTriangle (float xp, float yp, float ext, float lineWidth=1.f)
 Draws a small triangle with given center point, half height and line width. More...
 
void drawFilledMiniTriangle (float xp, float yp, float ext, float lineWidth=1.f)
 Draws a small filled triangle with given center point and half height. More...
 
void drawMiniCircle (float xp, float yp, float ext, float lineWidth=1.f)
 Draws a small circle with given center point and radius. More...
 
void drawFilledMiniCircle (float xp, float yp, float ext, float lineWidth=1.f)
 Draws a small filled circle with given center point and radius. More...
 
void drawFixedSizeMiniCircleAt (float xp, float yp)
 Draws a fixed size small circle at the given position. More...
 
void drawVoxelBorder (View2DSlice *slice, float vx, float vy, float vz)
 surround the given voxel with a border More...
 
int getX ()
 get the x device position of current event, only returns valid result when called inside of evalEvent() More...
 
int getY ()
 get the y device position of current event, only returns valid result when called inside of evalEvent() More...
 
virtual bool isDrawingOn ()
 check if drawing is on More...
 
virtual bool isEditingOn ()
 check if editing is on More...
 
virtual bool isFixZOn ()
 check if z should stay fixed More...
 
virtual bool isClipToSlice ()
 check if the image is clipped to slice More...
 
virtual void fieldChanged (SoSensor *sensor)
 handle if any field has changed More...
 
bool isCreateNewMode ()
 check if extension is in createNewMode More...
 
void setCreateNewMode (bool flag)
 set this extension to create new objects More...
 
bool isCreateNewModeRequest ()
 check if extension has a request for createNewMode More...
 
void setCreateNewModeRequest (bool flag)
 set that extension want to become createNewMode More...
 
virtual bool isActive ()
 returns if the extension is active (derive this method in child) (in createNewMode or with a selected object)(called by SoView2D) More...
 
virtual void deleteSelectedObject ()
 deletes the currently active object (derive this method in child) (called by SoView2D) More...
 
virtual void getStatusString (SbString &status)
 get the current status of this extension More...
 
virtual bool evaluateEvent (SoView2D *view2d, View2DEvent *ec)
 
virtual bool ignoreEvent (View2DEvent *ec)
 Return true if ec has been handled before and if ignoreHandledEvents is True. More...
 
bool wantsMouseOverUpdates () const
 public access to _wantsMouseOverUpdateEvents More...
 
virtual void consumeEvent (View2DEvent *ec, bool handled=TRUE)
 Set handled-flag of ec to true (= consumed) if handled is True and setEventHandled is True. More...
 
int getSelectedModifierMask ()
 Get compare and ignore mask for the currently selected button/modifier combination, usable with SoPointingAction. More...
 
int getSelectedIgnoreMask ()
 
SoPointingAction::Trigger getPointingActionTriggerFromFields ()
 Get the trigger that matches the button/modifier field state. More...
 
virtual bool implementsManagedInteractionAndClassicEventHandling () const
 return true if this node is a hybrid module providing managed interaction and classic event handling - in this case SoView2D::useManagedInteraction decides which one to use More...
 
- Public Member Functions inherited from SoInteractionProviderNode
 SoInteractionProviderNode ()
 Default constructor. More...
 
 ~SoInteractionProviderNode () override
 Destructor. More...
 
std::string getID () const override
 Returns the id string for identifying the provider (and its actions) - this is usually the name of the scene node. More...
 
void objRef () override
 Memory management by reference counting; must be implemented in derived classes. More...
 
void objUnref () override
 
- Public Member Functions inherited from SoInteractionOwner
 SoInteractionOwner ()
 Default constructor. More...
 
 ~SoInteractionOwner () override
 The destructor will destroy all interactions created with this object as owner. More...
 
std::list< SoInteraction * > getInteractions (SoState *state) override
 Returns the list of all interactions of this provider. More...
 
void pointerPosition (SoState *state, const SoPointerPosition &pos) override
 Same as below, with additional SoState argument. Be defaults simply calls the below version. More...
 
void pointerLeftWindow (SoState *state) override
 Same as below, with additional SoState argument. Be defaults simply calls the below version. More...
 
void addListener (SoInteractionOwnerListenerInterface *listener)
 Add a listener object that is notified of changes in the interaction list. More...
 
void removeListener (SoInteractionOwnerListenerInterface *listener)
 Remove a listener object that was notified of changes in the interaction list. More...
 
- Public Member Functions inherited from SoInteractionProvider
 SoInteractionProvider ()
 Default constructor. More...
 
virtual ~SoInteractionProvider ()
 
template<class T >
std::list< T * > getInteractionsOfType (SoState *state)
 Returns list of interactions of a specific type: More...
 
virtual std::list< SoCommandAction * > getCommandActions (SoState *state)
 
virtual std::list< SoPointingAction * > getPointingActions (SoState *state)
 
virtual std::list< SoOffsetAction * > getOffsetActions (SoState *state)
 
- Public Member Functions inherited from SoView2DCSOEditorBase
 SoView2DCSOEditorBase ()
 Default constructor. More...
 
void setUpVisualization (ml::CSOList *csoList, ml::CSO *cso, const CSOEditorState &editorState, ml::StylePalette *stylePalette, CSOVisualParameters &visualParameters)
 Sets up CSO visualization parameters for the given CSO. More...
 
int getStylePaletteIndex (const ml::CSO *cso, ml::StylePalette *stylePalette) const
 Returns the index into the StylePalette depending on the module's settings. More...
 
int evaluateHitPoint (View2DSliceList *slicelist, const ml::Vector3 &currentHitPoint, const ml::CSOList *csoList, const std::string &editorId, const ml::CSOBoundingBox &slabBB, int pickingMode, ml::CSO *&hitCSO, ml::CSOSeedPoint *&hitSeedPoint, ml::CSOPathPoints *&hitPathPoints, float &distance)
 Checks for hits of the given point with a CSO and returns the hit mode. More...
 
bool isEditable (const ml::CSO *cso, View2DSliceList *slicelist, int currentSlice) const
 Returns whether the given CSO is editable. More...
 
virtual int getTimePoint (View2DSliceList *slicelist, int slice) const
 Returns the current timepoint which is either the actual shown timepoint or the timepoint overwritten by the field overwriteTimePoint; The slice parameter is not used in the standard implementation but can be necessary in derived classes. More...
 
bool shouldSkipCSOOnSlice (ml::CSO *cso, View2DSliceList *slicelist, int z)
 Returns whether the given CSO should be skipped (rendering, interacting with) on the given slice. More...
 
bool getHitCoordinates (View2DSliceList *slicelist, View2DEvent *ec, const ml::CSOBoundingBox &slabBB, ml::Vector3 &hitPoint)
 Fills up a hit point with world coordinates and returns true if the image was hit. More...
 
void setUpIcons ()
 Sets up the internal icon list from an external icon file. More...
 
void drawSeedPoints (CSOVisualParameters &visualParameters, const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, ml::CSOSeedPoint *underCursorSeedPoint, SoView2DExtension *extension, bool useIcons) const
 Renders seed points of the given CSO. More...
 
void drawSeedPoints (CSOVisualParameters &visualParameters, ml::CSO *cso, const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, ml::CSOSeedPoint *underCursorSeedPoint, SoView2DExtension *extension, bool useIcons) const
 \old Renders seed points of the given CSO. More...
 

Static Public Member Functions

static void initClass ()
 Initialization of inventor stuff. More...
 
- Static Public Member Functions inherited from SoView2DExtension
static void initClass ()
 Initializes this class. More...
 
static float snapToPixelCenter (float coordinateComponent)
 Snaps the coordinate component to the pixel center. More...
 
static void fieldChangedCB (void *data, SoSensor *sensor)
 inventor callbacks if any field has changed, calls fieldChanged More...
 
static bool isImageParallel (SoSFMLImage *image, View2DSliceList *dsl)
 Return true if image is parallel to the image of the slice list up to slice thickness. More...
 
static void enableLineStippling (const SoSFEnum &lineStyleField)
 Set/reset stippling pattern. More...
 
static void disableLineStippling (const SoSFEnum &lineStyleField)
 
static void getAxisOrientation (int axis, SbMatrix &matrix, char &negativeResult, char &positiveResult)
 Geometry helpers. More...
 
static float pointToLineDistance (SbVec3f point, SbVec3f line1, SbVec3f line2)
 calculate 3D point to line distance More...
 
static float pointToLineDistance (SbVec2f point, SbVec2f line1, SbVec2f line2)
 calculate 2D point to line distance More...
 
static Sign edgeIntersectWithPlane (const SbVec3f &v1, const SbVec3f &v2, const SbPlane &plane, SbVec3f &intersect)
 intersect given edge from v1 to v2 with given plane, returns sign and intersect point More...
 
- Static Public Member Functions inherited from SoInteractionProviderNode
static void initClass ()
 Initializes this class. More...
 
- Static Public Member Functions inherited from SoInteractionProvider
static void registerInteractionProviderNode (SoType type, GetProviderFunc func)
 Register a function to obtain a SoInteractionProvider from a SoNode. More...
 
static SoInteractionProvidergetInteractionProvider (SoNode *node)
 Get a SoInteractionProvider from a SoNode if registered, else NULL. More...
 

Public Attributes

SoSFMLBase inCSOList
 Base input node: the CSOList. More...
 
SoSFMLBase inProcessor
 Base input node: a processor modules that evaluates interaction events and interpolates the contours accordingly. More...
 
SoSFMLBase inStylePalette
 Input of a style palette. More...
 
SoSFEnum generalInteractionMode
 The general interaction mode: edit or move. More...
 
SoSFEnum generalInteractionModeToggleKey
 The modifier key that can toggle the general interaction mode. More...
 
SoSFBool movingOn
 If checked, moving in general is allowed. More...
 
SoSFBool selectGroupsParsProToto
 If checked, the module selects all Groups the just selected CSO is in as well. More...
 
SoSFBool setPastedCSOsSelected
 If checked, all pasted CSOs will be set as selected (and the previous selection will be cleared). More...
 
SoSFBool combinePastedCSOsToGroupsOfOriginalCSOs
 If checked, all pasted CSOs will be associated to all CSOGroups of the original CSOs. More...
 
SoSFEnum forceStartNewCSOKeyModifier
 (Modifier): If this key is pressed, a new contour is started, even if the first hit point is in the vicinity of an existing CSO (no editing of the existing CSO is triggered). More...
 
SoSFEnum forceStartNewCSOKey
 If this key is pressed, a new contour is started, even if the first hit point is in the vicinity of an existing CSO (no editing of the existing CSO is triggered). More...
 
SoSFBool shouldNotifyItself
 Should the module be able to notify itself? More...
 
SoSFBool shouldListenToRepaintEvents
 Should the module touch itself on repaint events? More...
 
SoSFBool shouldListenToSelectionChangedEvents
 Should the module touch itself on selection change events? More...
 
SoSFBool shouldListenToFinishedEvents
 Should the module touch itself on finished events? More...
 
SoSFBool shouldLimitCSOMovement
 Should the moving of CSOs be limited at the border of an image? More...
 
SoSFFloat moveRatio
 Sets the ratio of the selected CSO that need to be in the image for them to be able to be moved. More...
 
SoSFBool useAntiAliasing
 Should the CSO be rendered with anti aliasing? More...
 
SoSFBool useInterpolationTargetColor
 Shall the target interpolation color be used? More...
 
SoSFColor interpolationTargetColor
 The target color for positionValue interpolation. More...
 
SoSFBool showCSOsOnAllTimePoints
 Should the CSOs be shown on all time points of an image? More...
 
SoSFBool overwriteCurrentTimePoint
 Should the current time point be overwritten? More...
 
SoSFInt32 newCurrentTimePoint
 Sets the new current time point. More...
 
SoSFBool showBoundingBox
 Should the bounding box of a CSO be displayed? More...
 
SoSFFloat boundingBoxAlpha
 The alpha value of the bounding box. More...
 
SoSFColor boundingBoxColor
 The color of the bounding boxes. More...
 
SoSFBool showOnlyParallelCSOs
 Shows only CSOs that are parallel to the current viewing plane if checked. More...
 
SoSFFloat showParallelThickness
 Defines the thickness of a point cloud in which all points should be in the test of being parallel to the slice. More...
 
SoSFBool shouldLevelCSO
 Should the last generated / edited CSO be automatically leveled? More...
 
SoSFEnum ghostMode
 Defines the ghost mode. (Seeing the contour on a slice being further away.) More...
 
SoSFEnum ghostUnitMode
 Defines the ghost unit mode. (ghostDepth in mm or slices.) More...
 
SoSFBool ghostStyleAlpha
 Defines the ghost style alpha. More...
 
SoSFBool ghostStyleStipple
 Defines the ghost style stipple. More...
 
SoSFBool ghostStyleLineWidth
 Defines the ghost style line width. More...
 
SoSFBool ghostStyleBrighten
 Defines the ghost style line brighten. More...
 
SoSFFloat ghostDepth
 Defines the ghost depth. More...
 
SoSFFloat ghostFadeOutAlpha
 Defines the ghost fade out alpha (default is 0). If it is greater than 0, CSOs are drawn completely. More...
 
SoSFBool useTessellation
 Shall the CSOs be tessellated? More...
 
SoSFBool showSeedPoints
 Shall seed points be drawn? More...
 
SoSFBool usePathPointColorForSeedPoints
 Shall the seed points have the same color as the path points? More...
 
SoSFBool useHoleCorrection
 Shall inner CSOs lead to holes in the rendering? More...
 
SoSFBool useHoleCorrectionForGroupsOnly
 Shall the hole correction only be applied to CSOs of one group? More...
 
SoSFEnum tessellationColorMode
 Color mode for the tessellation. More...
 
SoSFColor tessellationColor
 Color for tessellation (if not as CSO). More...
 
SoSFFloat tessellationAlpha
 Alpha value for tessellation (multiplies with the CSO's alpha no matter what tessellation color mode). More...
 
SoSFEnum tessellationWindingRule
 Sets the winding rule for tessellation. More...
 
SoSFFloat globalAlphaFactor
 A factor multiplied to the alpha values of each path point and each seed point. More...
 
SoSFBool useFillingFromSide
 Shall the CSOs' filling be shown from the side? More...
 
SoSFEnum fillingFromSideLineWidthMode
 Defines the mode for setting the line width of side fillings. More...
 
SoSFFloat fillingFromSideManualLineWidthX
 Sets the x-width of the virtual voxel in mm. More...
 
SoSFFloat fillingFromSideManualLineWidthY
 Sets the y-width of the virtual voxel in mm. More...
 
SoSFBool overwriteSelectionVisualizationSettings
 Shall the visualization settings be used instead of the CSOManagers settings? More...
 
SoSFEnum selectionColoringMode
 Adjusts the selection coloring mode (brighten / fixed color). More...
 
SoSFColor selectionFixedColor
 Sets the color for the selection color (deprecatedName: selectionFallbackColor). More...
 
SoSFFloat selectionBrightenColor
 Sets the brighten value for the selection color. More...
 
SoSFEnum selectionLineWidthMode
 Adjusts the selection line width mode (widen / fixed width). More...
 
SoSFFloat selectionFixedLineWidth
 Sets the line width for the selection line width. More...
 
SoSFFloat selectionWidenLineWidth
 Sets the widen value for the selection line width (deprecatedName: selectionFallbackWidth). More...
 
SoSFEnum selectedSeedPointColoringMode
 Adjusts the coloring mode for the selected seed point (brighten / fixed color). More...
 
SoSFColor selectedSeedPointFixedColor
 Sets the color for the selected seed point. More...
 
SoSFFloat selectedSeedPointBrightenColor
 Sets the brighten value for the color of the selected seed point. More...
 
SoSFFloat selectedSeedPointAlpha
 Sets the alpha for the selected seed point. More...
 
SoSFEnum selectedSeedPointSizeMode
 Adjusts the selected seed point size mode (enlarge / fixed size). More...
 
SoSFFloat selectedSeedPointSize
 Sets the size for the selected seed point. More...
 
SoSFFloat selectedSeedPointEnlargeSize
 Sets the enlarge value for the size of the selected seed point. More...
 
SoSFBool shouldOnlyInteractWithSelectedCSO
 
SoSFBool enableMouseOverHighlighting
 Activates the mouse-over highlighting. More...
 
SoSFEnum mouseOverColorMode
 Sets the mouse-over highlighting color mode (brighten or fixed). More...
 
SoSFFloat mouseOverColorBrightenValue
 Sets the mouse-over highlighting brighten amount. More...
 
SoSFColor mouseOverColorColor
 Sets the mouse-over highlighting fixed color. More...
 
SoSFEnum mouseOverLineWidthMode
 Sets the mouse-over highlighting line width mode (widen or fixed). More...
 
SoSFFloat mouseOverLineWidthWidenValue
 Sets the mouse-over highlighting line widen amount. More...
 
SoSFFloat mouseOverLineWidthLineWidth
 Sets the mouse-over highlighting line fixed width. More...
 
SoSFInt32 currentlyUnderMouseCursorCSOId
 Provides id of the CSO currently under mouse. More...
 
SoSFBool highlightSelectedGroups
 Should the module highlight all CSOs that are in selected Groups? More...
 
SoSFBool useStylePalette
 Should a style palette be used for adjusting display options if one is attached? More...
 
SoSFEnum stylePaletteUseIndexAs
 Defines the use of style palette indices (CSO / Group). More...
 
SoSFEnum labelShowMode
 Field for setting the label show mode. More...
 
SoSFBool combineLabelsForGroupsOnSlice
 Shall only one label per group for all CSOs of that group on a slice be shown? More...
 
SoSFEnum labelUnitScale
 Field for adjusting the label's unit scale (for length and area). More...
 
SoSFBool showLabelUnits
 Shall the units be shown? (for length and area). More...
 
SoSFEnum labelAlignmentMode
 Field for adjusting the label alignment mode. More...
 
SoSFFloat labelFontSize
 Field for adjusting the font size. More...
 
SoSFBool labelUseTextShadow
 Field for toggling text shadow on/off for labels. More...
 
SoSFFloat labelMarginX
 Field for adjusting the x-margin of the label alignment. More...
 
SoSFFloat labelMarginY
 Field for adjusting the y-margin of the label alignment. More...
 
SoSFColor generalLabelColor
 Field for adjusting the label color. More...
 
SoSFFloat generalLabelAlpha
 Field for adjusting the label alpha. More...
 
SoSFEnum labelColorMode
 Field for adjusting the label color mode (as CSO / general). More...
 
SoSFBool useIconFile
 Shall the icon file be used? More...
 
SoSFString iconFile
 The external icon file name. This field is used to hold a initial value with a path variable; the real path is set to internalIconFile by some MDL function. More...
 
SoSFString internalIconFile
 The internal icon file name. This field is filled by some MDL function (expand path). More...
 
SoSFEnum cutCopyKeyModifier
 Field for adjusting the keyboard modifier for the cut&copy operation. More...
 
SoSFEnum copyKeyModifier
 Field for adjusting the keyboard modifier for the copy operation. More...
 
SoSFEnum pasteKeyModifier
 Field for adjusting the keyboard modifier for the paste operation. More...
 
SoSFEnum undoKeyModifier
 Field for adjusting the keyboard modifier for the undo operation. More...
 
SoSFEnum redoKeyModifier
 Field for adjusting the keyboard modifier for the redo operation. More...
 
SoSFEnum deleteSeedPointKeyModifier
 Field for adjusting the keyboard modifier for the delete seed point operation. More...
 
SoSFEnum deleteCSOKeyModifier
 Field for adjusting the keyboard modifier for the delete CSO operation. More...
 
SoSFEnum multiSelectionKeyModifier
 Field for adjusting the keyboard modifier for multi-selections. More...
 
SoSFBool enableMultiSelection
 Field for enabling/disabling multi selection. More...
 
SoSFEnum cutCopyKey
 Field for adjusting the key for the cut&copy operation. More...
 
SoSFEnum copyKey
 Field for adjusting the key for the copy operation. More...
 
SoSFEnum pasteKey
 Field for adjusting the key for the paste operation. More...
 
SoSFEnum undoKey
 Field for adjusting the key for the undo operation. More...
 
SoSFEnum redoKey
 Field for adjusting the key for the redo operation. More...
 
SoSFEnum deleteSeedPointKey
 Field for adjusting the key for the delete seed point operation. More...
 
SoSFEnum deleteCSOKey
 Field for adjusting the key for the delete CSO operation. More...
 
SoSFTrigger triggerCutCopy
 Trigger for the Cut&Copy operation. More...
 
SoSFTrigger triggerCopy
 Trigger for the Copy operation. More...
 
SoSFTrigger triggerPaste
 Trigger for the Paste operation. More...
 
SoSFString keyConfigurationStatus
 Field displays the status of the key/key modifier configuration. More...
 
SoSFBool shouldUpdateInteractionStateAndCSOId
 Should the next interaction and the current CSO id under the cursor be updated on each interaction? More...
 
SoSFBool shouldTouchItselfInEvalEvent
 Should the module touch itself in the evalEvent method? More...
 
SoSFEnum nextInteractionStatus
 Field for displaying the status of the (next) interaction. More...
 
- Public Attributes inherited from SoView2DExtension
SoSFColor color
 color that should be used for drawing More...
 
SoSFBool drawingOn
 flag if the extension should draw, needs to be checked inside of the draw() method More...
 
SoSFBool editingOn
 flag if the extension should edit objects on mouse events, needs to be checked inside of the evalEvent() method More...
 
SoSFBool maskValid
 flag if the event mask is valid. More...
 
SoSFFloat selectionTolerance
 the selection tolerance in pixels More...
 
SoSFBool wantsAllEvents
 flag if ALL events should be passed to evalEvent(), if disabled, events are only passed to evalEvent when the mouse mask gets valid More...
 
SoSFBool wantsKeyEvents
 flag if keyboard events should be passed to evalEvent() More...
 
SoSFBool wantsMouseWheelEvents
 flag if MouseWheel events should be passed to evalEvent() More...
 
SoSFBool setEventHandled
 Set event handled if it is indeed handled by this extension. More...
 
SoSFBool ignoreHandledEvents
 Ignore events, that have been handled by previous extensions. More...
 
SoSFEnum button1
 mouse mask for button1 More...
 
SoSFEnum button2
 mouse mask for button2 More...
 
SoSFEnum button3
 mouse mask for button3 More...
 
SoSFEnum shift
 shift modifier for mouse mask More...
 
SoSFEnum control
 shift control for mouse mask More...
 
SoSFEnum alt
 shift alt for mouse mask More...
 
SoSFBool needsValidVoxel
 sets if a valid voxel must be hit to get evalEvent() calls More...
 
SoSFBool renderOnSlab
 defines if the extension should be rendered on all slab slices More...
 
SoSFBool createNewMode
 flag if extension is in createNewMode More...
 
SoSFTrigger createNewModeRequest
 
SoSFBool clipToSlice
 Flag to clip drawing to slice. More...
 
SoSFEnum cursorShape
 Set cursor shape if the mouse mask fits and mouseEvents are effectively sent to evalEvent for editing. More...
 
SoSFBool fixZOn
 DEPRECATED flag that indicates that the extension should fix the z value, only used in SoView2DRectangle. More...
 
- Public Attributes inherited from SoInteractionProviderNode
SoSFString instanceName
 Defines interface field to store the instance name. More...
 
SoSFString interactionProviderID
 This field overrides the instanceName as providerID if specified. More...
 

Protected Member Functions

 ~SoView2DCSOEditor () override
 Standard destructor. More...
 
void draw (View2DSliceList *slicelist, View2DSlice *, int z) override
 Drawing on slices. More...
 
bool evalEvent (SoView2D *view2d, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase) override
 Event handling. More...
 
- Protected Member Functions inherited from SoView2DExtension
virtual void editingOnChanged (SoField *)
 called when editingOn field is touched: More...
 
virtual void buttonMaskChanged (SoField *)
 called when one of the button/modifier fields is touched: More...
 
virtual void createNewModeRequestTriggered (SoField *)
 called when createNewModeRequest field ist touched: More...
 
 ~SoView2DExtension () override
 destructor More...
 
void GLRender (SoGLRenderAction *action) override
 Inventor actions. More...
 
void callback (SoCallbackAction *action) override
 
void handleEvent (SoHandleEventAction *action) override
 
void getMatrix (SoGetMatrixAction *action) override
 
void getBoundingBox (SoGetBoundingBoxAction *action) override
 
void pick (SoPickAction *action) override
 
void doAction (SoAction *action) override
 
- Protected Member Functions inherited from SoInteractionOwner
virtual void pointerPosition (const SoPointerPosition &)
 Override this if you always need to be informed of the current mouse cursor position. More...
 
virtual void pointerLeftWindow ()
 This is called when the mouse cursor leaves the window. More...
 
bool hasInteractions () const
 Returns whether there are any actions defined by this owner. More...
 
template<class T >
bool hasInteractionsOfType () const
 Same as above, but asking for a specific type of interaction. More...
 
void addPointingAction (SoPointingAction *)
 
void addCommandAction (SoCommandAction *)
 
void addOffsetAction (SoOffsetAction *)
 
- Protected Member Functions inherited from SoView2DCSOEditorBase
virtual ~SoView2DCSOEditorBase ()
 Destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from SoView2DExtension
SoNodeSensor * _nodeSensor
 node sensor that is used to notice field changes More...
 
float _rgbColor [4]
 Color of the object, update on each field change by _nodeSensor. More...
 
bool _wantsMouseOverUpdateEvents
 set this flag to receive mouse over events while the extension is active More...
 
- Protected Attributes inherited from SoView2DCSOEditorBase
View2DIcons_icons
 A pointer to the 2D icons. More...
 

Detailed Description

Provides 2D drawing and interaction for the contour segmentation objects.

Definition at line 59 of file SoView2DCSOEditor.h.

Member Enumeration Documentation

◆ EDITING_OPERATION_KEYBOARD_MODIFIERS

Enumeration of the keyboard modifiers for editing operations.

Enumerator
EDIT_OP_KEY_MOD_NONE 

Edit operation keyboard modifier: NONE pressed.

EDIT_OP_KEY_MOD_ALT 

Edit operation keyboard modifier: ALT pressed.

EDIT_OP_KEY_MOD_CONTROL 

Edit operation keyboard modifier: CONTROL pressed.

EDIT_OP_KEY_MOD_SHIFT 

Edit operation keyboard modifier: SHIFT pressed.

Definition at line 101 of file SoView2DCSOEditor.h.

◆ EDITING_OPERATION_KEYS

Enumeration of the keys for editing operations.

Enumerator
EDIT_OP_KEY_A 
EDIT_OP_KEY_B 
EDIT_OP_KEY_C 
EDIT_OP_KEY_D 
EDIT_OP_KEY_E 
EDIT_OP_KEY_F 
EDIT_OP_KEY_G 
EDIT_OP_KEY_H 
EDIT_OP_KEY_I 
EDIT_OP_KEY_J 
EDIT_OP_KEY_K 
EDIT_OP_KEY_L 
EDIT_OP_KEY_M 
EDIT_OP_KEY_N 
EDIT_OP_KEY_O 
EDIT_OP_KEY_P 
EDIT_OP_KEY_Q 
EDIT_OP_KEY_R 
EDIT_OP_KEY_S 
EDIT_OP_KEY_T 
EDIT_OP_KEY_U 
EDIT_OP_KEY_V 
EDIT_OP_KEY_W 
EDIT_OP_KEY_X 
EDIT_OP_KEY_Y 
EDIT_OP_KEY_Z 
EDIT_OP_KEY_SPACE 
EDIT_OP_KEY_ENTER 
EDIT_OP_KEY_DELETE 
EDIT_OP_KEY_BCKSPC 

Definition at line 110 of file SoView2DCSOEditor.h.

◆ INTERACTION_MODES

Enumeration of the interaction modes.

Enumerator
INTERACTION_MODE_EDIT 

On click, a contour can be edited.

INTERACTION_MODE_MOVE 

On click, a contour is selected for moving.

Definition at line 83 of file SoView2DCSOEditor.h.

◆ LABEL_ALIGNMENT_MODES

Enumeration of the label alignment.

Enumerator
LABEL_ALIGN_TOP_LEFT 

Alignment of labels: top left (on axial slices).

LABEL_ALIGN_TOP_RIGHT 

Alignment of labels: top right (on axial slices).

LABEL_ALIGN_BOTTOM_LEFT 

Alignment of labels: bottom left (on axial slices).

LABEL_ALIGN_BOTTOM_RIGHT 

Alignment of labels: bottom right (on axial slices).

LABEL_ALIGN_TOP 

Alignment of labels: top (on axial slices).

LABEL_ALIGN_BOTTOM 

Alignment of labels: bottom (on axial slices).

LABEL_ALIGN_LEFT 

Alignment of labels: left (on axial slices).

LABEL_ALIGN_RIGHT 

Alignment of labels: right (on axial slices).

LABEL_ALIGN_CENTER 

Alignment of labels: center (on axial slices).

Definition at line 325 of file SoView2DCSOEditor.h.

◆ LABEL_SHOW_MODES

Enumeration of the label show modes.

Enumerator
LABEL_SHOW_NONE 

Show no label at all.

LABEL_SHOW_CSO_LABEL 

Shows the CSO labels as labels.

LABEL_SHOW_CSO_DESCRIPTION 

Shows the CSO descriptions as labels.

LABEL_SHOW_CSO_ID 

Shows the CSO ids as labels.

LABEL_SHOW_CSO_INDEX 

Shows the CSO indices as labels.

LABEL_SHOW_GROUP_LABEL 

Shows the Group labels as labels.

LABEL_SHOW_GROUP_DESCRIPTION 

Shows the Group descriptions as labels.

LABEL_SHOW_GROUP_ID 

Shows the Group ids as labels.

LABEL_SHOW_GROUP_INDEX 

Shows the Group indices as labels.

LABEL_SHOW_CSO_LENGTH 

Shows the CSOs' lengths as labels.

LABEL_SHOW_CSO_AREA 

Shows the CSOs' areas as labels.

Definition at line 302 of file SoView2DCSOEditor.h.

◆ LABEL_UNITS_SCALES

Enumeration of unit scales.

Enumerator
LABEL_UNIT_SCALE_MM 

Unit scale: mm.

LABEL_UNIT_SCALE_CM 

Unit scale: cm.

LABEL_UNIT_SCALE_M 

Unit scale: m.

Definition at line 339 of file SoView2DCSOEditor.h.

◆ TOGGLE_MODE_KEYS

Enumeration of the keyboard modifiers to use for toggling seed point / whole CSO interaction.

Enumerator
TOGGLE_MODE_NONE 

Edit/Move modes can not be toggled by holding a keyboard modifier.

TOGGLE_MODE_ALT 

Edit/Move mode is toggled by pressing ALT.

TOGGLE_MODE_CONTROL 

Edit/Move mode is toggled by pressing CONTROL.

TOGGLE_MODE_SHIFT 

Edit/Move mode is toggled by pressing SHIFT.

Definition at line 90 of file SoView2DCSOEditor.h.

◆ WINDING_RULES

Enumerator
WR_ODD 
WR_NONZERO 
WR_POSITIVE 
WR_NEGATIVE 
WR_ABS_GEQ_TWO 

Definition at line 267 of file SoView2DCSOEditor.h.

Constructor & Destructor Documentation

◆ SoView2DCSOEditor()

SoView2DCSOEditor::SoView2DCSOEditor ( )

Standard constructor.

◆ ~SoView2DCSOEditor()

SoView2DCSOEditor::~SoView2DCSOEditor ( )
overrideprotected

Standard destructor.

Member Function Documentation

◆ draw()

void SoView2DCSOEditor::draw ( View2DSliceList slicelist,
View2DSlice ,
int  z 
)
overrideprotectedvirtual

Drawing on slices.

Reimplemented from SoView2DExtension.

◆ evalEvent()

bool SoView2DCSOEditor::evalEvent ( SoView2D view2d,
View2DSliceList slicelist,
View2DEvent ec,
View2DEventPhase  phase 
)
overrideprotectedvirtual

Event handling.

Reimplemented from SoView2DExtension.

◆ initClass()

static void SoView2DCSOEditor::initClass ( )
static

Initialization of inventor stuff.

Member Data Documentation

◆ boundingBoxAlpha

SoSFFloat SoView2DCSOEditor::boundingBoxAlpha

The alpha value of the bounding box.

Definition at line 177 of file SoView2DCSOEditor.h.

◆ boundingBoxColor

SoSFColor SoView2DCSOEditor::boundingBoxColor

The color of the bounding boxes.

Definition at line 179 of file SoView2DCSOEditor.h.

◆ combineLabelsForGroupsOnSlice

SoSFBool SoView2DCSOEditor::combineLabelsForGroupsOnSlice

Shall only one label per group for all CSOs of that group on a slice be shown?

Definition at line 322 of file SoView2DCSOEditor.h.

◆ combinePastedCSOsToGroupsOfOriginalCSOs

SoSFBool SoView2DCSOEditor::combinePastedCSOsToGroupsOfOriginalCSOs

If checked, all pasted CSOs will be associated to all CSOGroups of the original CSOs.

Definition at line 136 of file SoView2DCSOEditor.h.

◆ copyKey

SoSFEnum SoView2DCSOEditor::copyKey

Field for adjusting the key for the copy operation.

Definition at line 398 of file SoView2DCSOEditor.h.

◆ copyKeyModifier

SoSFEnum SoView2DCSOEditor::copyKeyModifier

Field for adjusting the keyboard modifier for the copy operation.

Definition at line 380 of file SoView2DCSOEditor.h.

◆ currentlyUnderMouseCursorCSOId

SoSFInt32 SoView2DCSOEditor::currentlyUnderMouseCursorCSOId

Provides id of the CSO currently under mouse.

Definition at line 291 of file SoView2DCSOEditor.h.

◆ cutCopyKey

SoSFEnum SoView2DCSOEditor::cutCopyKey

Field for adjusting the key for the cut&copy operation.

Definition at line 396 of file SoView2DCSOEditor.h.

◆ cutCopyKeyModifier

SoSFEnum SoView2DCSOEditor::cutCopyKeyModifier

Field for adjusting the keyboard modifier for the cut&copy operation.

Definition at line 378 of file SoView2DCSOEditor.h.

◆ deleteCSOKey

SoSFEnum SoView2DCSOEditor::deleteCSOKey

Field for adjusting the key for the delete CSO operation.

Definition at line 408 of file SoView2DCSOEditor.h.

◆ deleteCSOKeyModifier

SoSFEnum SoView2DCSOEditor::deleteCSOKeyModifier

Field for adjusting the keyboard modifier for the delete CSO operation.

Definition at line 390 of file SoView2DCSOEditor.h.

◆ deleteSeedPointKey

SoSFEnum SoView2DCSOEditor::deleteSeedPointKey

Field for adjusting the key for the delete seed point operation.

Definition at line 406 of file SoView2DCSOEditor.h.

◆ deleteSeedPointKeyModifier

SoSFEnum SoView2DCSOEditor::deleteSeedPointKeyModifier

Field for adjusting the keyboard modifier for the delete seed point operation.

Definition at line 388 of file SoView2DCSOEditor.h.

◆ enableMouseOverHighlighting

SoSFBool SoView2DCSOEditor::enableMouseOverHighlighting

Activates the mouse-over highlighting.

Definition at line 277 of file SoView2DCSOEditor.h.

◆ enableMultiSelection

SoSFBool SoView2DCSOEditor::enableMultiSelection

Field for enabling/disabling multi selection.

Definition at line 394 of file SoView2DCSOEditor.h.

◆ fillingFromSideLineWidthMode

SoSFEnum SoView2DCSOEditor::fillingFromSideLineWidthMode

Defines the mode for setting the line width of side fillings.

Definition at line 229 of file SoView2DCSOEditor.h.

◆ fillingFromSideManualLineWidthX

SoSFFloat SoView2DCSOEditor::fillingFromSideManualLineWidthX

Sets the x-width of the virtual voxel in mm.

Definition at line 231 of file SoView2DCSOEditor.h.

◆ fillingFromSideManualLineWidthY

SoSFFloat SoView2DCSOEditor::fillingFromSideManualLineWidthY

Sets the y-width of the virtual voxel in mm.

Definition at line 233 of file SoView2DCSOEditor.h.

◆ forceStartNewCSOKey

SoSFEnum SoView2DCSOEditor::forceStartNewCSOKey

If this key is pressed, a new contour is started, even if the first hit point is in the vicinity of an existing CSO (no editing of the existing CSO is triggered).

Definition at line 142 of file SoView2DCSOEditor.h.

◆ forceStartNewCSOKeyModifier

SoSFEnum SoView2DCSOEditor::forceStartNewCSOKeyModifier

(Modifier): If this key is pressed, a new contour is started, even if the first hit point is in the vicinity of an existing CSO (no editing of the existing CSO is triggered).

Definition at line 139 of file SoView2DCSOEditor.h.

◆ generalInteractionMode

SoSFEnum SoView2DCSOEditor::generalInteractionMode

The general interaction mode: edit or move.

Definition at line 125 of file SoView2DCSOEditor.h.

◆ generalInteractionModeToggleKey

SoSFEnum SoView2DCSOEditor::generalInteractionModeToggleKey

The modifier key that can toggle the general interaction mode.

Definition at line 127 of file SoView2DCSOEditor.h.

◆ generalLabelAlpha

SoSFFloat SoView2DCSOEditor::generalLabelAlpha

Field for adjusting the label alpha.

Definition at line 363 of file SoView2DCSOEditor.h.

◆ generalLabelColor

SoSFColor SoView2DCSOEditor::generalLabelColor

Field for adjusting the label color.

Definition at line 361 of file SoView2DCSOEditor.h.

◆ ghostDepth

SoSFFloat SoView2DCSOEditor::ghostDepth

Defines the ghost depth.

Definition at line 200 of file SoView2DCSOEditor.h.

◆ ghostFadeOutAlpha

SoSFFloat SoView2DCSOEditor::ghostFadeOutAlpha

Defines the ghost fade out alpha (default is 0). If it is greater than 0, CSOs are drawn completely.

Definition at line 202 of file SoView2DCSOEditor.h.

◆ ghostMode

SoSFEnum SoView2DCSOEditor::ghostMode

Defines the ghost mode. (Seeing the contour on a slice being further away.)

Definition at line 188 of file SoView2DCSOEditor.h.

◆ ghostStyleAlpha

SoSFBool SoView2DCSOEditor::ghostStyleAlpha

Defines the ghost style alpha.

Definition at line 192 of file SoView2DCSOEditor.h.

◆ ghostStyleBrighten

SoSFBool SoView2DCSOEditor::ghostStyleBrighten

Defines the ghost style line brighten.

Definition at line 198 of file SoView2DCSOEditor.h.

◆ ghostStyleLineWidth

SoSFBool SoView2DCSOEditor::ghostStyleLineWidth

Defines the ghost style line width.

Definition at line 196 of file SoView2DCSOEditor.h.

◆ ghostStyleStipple

SoSFBool SoView2DCSOEditor::ghostStyleStipple

Defines the ghost style stipple.

Definition at line 194 of file SoView2DCSOEditor.h.

◆ ghostUnitMode

SoSFEnum SoView2DCSOEditor::ghostUnitMode

Defines the ghost unit mode. (ghostDepth in mm or slices.)

Definition at line 190 of file SoView2DCSOEditor.h.

◆ globalAlphaFactor

SoSFFloat SoView2DCSOEditor::globalAlphaFactor

A factor multiplied to the alpha values of each path point and each seed point.

Definition at line 224 of file SoView2DCSOEditor.h.

◆ highlightSelectedGroups

SoSFBool SoView2DCSOEditor::highlightSelectedGroups

Should the module highlight all CSOs that are in selected Groups?

Definition at line 294 of file SoView2DCSOEditor.h.

◆ iconFile

SoSFString SoView2DCSOEditor::iconFile

The external icon file name. This field is used to hold a initial value with a path variable; the real path is set to internalIconFile by some MDL function.

Definition at line 369 of file SoView2DCSOEditor.h.

◆ inCSOList

SoSFMLBase SoView2DCSOEditor::inCSOList

Base input node: the CSOList.

Definition at line 69 of file SoView2DCSOEditor.h.

◆ inProcessor

SoSFMLBase SoView2DCSOEditor::inProcessor

Base input node: a processor modules that evaluates interaction events and interpolates the contours accordingly.

Definition at line 73 of file SoView2DCSOEditor.h.

◆ inStylePalette

SoSFMLBase SoView2DCSOEditor::inStylePalette

Input of a style palette.

Definition at line 75 of file SoView2DCSOEditor.h.

◆ internalIconFile

SoSFString SoView2DCSOEditor::internalIconFile

The internal icon file name. This field is filled by some MDL function (expand path).

Definition at line 371 of file SoView2DCSOEditor.h.

◆ interpolationTargetColor

SoSFColor SoView2DCSOEditor::interpolationTargetColor

The target color for positionValue interpolation.

Definition at line 167 of file SoView2DCSOEditor.h.

◆ keyConfigurationStatus

SoSFString SoView2DCSOEditor::keyConfigurationStatus

Field displays the status of the key/key modifier configuration.

Definition at line 418 of file SoView2DCSOEditor.h.

◆ labelAlignmentMode

SoSFEnum SoView2DCSOEditor::labelAlignmentMode

Field for adjusting the label alignment mode.

Definition at line 351 of file SoView2DCSOEditor.h.

◆ labelColorMode

SoSFEnum SoView2DCSOEditor::labelColorMode

Field for adjusting the label color mode (as CSO / general).

Definition at line 365 of file SoView2DCSOEditor.h.

◆ labelFontSize

SoSFFloat SoView2DCSOEditor::labelFontSize

Field for adjusting the font size.

Definition at line 353 of file SoView2DCSOEditor.h.

◆ labelMarginX

SoSFFloat SoView2DCSOEditor::labelMarginX

Field for adjusting the x-margin of the label alignment.

Definition at line 357 of file SoView2DCSOEditor.h.

◆ labelMarginY

SoSFFloat SoView2DCSOEditor::labelMarginY

Field for adjusting the y-margin of the label alignment.

Definition at line 359 of file SoView2DCSOEditor.h.

◆ labelShowMode

SoSFEnum SoView2DCSOEditor::labelShowMode

Field for setting the label show mode.

Definition at line 318 of file SoView2DCSOEditor.h.

◆ labelUnitScale

SoSFEnum SoView2DCSOEditor::labelUnitScale

Field for adjusting the label's unit scale (for length and area).

Definition at line 347 of file SoView2DCSOEditor.h.

◆ labelUseTextShadow

SoSFBool SoView2DCSOEditor::labelUseTextShadow

Field for toggling text shadow on/off for labels.

Definition at line 355 of file SoView2DCSOEditor.h.

◆ mouseOverColorBrightenValue

SoSFFloat SoView2DCSOEditor::mouseOverColorBrightenValue

Sets the mouse-over highlighting brighten amount.

Definition at line 281 of file SoView2DCSOEditor.h.

◆ mouseOverColorColor

SoSFColor SoView2DCSOEditor::mouseOverColorColor

Sets the mouse-over highlighting fixed color.

Definition at line 283 of file SoView2DCSOEditor.h.

◆ mouseOverColorMode

SoSFEnum SoView2DCSOEditor::mouseOverColorMode

Sets the mouse-over highlighting color mode (brighten or fixed).

Definition at line 279 of file SoView2DCSOEditor.h.

◆ mouseOverLineWidthLineWidth

SoSFFloat SoView2DCSOEditor::mouseOverLineWidthLineWidth

Sets the mouse-over highlighting line fixed width.

Definition at line 289 of file SoView2DCSOEditor.h.

◆ mouseOverLineWidthMode

SoSFEnum SoView2DCSOEditor::mouseOverLineWidthMode

Sets the mouse-over highlighting line width mode (widen or fixed).

Definition at line 285 of file SoView2DCSOEditor.h.

◆ mouseOverLineWidthWidenValue

SoSFFloat SoView2DCSOEditor::mouseOverLineWidthWidenValue

Sets the mouse-over highlighting line widen amount.

Definition at line 287 of file SoView2DCSOEditor.h.

◆ moveRatio

SoSFFloat SoView2DCSOEditor::moveRatio

Sets the ratio of the selected CSO that need to be in the image for them to be able to be moved.

Definition at line 155 of file SoView2DCSOEditor.h.

◆ movingOn

SoSFBool SoView2DCSOEditor::movingOn

If checked, moving in general is allowed.

Definition at line 129 of file SoView2DCSOEditor.h.

◆ multiSelectionKeyModifier

SoSFEnum SoView2DCSOEditor::multiSelectionKeyModifier

Field for adjusting the keyboard modifier for multi-selections.

Definition at line 392 of file SoView2DCSOEditor.h.

◆ newCurrentTimePoint

SoSFInt32 SoView2DCSOEditor::newCurrentTimePoint

Sets the new current time point.

Definition at line 173 of file SoView2DCSOEditor.h.

◆ nextInteractionStatus

SoSFEnum SoView2DCSOEditor::nextInteractionStatus

Field for displaying the status of the (next) interaction.

Definition at line 427 of file SoView2DCSOEditor.h.

◆ overwriteCurrentTimePoint

SoSFBool SoView2DCSOEditor::overwriteCurrentTimePoint

Should the current time point be overwritten?

Definition at line 171 of file SoView2DCSOEditor.h.

◆ overwriteSelectionVisualizationSettings

SoSFBool SoView2DCSOEditor::overwriteSelectionVisualizationSettings

Shall the visualization settings be used instead of the CSOManagers settings?

Definition at line 236 of file SoView2DCSOEditor.h.

◆ pasteKey

SoSFEnum SoView2DCSOEditor::pasteKey

Field for adjusting the key for the paste operation.

Definition at line 400 of file SoView2DCSOEditor.h.

◆ pasteKeyModifier

SoSFEnum SoView2DCSOEditor::pasteKeyModifier

Field for adjusting the keyboard modifier for the paste operation.

Definition at line 382 of file SoView2DCSOEditor.h.

◆ redoKey

SoSFEnum SoView2DCSOEditor::redoKey

Field for adjusting the key for the redo operation.

Definition at line 404 of file SoView2DCSOEditor.h.

◆ redoKeyModifier

SoSFEnum SoView2DCSOEditor::redoKeyModifier

Field for adjusting the keyboard modifier for the redo operation.

Definition at line 386 of file SoView2DCSOEditor.h.

◆ selectedSeedPointAlpha

SoSFFloat SoView2DCSOEditor::selectedSeedPointAlpha

Sets the alpha for the selected seed point.

Definition at line 257 of file SoView2DCSOEditor.h.

◆ selectedSeedPointBrightenColor

SoSFFloat SoView2DCSOEditor::selectedSeedPointBrightenColor

Sets the brighten value for the color of the selected seed point.

Definition at line 255 of file SoView2DCSOEditor.h.

◆ selectedSeedPointColoringMode

SoSFEnum SoView2DCSOEditor::selectedSeedPointColoringMode

Adjusts the coloring mode for the selected seed point (brighten / fixed color).

Definition at line 251 of file SoView2DCSOEditor.h.

◆ selectedSeedPointEnlargeSize

SoSFFloat SoView2DCSOEditor::selectedSeedPointEnlargeSize

Sets the enlarge value for the size of the selected seed point.

Definition at line 263 of file SoView2DCSOEditor.h.

◆ selectedSeedPointFixedColor

SoSFColor SoView2DCSOEditor::selectedSeedPointFixedColor

Sets the color for the selected seed point.

Definition at line 253 of file SoView2DCSOEditor.h.

◆ selectedSeedPointSize

SoSFFloat SoView2DCSOEditor::selectedSeedPointSize

Sets the size for the selected seed point.

Definition at line 261 of file SoView2DCSOEditor.h.

◆ selectedSeedPointSizeMode

SoSFEnum SoView2DCSOEditor::selectedSeedPointSizeMode

Adjusts the selected seed point size mode (enlarge / fixed size).

Definition at line 259 of file SoView2DCSOEditor.h.

◆ selectGroupsParsProToto

SoSFBool SoView2DCSOEditor::selectGroupsParsProToto

If checked, the module selects all Groups the just selected CSO is in as well.

Definition at line 131 of file SoView2DCSOEditor.h.

◆ selectionBrightenColor

SoSFFloat SoView2DCSOEditor::selectionBrightenColor

Sets the brighten value for the selection color.

Definition at line 242 of file SoView2DCSOEditor.h.

◆ selectionColoringMode

SoSFEnum SoView2DCSOEditor::selectionColoringMode

Adjusts the selection coloring mode (brighten / fixed color).

Definition at line 238 of file SoView2DCSOEditor.h.

◆ selectionFixedColor

SoSFColor SoView2DCSOEditor::selectionFixedColor

Sets the color for the selection color (deprecatedName: selectionFallbackColor).

Definition at line 240 of file SoView2DCSOEditor.h.

◆ selectionFixedLineWidth

SoSFFloat SoView2DCSOEditor::selectionFixedLineWidth

Sets the line width for the selection line width.

Definition at line 246 of file SoView2DCSOEditor.h.

◆ selectionLineWidthMode

SoSFEnum SoView2DCSOEditor::selectionLineWidthMode

Adjusts the selection line width mode (widen / fixed width).

Definition at line 244 of file SoView2DCSOEditor.h.

◆ selectionWidenLineWidth

SoSFFloat SoView2DCSOEditor::selectionWidenLineWidth

Sets the widen value for the selection line width (deprecatedName: selectionFallbackWidth).

Definition at line 248 of file SoView2DCSOEditor.h.

◆ setPastedCSOsSelected

SoSFBool SoView2DCSOEditor::setPastedCSOsSelected

If checked, all pasted CSOs will be set as selected (and the previous selection will be cleared).

Definition at line 134 of file SoView2DCSOEditor.h.

◆ shouldLevelCSO

SoSFBool SoView2DCSOEditor::shouldLevelCSO

Should the last generated / edited CSO be automatically leveled?

Definition at line 186 of file SoView2DCSOEditor.h.

◆ shouldLimitCSOMovement

SoSFBool SoView2DCSOEditor::shouldLimitCSOMovement

Should the moving of CSOs be limited at the border of an image?

Definition at line 152 of file SoView2DCSOEditor.h.

◆ shouldListenToFinishedEvents

SoSFBool SoView2DCSOEditor::shouldListenToFinishedEvents

Should the module touch itself on finished events?

Definition at line 150 of file SoView2DCSOEditor.h.

◆ shouldListenToRepaintEvents

SoSFBool SoView2DCSOEditor::shouldListenToRepaintEvents

Should the module touch itself on repaint events?

Definition at line 146 of file SoView2DCSOEditor.h.

◆ shouldListenToSelectionChangedEvents

SoSFBool SoView2DCSOEditor::shouldListenToSelectionChangedEvents

Should the module touch itself on selection change events?

Definition at line 148 of file SoView2DCSOEditor.h.

◆ shouldNotifyItself

SoSFBool SoView2DCSOEditor::shouldNotifyItself

Should the module be able to notify itself?

Definition at line 144 of file SoView2DCSOEditor.h.

◆ shouldOnlyInteractWithSelectedCSO

SoSFBool SoView2DCSOEditor::shouldOnlyInteractWithSelectedCSO

Definition at line 265 of file SoView2DCSOEditor.h.

◆ shouldTouchItselfInEvalEvent

SoSFBool SoView2DCSOEditor::shouldTouchItselfInEvalEvent

Should the module touch itself in the evalEvent method?

Definition at line 424 of file SoView2DCSOEditor.h.

◆ shouldUpdateInteractionStateAndCSOId

SoSFBool SoView2DCSOEditor::shouldUpdateInteractionStateAndCSOId

Should the next interaction and the current CSO id under the cursor be updated on each interaction?

Definition at line 422 of file SoView2DCSOEditor.h.

◆ showBoundingBox

SoSFBool SoView2DCSOEditor::showBoundingBox

Should the bounding box of a CSO be displayed?

Definition at line 175 of file SoView2DCSOEditor.h.

◆ showCSOsOnAllTimePoints

SoSFBool SoView2DCSOEditor::showCSOsOnAllTimePoints

Should the CSOs be shown on all time points of an image?

Definition at line 169 of file SoView2DCSOEditor.h.

◆ showLabelUnits

SoSFBool SoView2DCSOEditor::showLabelUnits

Shall the units be shown? (for length and area).

Definition at line 349 of file SoView2DCSOEditor.h.

◆ showOnlyParallelCSOs

SoSFBool SoView2DCSOEditor::showOnlyParallelCSOs

Shows only CSOs that are parallel to the current viewing plane if checked.

Definition at line 181 of file SoView2DCSOEditor.h.

◆ showParallelThickness

SoSFFloat SoView2DCSOEditor::showParallelThickness

Defines the thickness of a point cloud in which all points should be in the test of being parallel to the slice.

Definition at line 184 of file SoView2DCSOEditor.h.

◆ showSeedPoints

SoSFBool SoView2DCSOEditor::showSeedPoints

Shall seed points be drawn?

Definition at line 206 of file SoView2DCSOEditor.h.

◆ stylePaletteUseIndexAs

SoSFEnum SoView2DCSOEditor::stylePaletteUseIndexAs

Defines the use of style palette indices (CSO / Group).

Definition at line 299 of file SoView2DCSOEditor.h.

◆ tessellationAlpha

SoSFFloat SoView2DCSOEditor::tessellationAlpha

Alpha value for tessellation (multiplies with the CSO's alpha no matter what tessellation color mode).

Definition at line 220 of file SoView2DCSOEditor.h.

◆ tessellationColor

SoSFColor SoView2DCSOEditor::tessellationColor

Color for tessellation (if not as CSO).

Definition at line 218 of file SoView2DCSOEditor.h.

◆ tessellationColorMode

SoSFEnum SoView2DCSOEditor::tessellationColorMode

Color mode for the tessellation.

Definition at line 216 of file SoView2DCSOEditor.h.

◆ tessellationWindingRule

SoSFEnum SoView2DCSOEditor::tessellationWindingRule

Sets the winding rule for tessellation.

Definition at line 222 of file SoView2DCSOEditor.h.

◆ triggerCopy

SoSFTrigger SoView2DCSOEditor::triggerCopy

Trigger for the Copy operation.

Definition at line 413 of file SoView2DCSOEditor.h.

◆ triggerCutCopy

SoSFTrigger SoView2DCSOEditor::triggerCutCopy

Trigger for the Cut&Copy operation.

Definition at line 411 of file SoView2DCSOEditor.h.

◆ triggerPaste

SoSFTrigger SoView2DCSOEditor::triggerPaste

Trigger for the Paste operation.

Definition at line 415 of file SoView2DCSOEditor.h.

◆ undoKey

SoSFEnum SoView2DCSOEditor::undoKey

Field for adjusting the key for the undo operation.

Definition at line 402 of file SoView2DCSOEditor.h.

◆ undoKeyModifier

SoSFEnum SoView2DCSOEditor::undoKeyModifier

Field for adjusting the keyboard modifier for the undo operation.

Definition at line 384 of file SoView2DCSOEditor.h.

◆ useAntiAliasing

SoSFBool SoView2DCSOEditor::useAntiAliasing

Should the CSO be rendered with anti aliasing?

Definition at line 163 of file SoView2DCSOEditor.h.

◆ useFillingFromSide

SoSFBool SoView2DCSOEditor::useFillingFromSide

Shall the CSOs' filling be shown from the side?

Definition at line 226 of file SoView2DCSOEditor.h.

◆ useHoleCorrection

SoSFBool SoView2DCSOEditor::useHoleCorrection

Shall inner CSOs lead to holes in the rendering?

Definition at line 212 of file SoView2DCSOEditor.h.

◆ useHoleCorrectionForGroupsOnly

SoSFBool SoView2DCSOEditor::useHoleCorrectionForGroupsOnly

Shall the hole correction only be applied to CSOs of one group?

Definition at line 214 of file SoView2DCSOEditor.h.

◆ useIconFile

SoSFBool SoView2DCSOEditor::useIconFile

Shall the icon file be used?

Definition at line 367 of file SoView2DCSOEditor.h.

◆ useInterpolationTargetColor

SoSFBool SoView2DCSOEditor::useInterpolationTargetColor

Shall the target interpolation color be used?

Definition at line 165 of file SoView2DCSOEditor.h.

◆ usePathPointColorForSeedPoints

SoSFBool SoView2DCSOEditor::usePathPointColorForSeedPoints

Shall the seed points have the same color as the path points?

Definition at line 209 of file SoView2DCSOEditor.h.

◆ useStylePalette

SoSFBool SoView2DCSOEditor::useStylePalette

Should a style palette be used for adjusting display options if one is attached?

Definition at line 297 of file SoView2DCSOEditor.h.

◆ useTessellation

SoSFBool SoView2DCSOEditor::useTessellation

Shall the CSOs be tessellated?

Definition at line 204 of file SoView2DCSOEditor.h.


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