MeVisLab Toolbox Reference
CSOVisualizationSettings.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2012, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13
15
16#pragma once
17
18#include <SoCSOSystem.h>
19#include <SoCSODefines.h>
20
28
38
40
48
50
51#define addMemberAndAccessMethod(type, name) \
52 public: \
53 type name() const { return _##name; } \
54 void name(type value) { _##name = value; } \
55 protected: \
56 type _##name;
57
58#define addMemberAndAccessMethodWithCSO(type, name) \
59 public: \
60 type name() const { return _##name; } \
61 virtual type name(CSO* cso) const; \
62 void name(type value) { _##name = value; } \
63 protected: \
64 type _##name;
65
67
69{
70public:
73
74 // Smart access methods. They regard the various modes and settings in the network.
75 virtual void getPathPointsOnSliceColor(CSO* cso, SbColor& color, float& alpha, bool isMouseOver=false) const;
76 virtual unsigned short getPathPointsOnSliceStipplePattern(CSO* cso) const;
77 virtual unsigned short getPathPointsOnSliceStipplePattern() const;
78 virtual float getPathPointsOnSliceLineWidth(CSO* cso, bool isMouseOver=false) const;
79 virtual void getSeedPointOnSliceColor(CSO* cso, CSOSeedPoint* seedPoint, SbColor& color, float& alpha, bool isMouseOver=false) const;
80 virtual float getSeedPointOnSliceSize (CSO* cso, CSOSeedPoint* seedPoint, bool isMouseOver=false) const;
81
82 virtual void getPathPointsBelowSliceColor(CSO* cso, SbColor& color, float& alpha, bool isMouseOver=false) const;
83 virtual unsigned short getPathPointsBelowSliceStipplePattern(CSO* cso) const;
84 virtual unsigned short getPathPointsBelowSliceStipplePattern() const;
85 virtual float getPathPointsBelowSliceLineWidth(CSO* cso, bool isMouseOver=false) const;
86 virtual void getSeedPointBelowSliceColor(CSO* cso, CSOSeedPoint* seedPoint, SbColor& color, float& alpha, bool isMouseOver=false) const;
87 virtual float getSeedPointBelowSliceSize (CSO* cso, CSOSeedPoint* seedPoint, bool isMouseOver=false) const;
88
89 virtual void getPathPointsAboveSliceColor(CSO* cso, SbColor& color, float& alpha, bool isMouseOver=false) const;
90 virtual unsigned short getPathPointsAboveSliceStipplePattern(CSO* cso) const;
91 virtual unsigned short getPathPointsAboveSliceStipplePattern() const;
92 virtual float getPathPointsAboveSliceLineWidth(CSO* cso, bool isMouseOver=false) const;
93 virtual void getSeedPointAboveSliceColor(CSO* cso, CSOSeedPoint* seedPoint, SbColor& color, float& alpha, bool isMouseOver=false) const;
94 virtual float getSeedPointAboveSliceSize (CSO* cso, CSOSeedPoint* seedPoint, bool isMouseOver=false) const;
95
96 virtual bool isCSOVisible(CSO* cso);
97
98 // global settings
99 addMemberAndAccessMethod(bool, shouldUseAntiAliasing);
100 addMemberAndAccessMethod(float, globalAlphaFactor);
101
102 // time points
103 addMemberAndAccessMethod(bool, showCSOsOnAllTimePoints);
104 addMemberAndAccessMethod(bool, overwriteCurrentTimePoint);
105 addMemberAndAccessMethod(int, newCurrentTimePoint);
106
107 // parallel to slice
108 addMemberAndAccessMethod(int, orientationFilterMode);
109 addMemberAndAccessMethod(int, parallelThicknessMode);
110 addMemberAndAccessMethod(float, showParallelThickness);
111
112 // ghosting
113 addMemberAndAccessMethod(int, ghostingDepthInVoxel);
114 addMemberAndAccessMethod(int, voxelSlabAugment);
115
116 // shadow
117 addMemberAndAccessMethod(bool, shouldRenderShadow);
119 addMemberAndAccessMethod(float, shadowLineWidth);
120
121 addMemberAndAccessMethod(bool, shouldRenderSeedPoints);
122 addMemberAndAccessMethod(bool, shouldRenderPathPoints);
123
124 // seed points
125 addMemberAndAccessMethod(bool, shouldOverwriteSeedPointsSettings);
126 addMemberAndAccessMethod(bool, shouldUsePathPointColorForSeedPoints);
127 addMemberAndAccessMethod(bool, shouldRenderSeedPointsOnlyForSelectedCSOs);
128
129 addMemberAndAccessMethod(bool, useSeedPointOnSliceStyle);
130 addMemberAndAccessMethod(bool, useSeedPointOnSliceSize);
131 addMemberAndAccessMethod(bool, useSeedPointOnSliceColor);
132 addMemberAndAccessMethod(bool, useSeedPointOnSliceAlpha);
133 addMemberAndAccessMethod(bool, useSeedPointOnSliceLineWidth);
134
135 addMemberAndAccessMethod(bool, useSeedPointBelowSliceStyle);
136 addMemberAndAccessMethod(bool, useSeedPointBelowSliceSize);
137 addMemberAndAccessMethod(bool, useSeedPointBelowSliceColor);
138 addMemberAndAccessMethod(bool, useSeedPointBelowSliceAlpha);
139 addMemberAndAccessMethod(bool, useSeedPointBelowSliceLineWidth);
140
141 addMemberAndAccessMethod(bool, useSeedPointAboveSliceStyle);
142 addMemberAndAccessMethod(bool, useSeedPointAboveSliceSize);
143 addMemberAndAccessMethod(bool, useSeedPointAboveSliceColor);
144 addMemberAndAccessMethod(bool, useSeedPointAboveSliceAlpha);
145 addMemberAndAccessMethod(bool, useSeedPointAboveSliceLineWidth);
146
147 // path points
148 addMemberAndAccessMethod(bool, shouldOverwritePathPointsSettings);
149
150
151 addMemberAndAccessMethod(bool, usePathPointsOnSliceLineStyle);
152 addMemberAndAccessMethod(bool, usePathPointsOnSliceLineWidth);
153 addMemberAndAccessMethod(bool, usePathPointsOnSliceColor);
154 addMemberAndAccessMethod(bool, usePathPointsOnSliceAlpha);
155
156 addMemberAndAccessMethod(bool, usePathPointsBelowSliceLineStyle);
157 addMemberAndAccessMethod(bool, usePathPointsBelowSliceLineWidth);
158 addMemberAndAccessMethod(bool, usePathPointsBelowSliceColor);
159 addMemberAndAccessMethod(bool, usePathPointsBelowSliceAlpha);
160
161 addMemberAndAccessMethod(bool, usePathPointsAboveSliceLineStyle);
162 addMemberAndAccessMethod(bool, usePathPointsAboveSliceLineWidth);
163 addMemberAndAccessMethod(bool, usePathPointsAboveSliceColor);
164 addMemberAndAccessMethod(bool, usePathPointsAboveSliceAlpha);
165
166 // selection style
167 addMemberAndAccessMethod(bool, shouldOverwriteSelectionSettings);
168
169 // mouse over style
170 addMemberAndAccessMethod(bool, enableMouseOverHighlighting);
171
172 addMemberAndAccessMethod(int, mouseOverPathPointsColorMode);
173 addMemberAndAccessMethod(int, mouseOverPathPointsLineWidthMode);
174 addMemberAndAccessMethod(float, mouseOverPathPointsBrightenValue);
175 addMemberAndAccessMethod(SbColor, mouseOverPathPointsFixedColor);
176 addMemberAndAccessMethod(float, mouseOverPathPointsWidenValue);
177 addMemberAndAccessMethod(float, mouseOverPathPointsFixedLineWidth);
178
179 addMemberAndAccessMethod(int, mouseOverSeedPointColorMode);
180 addMemberAndAccessMethod(int, mouseOverSeedPointSizeMode);
181 addMemberAndAccessMethod(float, mouseOverSeedPointBrightenValue);
182 addMemberAndAccessMethod(SbColor, mouseOverSeedPointFixedColor);
183 addMemberAndAccessMethod(float, mouseOverSeedPointEnlargeValue);
184 addMemberAndAccessMethod(float, mouseOverSeedPointFixedSize);
185
186
187 addMemberAndAccessMethod(float, mouseOverPathPointsAlpha);
188 addMemberAndAccessMethod(float, mouseOverSeedPointAlpha);
189 addMemberAndAccessMethod(float, shadowAlpha);
190
192
193 addMemberAndAccessMethodWithCSO(int, seedPointOnSliceStyle);
194 addMemberAndAccessMethodWithCSO(float, seedPointOnSliceSize);
196 addMemberAndAccessMethodWithCSO(float, seedPointOnSliceAlpha);
197 addMemberAndAccessMethodWithCSO(float, seedPointOnSliceLineWidth);
198
199 addMemberAndAccessMethodWithCSO(int, seedPointBelowSliceStyle);
200 addMemberAndAccessMethodWithCSO(float, seedPointBelowSliceSize);
201 addMemberAndAccessMethodWithCSO(SbColor, seedPointBelowSliceColor);
202 addMemberAndAccessMethodWithCSO(float, seedPointBelowSliceAlpha);
203 addMemberAndAccessMethodWithCSO(float, seedPointBelowSliceLineWidth);
204
205 addMemberAndAccessMethodWithCSO(int, seedPointAboveSliceStyle);
206 addMemberAndAccessMethodWithCSO(float, seedPointAboveSliceSize);
207 addMemberAndAccessMethodWithCSO(SbColor, seedPointAboveSliceColor);
208 addMemberAndAccessMethodWithCSO(float, seedPointAboveSliceAlpha);
209 addMemberAndAccessMethodWithCSO(float, seedPointAboveSliceLineWidth);
210
211 addMemberAndAccessMethodWithCSO(int, pathPointsOnSliceLineStyle);
212 addMemberAndAccessMethodWithCSO(float, pathPointsOnSliceLineWidth);
213 addMemberAndAccessMethodWithCSO(SbColor, pathPointsOnSliceColor);
214 addMemberAndAccessMethodWithCSO(float, pathPointsOnSliceAlpha);
215
216 addMemberAndAccessMethodWithCSO(int, pathPointsBelowSliceLineStyle);
217 addMemberAndAccessMethodWithCSO(float, pathPointsBelowSliceLineWidth);
218 addMemberAndAccessMethodWithCSO(SbColor, pathPointsBelowSliceColor);
219 addMemberAndAccessMethodWithCSO(float, pathPointsBelowSliceAlpha);
220
221 addMemberAndAccessMethodWithCSO(float, pathPointsAboveSliceLineWidth);
222 addMemberAndAccessMethodWithCSO(SbColor, pathPointsAboveSliceColor);
223 addMemberAndAccessMethodWithCSO(float, pathPointsAboveSliceAlpha);
224 addMemberAndAccessMethodWithCSO(int, pathPointsAboveSliceLineStyle);
225
226 addMemberAndAccessMethodWithCSO(int, selectedPathPointsColorMode);
227 addMemberAndAccessMethodWithCSO(int, selectedPathPointsLineWidthMode);
228 addMemberAndAccessMethodWithCSO(float, selectedPathPointsBrightenValue);
229 addMemberAndAccessMethodWithCSO(SbColor, selectedPathPointsFixedColor);
230 addMemberAndAccessMethodWithCSO(float, selectedPathPointsAlpha);
231 addMemberAndAccessMethodWithCSO(float, selectedPathPointsWidenValue);
232 addMemberAndAccessMethodWithCSO(float, selectedPathPointsFixedLineWidth);
233
234 addMemberAndAccessMethodWithCSO(int, selectedSeedPointColorMode);
235 addMemberAndAccessMethodWithCSO(int, selectedSeedPointSizeMode);
236 addMemberAndAccessMethodWithCSO(float, selectedSeedPointBrightenValue);
237 addMemberAndAccessMethodWithCSO(SbColor, selectedSeedPointFixedColor);
238 addMemberAndAccessMethodWithCSO(float, selectedSeedPointAlpha);
239 addMemberAndAccessMethodWithCSO(float, selectedSeedPointEnlargeValue);
240 addMemberAndAccessMethodWithCSO(float, selectedSeedPointFixedSize);
241
242protected:
243
245 bool isHighlighted(CSO* cso) const;
246
248 bool _isInSelectedGroup(CSO *cso) const;
251
252
254 SbColor sbColor(const Vector3& color) const { return SbColor(static_cast<float>(color[0]), static_cast<float>(color[1]), static_cast<float>(color[2])); }
256 // components' values to [0..1].
257 void multiplyColorAndClamp(SbColor& color, float factor) const;
260 void multiplyValueAndClamp(float& value, float factor, float maxValue=1.0f) const;
262 void addValueAndClamp(float& value, float factor, float maxValue=8.0f) const;
264 unsigned short stipplePattern(int enumIndex) const
265 {
266 switch (enumIndex)
267 {
268 case 0: return PATH_POINTS_PATTERN_NONE;
269 case 1: return PATH_POINTS_PATTERN_SOLID;
270 case 2: return PATH_POINTS_PATTERN_DASHED;
271 case 3: return PATH_POINTS_PATTERN_DOTTED;
273 default: return PATH_POINTS_PATTERN_SOLID;
274 }
275 }
276
278};
279
280#undef addMemberAndAccessMethodWithCSO
281#undef addMemberAndAccessMethod
282
284
CSOParallelThicknessMode
Mode for interpreting the parallel thickness value.
@ PARALLEL_THICKNESS_MODE_ABSOLUTE_MM
The parallel thickness is interpreted as an absolute value in mm.
@ PARALLEL_THICKNESS_MODE_RELATIVE_TO_SLICE
The parallel thickness is interpreted as relative to the slice's thickness and is clamped to be in [0...
CSOHighlightMode
Class for setting visualization parameters for CSO editors.
@ HIGHLIGHT_MODE_ABSOLUTE
Can be fixed color, fixed width, or fixed size.
@ HIGHLIGHT_MODE_RELATIVE
Can be brighten (color), widen (path points), or enlarge (seed points)
CSOOrientationFilterMode
Mode for filtering the CSOs' visibility by their orientation with respect to the viewer slice.
@ ORIENTATION_MODE_ALL
All CSOs are visible.
@ ORIENTATION_MODE_NON_PARALLEL
Only non-parallel CSOs are visible.
@ ORIENTATION_MODE_PARALLEL
Only parallel CSOs are visible.
const unsigned short PATH_POINTS_PATTERN_SOLID
const unsigned short PATH_POINTS_PATTERN_SHORT_DASHED
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.
const unsigned short PATH_POINTS_PATTERN_DOTTED
Line pattern for a dotted line.
#define SOCSO_EXPORT
Header file for system independent resolution.
Definition SoCSOSystem.h:21
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Definition mlBase.h:59
The CSOSeedPoint can be interactively set and modified and is the framework for contours.
addMemberAndAccessMethod(bool, shouldRenderPathPoints)
addMemberAndAccessMethod(bool, shouldUsePathPointColorForSeedPoints)
virtual unsigned short getPathPointsOnSliceStipplePattern(CSO *cso) const
addMemberAndAccessMethodWithCSO(float, pathPointsBelowSliceLineWidth)
virtual void getSeedPointBelowSliceColor(CSO *cso, CSOSeedPoint *seedPoint, SbColor &color, float &alpha, bool isMouseOver=false) const
addMemberAndAccessMethodWithCSO(SbColor, pathPointsBelowSliceColor)
addMemberAndAccessMethodWithCSO(float, selectedSeedPointBrightenValue)
addMemberAndAccessMethod(bool, overwriteCurrentTimePoint)
addMemberAndAccessMethod(bool, shouldOverwriteSelectionSettings)
addMemberAndAccessMethod(bool, useSeedPointOnSliceStyle)
addMemberAndAccessMethod(int, orientationFilterMode)
addMemberAndAccessMethodWithCSO(float, selectedPathPointsAlpha)
virtual float getSeedPointOnSliceSize(CSO *cso, CSOSeedPoint *seedPoint, bool isMouseOver=false) const
addMemberAndAccessMethod(int, mouseOverSeedPointColorMode)
addMemberAndAccessMethod(float, globalAlphaFactor)
addMemberAndAccessMethod(bool, usePathPointsAboveSliceAlpha)
addMemberAndAccessMethod(bool, useSeedPointOnSliceColor)
addMemberAndAccessMethod(float, mouseOverSeedPointFixedSize)
addMemberAndAccessMethodWithCSO(float, seedPointAboveSliceAlpha)
addMemberAndAccessMethodWithCSO(float, seedPointBelowSliceAlpha)
void multiplyValueAndClamp(float &value, float factor, float maxValue=1.0f) const
Helper: multiplies the given (line width / point size) value with the given factor and clamps it to [...
addMemberAndAccessMethod(float, showParallelThickness)
addMemberAndAccessMethod(bool, usePathPointsAboveSliceColor)
addMemberAndAccessMethodWithCSO(float, seedPointOnSliceLineWidth)
void multiplyColorAndClamp(SbColor &color, float factor) const
Helper: multiplies the components of the given color with the given factor and clamps all.
virtual unsigned short getPathPointsAboveSliceStipplePattern() const
addMemberAndAccessMethodWithCSO(SbColor, seedPointBelowSliceColor)
addMemberAndAccessMethodWithCSO(float, pathPointsAboveSliceAlpha)
virtual void getPathPointsAboveSliceColor(CSO *cso, SbColor &color, float &alpha, bool isMouseOver=false) const
CSOVisualizationSettings()
Constructor sets members to default values.
addMemberAndAccessMethod(bool, usePathPointsOnSliceAlpha)
virtual unsigned short getPathPointsBelowSliceStipplePattern() const
addMemberAndAccessMethod(bool, useSeedPointAboveSliceAlpha)
SbColor sbColor(const Vector3 &color) const
Helper: returns the given color in a different format.
addMemberAndAccessMethodWithCSO(float, seedPointBelowSliceSize)
addMemberAndAccessMethod(int, voxelSlabAugment)
addMemberAndAccessMethod(bool, usePathPointsOnSliceLineWidth)
addMemberAndAccessMethod(float, mouseOverPathPointsBrightenValue)
ML_CLASS_HEADER(CSOVisualizationSettings)
addMemberAndAccessMethod(bool, useSeedPointBelowSliceAlpha)
addMemberAndAccessMethod(bool, useSeedPointAboveSliceStyle)
addMemberAndAccessMethodWithCSO(float, selectedPathPointsFixedLineWidth)
addMemberAndAccessMethodWithCSO(int, selectedSeedPointColorMode)
virtual float getPathPointsOnSliceLineWidth(CSO *cso, bool isMouseOver=false) const
addMemberAndAccessMethodWithCSO(float, selectedPathPointsBrightenValue)
addMemberAndAccessMethod(SbColor, mouseOverPathPointsFixedColor)
bool isSelected(CSO *cso, CSOSeedPoint *seedPoint) const
Helper: returns whether the given seed point is selected within the given CSO.
addMemberAndAccessMethod(float, mouseOverSeedPointBrightenValue)
addMemberAndAccessMethod(bool, useSeedPointBelowSliceColor)
addMemberAndAccessMethod(float, mouseOverPathPointsAlpha)
addMemberAndAccessMethodWithCSO(SbColor, pathPointsOnSliceColor)
addMemberAndAccessMethodWithCSO(int, selectedPathPointsLineWidthMode)
addMemberAndAccessMethod(bool, usePathPointsBelowSliceLineStyle)
addMemberAndAccessMethod(int, mouseOverPathPointsLineWidthMode)
addMemberAndAccessMethodWithCSO(float, pathPointsBelowSliceAlpha)
addMemberAndAccessMethodWithCSO(SbColor, pathPointsAboveSliceColor)
addMemberAndAccessMethod(bool, useSeedPointOnSliceLineWidth)
addMemberAndAccessMethodWithCSO(int, seedPointAboveSliceStyle)
addMemberAndAccessMethodWithCSO(SbColor, seedPointAboveSliceColor)
virtual void getPathPointsBelowSliceColor(CSO *cso, SbColor &color, float &alpha, bool isMouseOver=false) const
virtual void getPathPointsOnSliceColor(CSO *cso, SbColor &color, float &alpha, bool isMouseOver=false) const
addMemberAndAccessMethodWithCSO(int, pathPointsAboveSliceLineStyle)
addMemberAndAccessMethod(float, shadowAlpha)
virtual unsigned short getPathPointsAboveSliceStipplePattern(CSO *cso) const
addMemberAndAccessMethod(bool, shouldRenderSeedPoints)
bool isHighlighted(CSO *cso) const
Helper: returns whether the selection highlight settings should be applied to the CSO.
addMemberAndAccessMethod(bool, usePathPointsBelowSliceLineWidth)
unsigned short stipplePattern(int enumIndex) const
Helper: returns a unsigned short stipple pattern for an index into an enum.
addMemberAndAccessMethod(bool, enableMouseOverHighlighting)
virtual float getPathPointsAboveSliceLineWidth(CSO *cso, bool isMouseOver=false) const
addMemberAndAccessMethod(int, newCurrentTimePoint)
addMemberAndAccessMethod(bool, shouldUseAntiAliasing)
addMemberAndAccessMethod(bool, usePathPointsOnSliceColor)
virtual bool isCSOVisible(CSO *cso)
addMemberAndAccessMethodWithCSO(float, seedPointAboveSliceSize)
addMemberAndAccessMethod(bool, showCSOsOnAllTimePoints)
void addValueAndClamp(float &value, float factor, float maxValue=8.0f) const
Helper: adds the factor to the given value and clamps it to [0..maxValue].
addMemberAndAccessMethod(SbColor, mouseOverSeedPointFixedColor)
addMemberAndAccessMethod(bool, useSeedPointAboveSliceLineWidth)
virtual float getPathPointsBelowSliceLineWidth(CSO *cso, bool isMouseOver=false) const
addMemberAndAccessMethod(bool, shouldOverwriteSeedPointsSettings)
addMemberAndAccessMethod(bool, usePathPointsAboveSliceLineStyle)
addMemberAndAccessMethodWithCSO(int, seedPointOnSliceStyle)
addMemberAndAccessMethod(float, shadowLineWidth)
addMemberAndAccessMethod(int, ghostingDepthInVoxel)
addMemberAndAccessMethodWithCSO(float, selectedPathPointsWidenValue)
addMemberAndAccessMethodWithCSO(float, pathPointsAboveSliceLineWidth)
addMemberAndAccessMethodWithCSO(SbColor, selectedSeedPointFixedColor)
addMemberAndAccessMethodWithCSO(int, selectedPathPointsColorMode)
bool _isInSelectedGroup(CSO *cso) const
Helper: returns whether the given CSO is in a selected group.
virtual unsigned short getPathPointsOnSliceStipplePattern() const
addMemberAndAccessMethodWithCSO(float, pathPointsOnSliceAlpha)
addMemberAndAccessMethodWithCSO(float, seedPointOnSliceAlpha)
virtual float getSeedPointAboveSliceSize(CSO *cso, CSOSeedPoint *seedPoint, bool isMouseOver=false) const
addMemberAndAccessMethodWithCSO(float, selectedSeedPointEnlargeValue)
addMemberAndAccessMethod(bool, useSeedPointBelowSliceLineWidth)
addMemberAndAccessMethodWithCSO(float, pathPointsOnSliceLineWidth)
addMemberAndAccessMethodWithCSO(SbColor, seedPointOnSliceColor)
addMemberAndAccessMethod(float, mouseOverPathPointsWidenValue)
addMemberAndAccessMethod(int, mouseOverPathPointsColorMode)
addMemberAndAccessMethod(float, mouseOverSeedPointAlpha)
addMemberAndAccessMethodWithCSO(float, selectedSeedPointFixedSize)
addMemberAndAccessMethod(bool, shouldRenderSeedPointsOnlyForSelectedCSOs)
addMemberAndAccessMethod(bool, usePathPointsAboveSliceLineWidth)
addMemberAndAccessMethodWithCSO(float, seedPointOnSliceSize)
addMemberAndAccessMethod(bool, shouldRenderShadow)
addMemberAndAccessMethodWithCSO(int, selectedSeedPointSizeMode)
addMemberAndAccessMethodWithCSO(int, pathPointsBelowSliceLineStyle)
addMemberAndAccessMethod(bool, useSeedPointAboveSliceColor)
virtual float getSeedPointBelowSliceSize(CSO *cso, CSOSeedPoint *seedPoint, bool isMouseOver=false) const
addMemberAndAccessMethod(int, parallelThicknessMode)
addMemberAndAccessMethod(SbColor, shadowColor)
addMemberAndAccessMethod(bool, useSeedPointOnSliceAlpha)
addMemberAndAccessMethodWithCSO(SbColor, selectedPathPointsFixedColor)
addMemberAndAccessMethod(bool, shouldOverwritePathPointsSettings)
addMemberAndAccessMethod(bool, usePathPointsBelowSliceAlpha)
addMemberAndAccessMethod(bool, useSeedPointOnSliceSize)
addMemberAndAccessMethod(float, mouseOverPathPointsFixedLineWidth)
addMemberAndAccessMethod(float, mouseOverSeedPointEnlargeValue)
addMemberAndAccessMethod(int, mouseOverSeedPointSizeMode)
addMemberAndAccessMethod(bool, usePathPointsBelowSliceColor)
virtual unsigned short getPathPointsBelowSliceStipplePattern(CSO *cso) const
virtual void getSeedPointOnSliceColor(CSO *cso, CSOSeedPoint *seedPoint, SbColor &color, float &alpha, bool isMouseOver=false) const
addMemberAndAccessMethod(bool, useSeedPointBelowSliceSize)
virtual void getSeedPointAboveSliceColor(CSO *cso, CSOSeedPoint *seedPoint, SbColor &color, float &alpha, bool isMouseOver=false) const
addMemberAndAccessMethodWithCSO(int, pathPointsOnSliceLineStyle)
addMemberAndAccessMethod(bool, useSeedPointAboveSliceSize)
addMemberAndAccessMethodWithCSO(float, selectedSeedPointAlpha)
addMemberAndAccessMethodWithCSO(float, seedPointBelowSliceLineWidth)
addMemberAndAccessMethodWithCSO(float, seedPointAboveSliceLineWidth)
addMemberAndAccessMethodWithCSO(int, seedPointBelowSliceStyle)
addMemberAndAccessMethod(bool, useSeedPointBelowSliceStyle)
addMemberAndAccessMethod(bool, usePathPointsOnSliceLineStyle)
The CSO represents a contour segmentation object.
Definition CSO.h:44
Target mlrange_cast(Source arg)
Generic version of checked ML casts.