32 class CSOProcessorData;
virtual int getSelectionLineWidthMode() const =0
bool shouldSkipCSOOnSlice(ml::CSO *cso, View2DSliceList *slicelist, int z)
Returns whether the given CSO should be skipped (rendering, interacting with) on the given slice.
void setUpIcons()
Sets up the internal icon list from an external icon file.
virtual bool getShowSeedPoints() const =0
virtual SbColor getSelectedSeedPointFixedColor() const =0
virtual float getSelectedSeedPointSize() const =0
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.
virtual float getMouseOverLineWidthWidenValue() const =0
virtual float getMouseOverLineWidthLineWidth() const =0
virtual float getSelectedSeedPointBrightenColor() const =0
virtual float getSelectionTolerance() const =0
virtual bool getEnableMouseOverHighlighting() const =0
virtual SbColor getGeneralLabelColor() const =0
virtual int getSelectedSeedPointColoringMode() const =0
virtual int getStylePaletteUseIndexAs() const =0
virtual int getLabelColorMode() const =0
virtual int getTimePoint(View2DSliceList *slicelist, int slice) const
Returns the current timepoint which is either the actual shown timepoint or the timepoint overwritten...
virtual float getGlobalAlphaFactor() const =0
virtual bool getUsePathPointColorForSeedPoints() const =0
virtual bool getShowCSOsOnAllTimePoints() const =0
virtual SbColor getMouseOverColorColor() const =0
virtual bool getUseStylePalette() const =0
virtual ~SoView2DCSOEditorBase()
Destructor.
virtual bool getHighlightSelectedGroups() const =0
virtual SbColor getSelectionFixedColor() const =0
int evaluateHitPoint(View2DSliceList *slicelist, const ml::Vector3 ¤tHitPoint, 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.
virtual float getSelectionBrightenColor() const =0
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.
virtual float getSelectedSeedPointAlpha() const =0
virtual float getSelectedSeedPointEnlargeSize() const =0
virtual bool getShouldOnlyInteractWithSelectedCSO() const =0
pure virtual access methods to fields every editor needs to implement
virtual bool getUseIconFile() const =0
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.
virtual int getMouseOverLineWidthMode() const =0
virtual float getShowParallelThickness() const =0
virtual int getSelectedSeedPointSizeMode() const =0
int getStylePaletteIndex(const ml::CSO *cso, ml::StylePalette *stylePalette) const
Returns the index into the StylePalette depending on the module's settings.
virtual SbString getInternalIconFile() const =0
virtual float getSelectionFixedLineWidth() const =0
bool isEditable(const ml::CSO *cso, View2DSliceList *slicelist, int currentSlice) const
Returns whether the given CSO is editable.
virtual float getMouseOverColorBrightenValue() const =0
virtual bool getOverwriteCurrentTimePoint() const =0
virtual int getSelectionColoringMode() const =0
virtual bool getShowOnlyParallelCSOs() const =0
virtual bool getOverwriteSelectionVisualizationSettings() const =0
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.
SoView2DCSOEditorBase()
Default constructor.
virtual SbString getIconFile() const =0
virtual float getGeneralLabelAlpha() const =0
virtual int getNewCurrentTimePoint() const =0
virtual float getSelectionWidenLineWidth() const =0
virtual int getMouseOverColorMode() const =0
View2DIcons * _icons
A pointer to the 2D icons.
SoView2DExtension Base class for all View2DExtensions used for drawing and event handling on the View...
View2DEvent stores all information on an event on a SoView2D.
Defines and implements a class to store multiple images and draw them via OpenGL.
a list that holds all View2DSlice objects (lazily created) of a SoView2D
The CSOBoundingBox defines an axis parallel bounding box with double precision.
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...
The CSOSeedPoint can be interactively set and modified and is the framework for contours.
The CSO represents a contour segmentation object.
Base object class StylePalette for providing a collection of colors, line styles and marker types.
Main documentation file for ML users and developers.
Structure holding information about the processor/editor state.
Structure to hold visual parameters for the old editor.