42#include "vtkViewsCoreModule.h"
60 vtkGetMacro(PointSize,
double);
68 vtkGetMacro(LineWidth,
double);
76 vtkSetVector3Macro(PointColor,
double);
77 vtkGetVector3Macro(PointColor,
double);
79 vtkGetMacro(PointOpacity,
double);
126 vtkGetMacro(ScalePointLookupTable,
bool);
135 vtkSetVector3Macro(CellColor,
double);
136 vtkGetVector3Macro(CellColor,
double);
138 vtkGetMacro(CellOpacity,
double);
185 vtkGetMacro(ScaleCellLookupTable,
bool);
193 vtkSetVector3Macro(OutlineColor,
double);
194 vtkGetVector3Macro(OutlineColor,
double);
201 vtkSetVector3Macro(SelectedPointColor,
double);
202 vtkGetVector3Macro(SelectedPointColor,
double);
204 vtkGetMacro(SelectedPointOpacity,
double);
211 vtkSetVector3Macro(SelectedCellColor,
double);
212 vtkGetVector3Macro(SelectedCellColor,
double);
214 vtkGetMacro(SelectedCellOpacity,
double);
221 vtkSetVector3Macro(BackgroundColor,
double);
222 vtkGetVector3Macro(BackgroundColor,
double);
229 vtkSetVector3Macro(BackgroundColor2,
double);
230 vtkGetVector3Macro(BackgroundColor2,
double);
256 { this->SetVertexLabelColor(c[0], c[1], c[2]); }
259 {
double* c = this->GetVertexLabelColor();
if (c) { r = c[0]; g = c[1]; b = c[2]; } }
261 { this->GetVertexLabelColor(c[0], c[1], c[2]); }
271 { this->SetEdgeLabelColor(c[0], c[1], c[2]); }
274 {
double* c = this->GetEdgeLabelColor();
if (c) { r = c[0]; g = c[1]; b = c[2]; } }
276 { this->GetEdgeLabelColor(c[0], c[1], c[2]); }
306 double PointColor[3];
312 double OutlineColor[3];
314 double SelectedPointColor[3];
316 double SelectedCellColor[3];
319 double BackgroundColor[3];
320 double BackgroundColor2[3];
333 void operator=(
const vtkViewTheme&) VTK_DELETE_FUNCTION;
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)
virtual void GetCellValueRange(double &mn, double &mx)
virtual void SetPointValueRange(double rng[2])
virtual double * GetCellSaturationRange()
virtual void GetVertexLabelColor(double &r, double &g, double &b)
virtual double * GetCellHueRange()
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 void GetEdgeLabelColor(double &r, double &g, double &b)
double SelectedPointOpacity
virtual void SetPointAlphaRange(double rng[2])
virtual void SetCellLookupTable(vtkScalarsToColors *lut)
virtual void SetPointAlphaRange(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 GetEdgeLabelColor(double c[3])
virtual void GetPointAlphaRange(double rng[2])
virtual void GetPointHueRange(double &mn, double &mx)
virtual double * GetPointValueRange()
virtual void SetPointSaturationRange(double rng[2])
virtual double * GetPointSaturationRange()
static vtkViewTheme * CreateNeonTheme()
virtual void SetCellAlphaRange(double rng[2])
virtual void SetVertexLabelColor(double c[3])
bool ScalePointLookupTable
virtual double * GetEdgeLabelColor()
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 void GetCellSaturationRange(double rng[2])
virtual double * GetVertexLabelColor()
virtual void GetVertexLabelColor(double c[3])
static vtkViewTheme * CreateOceanTheme()
Convenience methods for creating some default view themes.
vtkTextProperty * CellTextProperty
virtual void GetCellHueRange(double rng[2])
virtual void SetPointSaturationRange(double mn, double mx)
vtkTextProperty * PointTextProperty
virtual void SetCellAlphaRange(double mn, double mx)
virtual void GetPointSaturationRange(double &mn, double &mx)
virtual void GetPointValueRange(double &mn, double &mx)
virtual double * GetPointHueRange()
virtual double * GetCellValueRange()
virtual void SetEdgeLabelColor(double c[3])
virtual double * GetPointAlphaRange()
virtual void GetCellSaturationRange(double &mn, double &mx)
virtual void GetPointHueRange(double rng[2])
virtual void SetEdgeLabelColor(double r, double g, double b)
The color to use for labelling 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)
virtual void SetPointTextProperty(vtkTextProperty *tprop)
The text property to use for labelling points/vertices.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void GetCellAlphaRange(double rng[2])
virtual void SetPointHueRange(double rng[2])
virtual void SetCellSaturationRange(double rng[2])
virtual void GetPointAlphaRange(double &mn, double &mx)
bool ScaleCellLookupTable
vtkScalarsToColors * CellLookupTable
virtual double * GetCellAlphaRange()
double SelectedCellOpacity
static vtkViewTheme * CreateMellowTheme()
virtual void GetCellHueRange(double &mn, double &mx)
virtual void SetCellTextProperty(vtkTextProperty *tprop)
The text property to use for labelling edges/cells.
virtual void SetVertexLabelColor(double r, double g, double b)
The color to use for labelling graph vertices.
virtual void SetCellHueRange(double rng[2])
static vtkViewTheme * New()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.