26 class CSOProcessorData;
86 return std::string(
"");
316 #define TAG_VIEWER_ID "viewerId"
SEED_POINT_MARKER_MODES
Enumeration of markers for seed points.
@ SHOW_MARKER_NONE
Shows no marker at the seed point positions.
@ SHOW_MARKER_CIRCLE
Shows a circle at the seed point positions.
@ SHOW_MARKER_RECT
Shows a rectangle at the seed point positions.
COLOR_MODES
Enumeration of marker coloring.
@ COLOR_AS_CSO
The marker is shown in the same color as the CSO.
@ COLOR_GENERAL
Use the general marker color for all markers.
@ CSO_SLICE_COMPLETELY_BELOW
The CSO lies completely below the current slice.
@ CSO_SLICE_UNKNOWN
No information about the CSO and the current slice.
@ CSO_SLICE_COMPLETELY_ABOVE
The CSO lies completely above the current slice.
@ CSO_SLICE_CROSSED
The CSO is crossed by the current slice.
@ CSO_SLICE_COMPLETELY_ON
The CSO lies completely on the current slice.
SELECTION_COLOR_MODES
Defines the color mode for selected CSOs.
@ SELECTION_COLOR_MODE_BRIGHTEN
Selection color mode: the selected CSO is brightened.
@ SELECTION_COLOR_MODE_FIXED
Selection color mode: the selected CSO is set to a fixed color.
SELECTED_SEED_POINT_COLOR_MODES
Defines the color mode for selected seed points.
@ SELECTED_SEED_POINT_COLOR_MODE_BRIGHTEN
Selected seed point color mode: the selected seed point is brightened.
@ SELECTED_SEED_POINT_COLOR_MODE_FIXED
Selected seed point color mode: the selected seed point is set to a fixed color.
const unsigned short PATH_POINTS_PATTERN_SOLID
SELECTED_SEED_POINT_SIZE_MODES
Defines the size mode for selected seed points.
@ SELECTED_SEED_POINT_ENLARGE
Selected seed point size mode: the size of the selected seed point is enlarged.
@ SELECTED_SEED_POINT_FIXED
Selected seed point size mode: the size of the selected seed point is set to a fixed value.
const unsigned short PATH_POINTS_PATTERN_SHORT_DASHED
SELECTION_LINE_WIDTH_MODES
Defines the line width mode for selected CSOs.
@ SELECTION_LINE_FIXED
Selection line width mode: the line width of the selected CSO is set to a certain value.
@ SELECTION_LINE_WIDEN
Selection line width mode: the line width of the selected CSO is widened.
HIGHLIGHT_COLOR_MODES
Defines the highlighting color mode for CSOs under the mouse cursor.
@ HIGHLIGHT_COLOR_MODE_FIXED
Highlight color mode: the CSO under the mouse cursor is set to a fixed color.
@ HIGHLIGHT_COLOR_MODE_BRIGHTEN
Highlight color mode: the CSO under the mouse cursor is brightened.
SIDE_FILLING_LINE_WIDTH_MODES
Enumeration of line width modes for side fillings.
@ SIDE_FILLING_WIDTH_AS_CSO
@ SIDE_FILLING_WIDTH_MANUAL
@ SIDE_FILLING_WIDTH_AUTOMATIC
const unsigned short PATH_POINTS_PATTERN_NONE
Line pattern for no line at all.
const unsigned short PATH_POINTS_PATTERN_DASHED
Line pattern for a dashed line.
STYLE_PALETTE_INDEX_USE
Enumeration of the usage of style palette indices.
@ USE_INDEX_FOR_GROUP
The style of the according Group index is chosen (overrides CSO style).
@ USE_INDEX_FOR_CSO
The style of the according CSO index is chosen.
const unsigned short PATH_POINTS_PATTERN_DOTTED
Line pattern for a dotted line.
CSOEvalEventView2DInfos CSOProcessView2DInfos
Typedefs for backward compatibility.
CSOEvalEventCSOInfos CSOProcessCSOInfos
HIT_POINT_MODE
Enumeration for different hit point modes.
@ HIT_SEED_POINT
Hit point was near an existing seed point.
@ HIT_PATH_POINT
Hit point was near a path point.
@ HIT_NOTHING_HIT
Hit point was nowhere near an existing CSO.
HIGHLIGHT_LINE_WIDTH_MODES
Defines the highlighting line width mode for CSOs under the mouse cursor.
@ HIGHLIGHT_LINE_FIXED
Highlight line width mode: the line width of the CSOs under the mouse cursor is set to a certain valu...
@ HIGHLIGHT_LINE_WIDEN
Highlight line width mode: the line width of the CSOs under the mouse cursor is widened.
View2DEventPhase
event phase for simple extensions that grab the focus, do something (motion) and are released afterwa...
@ EVENT_ANY
Event phase is undefined and has to be checked by getEvent() method.
SoView2D is a 2D viewer for image data.
SoSFString viewerId
id string, needs to be unique in a network if used
View2DEvent stores all information on an event on a SoView2D.
a list that holds all View2DSlice objects (lazily created) of a SoView2D
SoView2D * getOwner()
Get the owning SoView2D.
a single slice that is stored in a View2DSliceList, typically created by a View2DSliceList
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 CSOProcesorData provides the network data interchange object for processing interaction events an...
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.
ml::AbstractTransformationPtr transformation
std::vector< int > csoIds
CSODrawSliceInformation sliceInfo
ml::CSOBoundingBox slabBB
std::string getViewerId() const
std::string frameOfReferenceUID
size_t worldToVoxelMatrixHashKey
ml::CoordinateSystemReference coordinateSystemReference
View2DSliceList * slicelist
SoCSOTransform * csoTransform
ml::StylePalette * stylePalette
std::string seriesInstanceUID
Structure holding information about the processor/editor state.
ml::CSO * csoCurrentlyUnderMouse
ml::CSOProcessorData * processorData
bool isCurrentlyMovingCSO
ml::CSO * recentlySelectedCSO
ml::CSOPathPoints * recentlySelectedPathPoints
ml::CSOSeedPoint * recentlySelectedSeedPoint
ml::Vector3 currentHitPoint
bool interactOnlyOnSelectedCSOs
ml::CSOBoundingBox slabBB
View2DSliceList * slicelist
std::vector< ml::Vector3 > positions
Structure to hold visual parameters for the old editor.
unsigned short pathPointStyle
Defines the z slab of a CSO bounding box in voxel coordinates.