33 #ifndef vtkViewTheme_h 34 #define vtkViewTheme_h 36 #include "vtkViewsCoreModule.h" 54 vtkGetMacro(PointSize,
double);
62 vtkGetMacro(LineWidth,
double);
70 vtkSetVector3Macro(PointColor,
double);
71 vtkGetVector3Macro(PointColor,
double);
73 vtkGetMacro(PointOpacity,
double);
82 virtual void SetPointHueRange(
double mn,
double mx);
83 virtual void SetPointHueRange(
double rng[2]);
84 virtual double* GetPointHueRange();
85 virtual void GetPointHueRange(
double& mn,
double& mx);
86 virtual void GetPointHueRange(
double rng[2]);
89 virtual void SetPointSaturationRange(
double mn,
double mx);
90 virtual void SetPointSaturationRange(
double rng[2]);
91 virtual double* GetPointSaturationRange();
92 virtual void GetPointSaturationRange(
double& mn,
double& mx);
93 virtual void GetPointSaturationRange(
double rng[2]);
95 virtual void SetPointValueRange(
double mn,
double mx);
96 virtual void SetPointValueRange(
double rng[2]);
97 virtual double* GetPointValueRange();
98 virtual void GetPointValueRange(
double& mn,
double& mx);
99 virtual void GetPointValueRange(
double rng[2]);
101 virtual void SetPointAlphaRange(
double mn,
double mx);
102 virtual void SetPointAlphaRange(
double rng[2]);
103 virtual double* GetPointAlphaRange();
104 virtual void GetPointAlphaRange(
double& mn,
double& mx);
105 virtual void GetPointAlphaRange(
double rng[2]);
120 vtkGetMacro(ScalePointLookupTable,
bool);
129 vtkSetVector3Macro(CellColor,
double);
130 vtkGetVector3Macro(CellColor,
double);
132 vtkGetMacro(CellOpacity,
double);
141 virtual void SetCellHueRange(
double mn,
double mx);
142 virtual void SetCellHueRange(
double rng[2]);
143 virtual double* GetCellHueRange();
144 virtual void GetCellHueRange(
double& mn,
double& mx);
145 virtual void GetCellHueRange(
double rng[2]);
148 virtual void SetCellSaturationRange(
double mn,
double mx);
149 virtual void SetCellSaturationRange(
double rng[2]);
150 virtual double* GetCellSaturationRange();
151 virtual void GetCellSaturationRange(
double& mn,
double& mx);
152 virtual void GetCellSaturationRange(
double rng[2]);
154 virtual void SetCellValueRange(
double mn,
double mx);
155 virtual void SetCellValueRange(
double rng[2]);
156 virtual double* GetCellValueRange();
157 virtual void GetCellValueRange(
double& mn,
double& mx);
158 virtual void GetCellValueRange(
double rng[2]);
160 virtual void SetCellAlphaRange(
double mn,
double mx);
161 virtual void SetCellAlphaRange(
double rng[2]);
162 virtual double* GetCellAlphaRange();
163 virtual void GetCellAlphaRange(
double& mn,
double& mx);
164 virtual void GetCellAlphaRange(
double rng[2]);
179 vtkGetMacro(ScaleCellLookupTable,
bool);
187 vtkSetVector3Macro(OutlineColor,
double);
188 vtkGetVector3Macro(OutlineColor,
double);
195 vtkSetVector3Macro(SelectedPointColor,
double);
196 vtkGetVector3Macro(SelectedPointColor,
double);
198 vtkGetMacro(SelectedPointOpacity,
double);
205 vtkSetVector3Macro(SelectedCellColor,
double);
206 vtkGetVector3Macro(SelectedCellColor,
double);
208 vtkGetMacro(SelectedCellOpacity,
double);
215 vtkSetVector3Macro(BackgroundColor,
double);
216 vtkGetVector3Macro(BackgroundColor,
double);
223 vtkSetVector3Macro(BackgroundColor2,
double);
224 vtkGetVector3Macro(BackgroundColor2,
double);
248 virtual void SetVertexLabelColor(
double r,
double g,
double b);
250 { this->SetVertexLabelColor(c[0], c[1], c[2]); }
251 virtual double *GetVertexLabelColor();
253 {
double* c = this->GetVertexLabelColor();
if (c) { r = c[0]; g = c[1]; b = c[2]; } }
255 { this->GetVertexLabelColor(c[0], c[1], c[2]); }
263 virtual void SetEdgeLabelColor(
double r,
double g,
double b);
265 { this->SetEdgeLabelColor(c[0], c[1], c[2]); }
266 virtual double *GetEdgeLabelColor();
268 {
double* c = this->GetEdgeLabelColor();
if (c) { r = c[0]; g = c[1]; b = c[2]; } }
270 { this->GetEdgeLabelColor(c[0], c[1], c[2]); }
300 double PointColor[3];
306 double OutlineColor[3];
308 double SelectedPointColor[3];
309 double SelectedPointOpacity;
310 double SelectedCellColor[3];
311 double SelectedCellOpacity;
313 double BackgroundColor[3];
314 double BackgroundColor2[3];
319 bool ScalePointLookupTable;
320 bool ScaleCellLookupTable;
327 void operator=(const
vtkViewTheme&) VTK_DELETE_FUNCTION;
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void GetVertexLabelColor(double &r, double &g, double &b)
The color to use for labelling graph vertices.
virtual void SetVertexLabelColor(double c[3])
The color to use for labelling graph vertices.
Superclass for mapping scalar values to colors.
Sets theme colors for a graphical view.
a simple class to control print indentation
represent text properties.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void GetVertexLabelColor(double c[3])
The color to use for labelling graph vertices.
virtual void SetEdgeLabelColor(double c[3])
The color to use for labelling graph edges.
virtual void GetEdgeLabelColor(double &r, double &g, double &b)
The color to use for labelling graph edges.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void GetEdgeLabelColor(double c[3])
The color to use for labelling graph edges.