128 #ifndef vtkViewTheme_h
129 #define vtkViewTheme_h
132 #include "vtkViewsCoreModule.h"
148 vtkSetMacro(PointSize,
double);
149 vtkGetMacro(PointSize,
double);
156 vtkSetMacro(LineWidth,
double);
157 vtkGetMacro(LineWidth,
double);
165 vtkSetVector3Macro(PointColor,
double);
166 vtkGetVector3Macro(PointColor,
double);
167 vtkSetMacro(PointOpacity,
double);
168 vtkGetMacro(PointOpacity,
double);
214 vtkSetMacro(ScalePointLookupTable,
bool);
215 vtkGetMacro(ScalePointLookupTable,
bool);
216 vtkBooleanMacro(ScalePointLookupTable,
bool);
224 vtkSetVector3Macro(CellColor,
double);
225 vtkGetVector3Macro(CellColor,
double);
226 vtkSetMacro(CellOpacity,
double);
227 vtkGetMacro(CellOpacity,
double);
273 vtkSetMacro(ScaleCellLookupTable,
bool);
274 vtkGetMacro(ScaleCellLookupTable,
bool);
275 vtkBooleanMacro(ScaleCellLookupTable,
bool);
282 vtkSetVector3Macro(OutlineColor,
double);
283 vtkGetVector3Macro(OutlineColor,
double);
290 vtkSetVector3Macro(SelectedPointColor,
double);
291 vtkGetVector3Macro(SelectedPointColor,
double);
292 vtkSetMacro(SelectedPointOpacity,
double);
293 vtkGetMacro(SelectedPointOpacity,
double);
300 vtkSetVector3Macro(SelectedCellColor,
double);
301 vtkGetVector3Macro(SelectedCellColor,
double);
302 vtkSetMacro(SelectedCellOpacity,
double);
303 vtkGetMacro(SelectedCellOpacity,
double);
310 vtkSetVector3Macro(BackgroundColor,
double);
311 vtkGetVector3Macro(BackgroundColor,
double);
318 vtkSetVector3Macro(BackgroundColor2,
double);
319 vtkGetVector3Macro(BackgroundColor2,
double);
348 double* c = this->GetVertexLabelColor();
369 double* c = this->GetEdgeLabelColor();
407 double PointColor[3];
413 double OutlineColor[3];
415 double SelectedPointColor[3];
417 double SelectedCellColor[3];
420 double BackgroundColor[3];
421 double BackgroundColor2[3];
a simple class to control print indentation
abstract base class for most VTK objects
Superclass for mapping scalar values to colors.
represent text properties.
Sets theme colors for a graphical view.
bool LookupMatchesCellTheme(vtkScalarsToColors *s2c)
Whether a given lookup table matches the point or cell theme of this theme.
virtual void GetCellValueRange(double &mn, double &mx)
virtual void SetPointValueRange(double rng[2])
static vtkViewTheme * New()
virtual void GetVertexLabelColor(double &r, double &g, double &b)
The color to use for labeling graph vertices.
virtual void SetCellValueRange(double mn, double mx)
vtkScalarsToColors * PointLookupTable
virtual void SetPointValueRange(double mn, double mx)
virtual void SetPointHueRange(double mn, double mx)
The ranges to use in the point lookup table.
virtual void GetPointValueRange(double rng[2])
virtual double * GetPointAlphaRange()
virtual void GetEdgeLabelColor(double &r, double &g, double &b)
The color to use for labeling graph edges.
virtual double * GetVertexLabelColor()
The color to use for labeling graph vertices.
double SelectedPointOpacity
virtual void SetPointAlphaRange(double rng[2])
static vtkViewTheme * CreateMellowTheme()
Convenience methods for creating some default view themes.
virtual void SetCellLookupTable(vtkScalarsToColors *lut)
Set/Get the cell lookup table.
virtual void SetPointAlphaRange(double mn, double mx)
virtual double * GetEdgeLabelColor()
The color to use for labeling graph edges.
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 GetEdgeLabelColor(double c[3])
The color to use for labeling graph edges.
virtual void GetPointAlphaRange(double rng[2])
virtual void GetPointHueRange(double &mn, double &mx)
The ranges to use in the point lookup table.
virtual void SetPointSaturationRange(double rng[2])
virtual void SetCellAlphaRange(double rng[2])
virtual void SetVertexLabelColor(double c[3])
The color to use for labeling graph vertices.
virtual double * GetCellValueRange()
bool ScalePointLookupTable
virtual double * GetPointHueRange()
The ranges to use in the point lookup table.
virtual void GetPointSaturationRange(double rng[2])
virtual void SetCellSaturationRange(double mn, double mx)
virtual void GetCellValueRange(double rng[2])
virtual void SetCellValueRange(double rng[2])
virtual double * GetPointValueRange()
static vtkViewTheme * CreateNeonTheme()
Convenience methods for creating some default view themes.
virtual double * GetCellAlphaRange()
virtual void GetCellSaturationRange(double rng[2])
virtual double * GetCellSaturationRange()
virtual void GetVertexLabelColor(double c[3])
The color to use for labeling graph vertices.
vtkTextProperty * CellTextProperty
virtual void GetCellHueRange(double rng[2])
The ranges to use in the cell lookup table.
virtual void SetPointSaturationRange(double mn, double mx)
static vtkViewTheme * CreateOceanTheme()
Convenience methods for creating some default view themes.
vtkTextProperty * PointTextProperty
virtual void SetCellAlphaRange(double mn, double mx)
virtual void GetPointSaturationRange(double &mn, double &mx)
virtual void GetPointValueRange(double &mn, double &mx)
virtual void SetEdgeLabelColor(double c[3])
The color to use for labeling graph edges.
virtual void GetCellSaturationRange(double &mn, double &mx)
virtual void GetPointHueRange(double rng[2])
The ranges to use in the point lookup table.
virtual void SetEdgeLabelColor(double r, double g, double b)
The color to use for labeling graph edges.
bool LookupMatchesPointTheme(vtkScalarsToColors *s2c)
Whether a given lookup table matches the point or cell theme of this theme.
virtual void SetPointLookupTable(vtkScalarsToColors *lut)
Set/Get the point lookup table.
virtual void SetPointTextProperty(vtkTextProperty *tprop)
The text property to use for labeling points/vertices.
virtual void GetCellAlphaRange(double rng[2])
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetPointHueRange(double rng[2])
The ranges to use in the point lookup table.
virtual double * GetPointSaturationRange()
virtual void SetCellSaturationRange(double rng[2])
virtual void GetPointAlphaRange(double &mn, double &mx)
bool ScaleCellLookupTable
vtkScalarsToColors * CellLookupTable
double SelectedCellOpacity
virtual void GetCellHueRange(double &mn, double &mx)
The ranges to use in the cell lookup table.
virtual void SetCellTextProperty(vtkTextProperty *tprop)
The text property to use for labeling edges/cells.
virtual void SetVertexLabelColor(double r, double g, double b)
The color to use for labeling graph vertices.
virtual void SetCellHueRange(double rng[2])
The ranges to use in the cell lookup table.
virtual double * GetCellHueRange()
The ranges to use in the cell lookup table.