 |
VTK
9.1.0
|
Go to the documentation of this file.
122 #ifndef vtkViewTheme_h
123 #define vtkViewTheme_h
126 #include "vtkViewsCoreModule.h"
142 vtkSetMacro(PointSize,
double);
143 vtkGetMacro(PointSize,
double);
150 vtkSetMacro(LineWidth,
double);
151 vtkGetMacro(LineWidth,
double);
159 vtkSetVector3Macro(PointColor,
double);
160 vtkGetVector3Macro(PointColor,
double);
161 vtkSetMacro(PointOpacity,
double);
162 vtkGetMacro(PointOpacity,
double);
208 vtkSetMacro(ScalePointLookupTable,
bool);
209 vtkGetMacro(ScalePointLookupTable,
bool);
210 vtkBooleanMacro(ScalePointLookupTable,
bool);
218 vtkSetVector3Macro(CellColor,
double);
219 vtkGetVector3Macro(CellColor,
double);
220 vtkSetMacro(CellOpacity,
double);
221 vtkGetMacro(CellOpacity,
double);
267 vtkSetMacro(ScaleCellLookupTable,
bool);
268 vtkGetMacro(ScaleCellLookupTable,
bool);
269 vtkBooleanMacro(ScaleCellLookupTable,
bool);
276 vtkSetVector3Macro(OutlineColor,
double);
277 vtkGetVector3Macro(OutlineColor,
double);
284 vtkSetVector3Macro(SelectedPointColor,
double);
285 vtkGetVector3Macro(SelectedPointColor,
double);
286 vtkSetMacro(SelectedPointOpacity,
double);
287 vtkGetMacro(SelectedPointOpacity,
double);
294 vtkSetVector3Macro(SelectedCellColor,
double);
295 vtkGetVector3Macro(SelectedCellColor,
double);
296 vtkSetMacro(SelectedCellOpacity,
double);
297 vtkGetMacro(SelectedCellOpacity,
double);
304 vtkSetVector3Macro(BackgroundColor,
double);
305 vtkGetVector3Macro(BackgroundColor,
double);
312 vtkSetVector3Macro(BackgroundColor2,
double);
313 vtkGetVector3Macro(BackgroundColor2,
double);
342 double* c = this->GetVertexLabelColor();
363 double* c = this->GetEdgeLabelColor();
401 double PointColor[3];
407 double OutlineColor[3];
409 double SelectedPointColor[3];
411 double SelectedCellColor[3];
414 double BackgroundColor[3];
415 double BackgroundColor2[3];
virtual double * GetPointHueRange()
The ranges to use in the point lookup table.
vtkScalarsToColors * CellLookupTable
virtual void SetPointSaturationRange(double rng[2])
static vtkViewTheme * New()
virtual void GetCellSaturationRange(double &mn, double &mx)
virtual void GetPointSaturationRange(double &mn, double &mx)
virtual void SetPointHueRange(double mn, double mx)
The ranges to use in the point lookup table.
virtual void GetPointHueRange(double rng[2])
The ranges to use in the point lookup table.
virtual void GetPointSaturationRange(double rng[2])
virtual void GetCellHueRange(double rng[2])
The ranges to use in the cell lookup table.
vtkTextProperty * PointTextProperty
bool LookupMatchesPointTheme(vtkScalarsToColors *s2c)
Whether a given lookup table matches the point or cell theme of this theme.
virtual void GetPointAlphaRange(double rng[2])
virtual void SetCellLookupTable(vtkScalarsToColors *lut)
Set/Get the cell lookup table.
static vtkViewTheme * CreateMellowTheme()
Convenience methods for creating some default view themes.
virtual void GetVertexLabelColor(double c[3])
The color to use for labeling graph vertices.
abstract base class for most VTK objects
virtual void SetVertexLabelColor(double r, double g, double b)
The color to use for labeling graph vertices.
static vtkViewTheme * CreateOceanTheme()
Convenience methods for creating some default view themes.
virtual double * GetCellHueRange()
The ranges to use in the cell lookup table.
virtual void GetEdgeLabelColor(double &r, double &g, double &b)
The color to use for labeling graph edges.
virtual double * GetEdgeLabelColor()
The color to use for labeling graph edges.
virtual double * GetPointSaturationRange()
vtkTextProperty * CellTextProperty
virtual void SetPointValueRange(double mn, double mx)
virtual void SetCellHueRange(double mn, double mx)
The ranges to use in the cell lookup table.
virtual void GetCellAlphaRange(double &mn, double &mx)
virtual void SetPointHueRange(double rng[2])
The ranges to use in the point lookup table.
virtual void GetPointValueRange(double rng[2])
Sets theme colors for a graphical view.
double SelectedCellOpacity
virtual void SetCellValueRange(double mn, double mx)
bool ScaleCellLookupTable
virtual void GetPointHueRange(double &mn, double &mx)
The ranges to use in the point lookup table.
virtual double * GetPointAlphaRange()
virtual void SetEdgeLabelColor(double r, double g, double b)
The color to use for labeling graph edges.
virtual void GetCellHueRange(double &mn, double &mx)
The ranges to use in the cell lookup table.
virtual void GetEdgeLabelColor(double c[3])
The color to use for labeling graph edges.
virtual void SetVertexLabelColor(double c[3])
The color to use for labeling graph vertices.
virtual double * GetVertexLabelColor()
The color to use for labeling graph vertices.
vtkScalarsToColors * PointLookupTable
virtual void SetPointTextProperty(vtkTextProperty *tprop)
The text property to use for labeling points/vertices.
virtual double * GetCellValueRange()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetCellSaturationRange(double rng[2])
a simple class to control print indentation
virtual void GetPointValueRange(double &mn, double &mx)
virtual void SetCellValueRange(double rng[2])
virtual void SetPointSaturationRange(double mn, double mx)
virtual void GetCellSaturationRange(double rng[2])
Superclass for mapping scalar values to colors.
virtual void SetCellSaturationRange(double mn, double mx)
virtual double * GetCellSaturationRange()
virtual void SetCellTextProperty(vtkTextProperty *tprop)
The text property to use for labeling edges/cells.
virtual void GetVertexLabelColor(double &r, double &g, double &b)
The color to use for labeling graph vertices.
bool ScalePointLookupTable
double SelectedPointOpacity
represent text properties.
bool LookupMatchesCellTheme(vtkScalarsToColors *s2c)
Whether a given lookup table matches the point or cell theme of this theme.
virtual double * GetCellAlphaRange()
virtual void SetPointAlphaRange(double rng[2])
virtual void GetCellValueRange(double rng[2])
static vtkViewTheme * CreateNeonTheme()
Convenience methods for creating some default view themes.
virtual void SetCellAlphaRange(double mn, double mx)
virtual void SetPointLookupTable(vtkScalarsToColors *lut)
Set/Get the point lookup table.
virtual void GetCellValueRange(double &mn, double &mx)
virtual void SetCellAlphaRange(double rng[2])
virtual void SetCellHueRange(double rng[2])
The ranges to use in the cell lookup table.
virtual void GetPointAlphaRange(double &mn, double &mx)
virtual double * GetPointValueRange()
virtual void GetCellAlphaRange(double rng[2])
virtual void SetPointAlphaRange(double mn, double mx)
virtual void SetPointValueRange(double rng[2])
virtual void SetEdgeLabelColor(double c[3])
The color to use for labeling graph edges.