VTK
|
Sets theme colors for a graphical view. More...
#include <vtkViewTheme.h>
Inherits vtkObject.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkViewTheme * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetPointSaturationRange (double mn, double mx) |
virtual void | SetPointSaturationRange (double rng[2]) |
virtual double * | GetPointSaturationRange () |
virtual void | GetPointSaturationRange (double &mn, double &mx) |
virtual void | GetPointSaturationRange (double rng[2]) |
virtual void | SetPointValueRange (double mn, double mx) |
virtual void | SetPointValueRange (double rng[2]) |
virtual double * | GetPointValueRange () |
virtual void | GetPointValueRange (double &mn, double &mx) |
virtual void | GetPointValueRange (double rng[2]) |
virtual void | SetPointAlphaRange (double mn, double mx) |
virtual void | SetPointAlphaRange (double rng[2]) |
virtual double * | GetPointAlphaRange () |
virtual void | GetPointAlphaRange (double &mn, double &mx) |
virtual void | GetPointAlphaRange (double rng[2]) |
virtual void | SetCellSaturationRange (double mn, double mx) |
virtual void | SetCellSaturationRange (double rng[2]) |
virtual double * | GetCellSaturationRange () |
virtual void | GetCellSaturationRange (double &mn, double &mx) |
virtual void | GetCellSaturationRange (double rng[2]) |
virtual void | SetCellValueRange (double mn, double mx) |
virtual void | SetCellValueRange (double rng[2]) |
virtual double * | GetCellValueRange () |
virtual void | GetCellValueRange (double &mn, double &mx) |
virtual void | GetCellValueRange (double rng[2]) |
virtual void | SetCellAlphaRange (double mn, double mx) |
virtual void | SetCellAlphaRange (double rng[2]) |
virtual double * | GetCellAlphaRange () |
virtual void | GetCellAlphaRange (double &mn, double &mx) |
virtual void | GetCellAlphaRange (double rng[2]) |
virtual void | SetPointSize (double) |
virtual double | GetPointSize () |
virtual void | SetLineWidth (double) |
virtual double | GetLineWidth () |
virtual void | SetPointColor (double, double, double) |
virtual void | SetPointColor (double[3]) |
virtual double * | GetPointColor () |
virtual void | GetPointColor (double &, double &, double &) |
virtual void | GetPointColor (double[3]) |
virtual void | SetPointOpacity (double) |
virtual double | GetPointOpacity () |
virtual void | SetPointHueRange (double mn, double mx) |
virtual void | SetPointHueRange (double rng[2]) |
virtual double * | GetPointHueRange () |
virtual void | GetPointHueRange (double &mn, double &mx) |
virtual void | GetPointHueRange (double rng[2]) |
virtual vtkScalarsToColors * | GetPointLookupTable () |
virtual void | SetPointLookupTable (vtkScalarsToColors *lut) |
virtual void | SetScalePointLookupTable (bool) |
virtual bool | GetScalePointLookupTable () |
virtual void | ScalePointLookupTableOn () |
virtual void | ScalePointLookupTableOff () |
virtual void | SetCellColor (double, double, double) |
virtual void | SetCellColor (double[3]) |
virtual double * | GetCellColor () |
virtual void | GetCellColor (double &, double &, double &) |
virtual void | GetCellColor (double[3]) |
virtual void | SetCellOpacity (double) |
virtual double | GetCellOpacity () |
virtual void | SetCellHueRange (double mn, double mx) |
virtual void | SetCellHueRange (double rng[2]) |
virtual double * | GetCellHueRange () |
virtual void | GetCellHueRange (double &mn, double &mx) |
virtual void | GetCellHueRange (double rng[2]) |
virtual vtkScalarsToColors * | GetCellLookupTable () |
virtual void | SetCellLookupTable (vtkScalarsToColors *lut) |
virtual void | SetScaleCellLookupTable (bool) |
virtual bool | GetScaleCellLookupTable () |
virtual void | ScaleCellLookupTableOn () |
virtual void | ScaleCellLookupTableOff () |
virtual void | SetOutlineColor (double, double, double) |
virtual void | SetOutlineColor (double[3]) |
virtual double * | GetOutlineColor () |
virtual void | GetOutlineColor (double &, double &, double &) |
virtual void | GetOutlineColor (double[3]) |
virtual void | SetSelectedPointColor (double, double, double) |
virtual void | SetSelectedPointColor (double[3]) |
virtual double * | GetSelectedPointColor () |
virtual void | GetSelectedPointColor (double &, double &, double &) |
virtual void | GetSelectedPointColor (double[3]) |
virtual void | SetSelectedPointOpacity (double) |
virtual double | GetSelectedPointOpacity () |
virtual void | SetSelectedCellColor (double, double, double) |
virtual void | SetSelectedCellColor (double[3]) |
virtual double * | GetSelectedCellColor () |
virtual void | GetSelectedCellColor (double &, double &, double &) |
virtual void | GetSelectedCellColor (double[3]) |
virtual void | SetSelectedCellOpacity (double) |
virtual double | GetSelectedCellOpacity () |
virtual void | SetBackgroundColor (double, double, double) |
virtual void | SetBackgroundColor (double[3]) |
virtual double * | GetBackgroundColor () |
virtual void | GetBackgroundColor (double &, double &, double &) |
virtual void | GetBackgroundColor (double[3]) |
virtual void | SetBackgroundColor2 (double, double, double) |
virtual void | SetBackgroundColor2 (double[3]) |
virtual double * | GetBackgroundColor2 () |
virtual void | GetBackgroundColor2 (double &, double &, double &) |
virtual void | GetBackgroundColor2 (double[3]) |
virtual void | SetPointTextProperty (vtkTextProperty *tprop) |
virtual vtkTextProperty * | GetPointTextProperty () |
virtual void | SetCellTextProperty (vtkTextProperty *tprop) |
virtual vtkTextProperty * | GetCellTextProperty () |
virtual void | SetVertexLabelColor (double r, double g, double b) |
virtual void | SetVertexLabelColor (double c[3]) |
virtual double * | GetVertexLabelColor () |
virtual void | GetVertexLabelColor (double &r, double &g, double &b) |
virtual void | GetVertexLabelColor (double c[3]) |
virtual void | SetEdgeLabelColor (double r, double g, double b) |
virtual void | SetEdgeLabelColor (double c[3]) |
virtual double * | GetEdgeLabelColor () |
virtual void | GetEdgeLabelColor (double &r, double &g, double &b) |
virtual void | GetEdgeLabelColor (double c[3]) |
bool | LookupMatchesPointTheme (vtkScalarsToColors *s2c) |
bool | LookupMatchesCellTheme (vtkScalarsToColors *s2c) |
Static Public Member Functions | |
static vtkViewTheme * | New () |
static int | IsTypeOf (const char *type) |
static vtkViewTheme * | SafeDownCast (vtkObjectBase *o) |
static vtkViewTheme * | CreateOceanTheme () |
static vtkViewTheme * | CreateMellowTheme () |
static vtkViewTheme * | CreateNeonTheme () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkViewTheme () | |
~vtkViewTheme () | |
Protected Attributes | |
double | PointSize |
double | LineWidth |
double | PointColor [3] |
double | PointOpacity |
double | CellColor [3] |
double | CellOpacity |
double | OutlineColor [3] |
double | SelectedPointColor [3] |
double | SelectedPointOpacity |
double | SelectedCellColor [3] |
double | SelectedCellOpacity |
double | BackgroundColor [3] |
double | BackgroundColor2 [3] |
vtkScalarsToColors * | PointLookupTable |
vtkScalarsToColors * | CellLookupTable |
bool | ScalePointLookupTable |
bool | ScaleCellLookupTable |
vtkTextProperty * | PointTextProperty |
vtkTextProperty * | CellTextProperty |
Sets theme colors for a graphical view.
This may be set on any subclass of vtkView. The view class will attempt to use the values set in the theme to customize the view. Views will not generally use every aspect of the theme. NOTICE: This class will be deprecated in favor of a more robust solution based on style sheets. Do not become overly-dependent on the functionality of themes.
Definition at line 47 of file vtkViewTheme.h.
typedef vtkObject vtkViewTheme::Superclass |
Definition at line 51 of file vtkViewTheme.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkViewTheme* vtkViewTheme::NewInstance | ( | ) | const |
void vtkViewTheme::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
The size of points or vertices
|
virtual |
The size of points or vertices
|
virtual |
The width of lines or edges
|
virtual |
The width of lines or edges
|
virtual |
The color and opacity of points or vertices when not mapped through a lookup table.
|
virtual |
The color and opacity of points or vertices when not mapped through a lookup table.
|
virtual |
The color and opacity of points or vertices when not mapped through a lookup table.
|
virtual |
The color and opacity of points or vertices when not mapped through a lookup table.
|
virtual |
The color and opacity of points or vertices when not mapped through a lookup table.
|
virtual |
The color and opacity of points or vertices when not mapped through a lookup table.
|
virtual |
The color and opacity of points or vertices when not mapped through a lookup table.
|
virtual |
The ranges to use in the point lookup table. You may also do this by accessing the point lookup table directly with GetPointLookupTable() and calling these methods.
|
virtual |
The ranges to use in the point lookup table. You may also do this by accessing the point lookup table directly with GetPointLookupTable() and calling these methods.
|
virtual |
The ranges to use in the point lookup table. You may also do this by accessing the point lookup table directly with GetPointLookupTable() and calling these methods.
|
virtual |
The ranges to use in the point lookup table. You may also do this by accessing the point lookup table directly with GetPointLookupTable() and calling these methods.
|
virtual |
The ranges to use in the point lookup table. You may also do this by accessing the point lookup table directly with GetPointLookupTable() and calling these methods.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set/Get the point lookup table.
|
virtual |
Set/Get the point lookup table.
|
virtual |
Whether to scale the lookup table to fit the range of the data.
|
virtual |
Whether to scale the lookup table to fit the range of the data.
|
virtual |
Whether to scale the lookup table to fit the range of the data.
|
virtual |
Whether to scale the lookup table to fit the range of the data.
|
virtual |
The color and opacity of cells or edges when not mapped through a lookup table.
|
virtual |
The color and opacity of cells or edges when not mapped through a lookup table.
|
virtual |
The color and opacity of cells or edges when not mapped through a lookup table.
|
virtual |
The color and opacity of cells or edges when not mapped through a lookup table.
|
virtual |
The color and opacity of cells or edges when not mapped through a lookup table.
|
virtual |
The color and opacity of cells or edges when not mapped through a lookup table.
|
virtual |
The color and opacity of cells or edges when not mapped through a lookup table.
|
virtual |
The ranges to use in the cell lookup table. You may also do this by accessing the cell lookup table directly with GetCellLookupTable() and calling these methods.
|
virtual |
The ranges to use in the cell lookup table. You may also do this by accessing the cell lookup table directly with GetCellLookupTable() and calling these methods.
|
virtual |
The ranges to use in the cell lookup table. You may also do this by accessing the cell lookup table directly with GetCellLookupTable() and calling these methods.
|
virtual |
The ranges to use in the cell lookup table. You may also do this by accessing the cell lookup table directly with GetCellLookupTable() and calling these methods.
|
virtual |
The ranges to use in the cell lookup table. You may also do this by accessing the cell lookup table directly with GetCellLookupTable() and calling these methods.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set/Get the cell lookup table.
|
virtual |
Set/Get the cell lookup table.
|
virtual |
Whether to scale the lookup table to fit the range of the data.
|
virtual |
Whether to scale the lookup table to fit the range of the data.
|
virtual |
Whether to scale the lookup table to fit the range of the data.
|
virtual |
Whether to scale the lookup table to fit the range of the data.
|
virtual |
The color of any outlines in the view.
|
virtual |
The color of any outlines in the view.
|
virtual |
The color of any outlines in the view.
|
virtual |
The color of any outlines in the view.
|
virtual |
The color of any outlines in the view.
|
virtual |
The color of selected points or vertices.
|
virtual |
The color of selected points or vertices.
|
virtual |
The color of selected points or vertices.
|
virtual |
The color of selected points or vertices.
|
virtual |
The color of selected points or vertices.
|
virtual |
The color of selected points or vertices.
|
virtual |
The color of selected points or vertices.
|
virtual |
The color of selected cells or edges.
|
virtual |
The color of selected cells or edges.
|
virtual |
The color of selected cells or edges.
|
virtual |
The color of selected cells or edges.
|
virtual |
The color of selected cells or edges.
|
virtual |
The color of selected cells or edges.
|
virtual |
The color of selected cells or edges.
|
virtual |
The view background color.
|
virtual |
The view background color.
|
virtual |
The view background color.
|
virtual |
The view background color.
|
virtual |
The view background color.
|
virtual |
The second background color (for gradients).
|
virtual |
The second background color (for gradients).
|
virtual |
The second background color (for gradients).
|
virtual |
The second background color (for gradients).
|
virtual |
The second background color (for gradients).
|
virtual |
The text property to use for labelling points/vertices.
|
virtual |
The text property to use for labelling points/vertices.
|
virtual |
The text property to use for labelling edges/cells.
|
virtual |
The text property to use for labelling edges/cells.
|
virtual |
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
|
inlinevirtual |
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
Definition at line 218 of file vtkViewTheme.h.
|
virtual |
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
|
inlinevirtual |
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
Definition at line 221 of file vtkViewTheme.h.
|
inlinevirtual |
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
Definition at line 223 of file vtkViewTheme.h.
|
virtual |
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
|
inlinevirtual |
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
Definition at line 231 of file vtkViewTheme.h.
|
virtual |
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
|
inlinevirtual |
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
Definition at line 234 of file vtkViewTheme.h.
|
inlinevirtual |
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
Definition at line 236 of file vtkViewTheme.h.
|
static |
Convenience methods for creating some default view themes. The return reference is reference-counted, so you will have to call Delete() on the reference when you are finished with it.
|
static |
Convenience methods for creating some default view themes. The return reference is reference-counted, so you will have to call Delete() on the reference when you are finished with it.
|
static |
Convenience methods for creating some default view themes. The return reference is reference-counted, so you will have to call Delete() on the reference when you are finished with it.
bool vtkViewTheme::LookupMatchesPointTheme | ( | vtkScalarsToColors * | s2c | ) |
Whether a given lookup table matches the point or cell theme of this theme.
bool vtkViewTheme::LookupMatchesCellTheme | ( | vtkScalarsToColors * | s2c | ) |
Whether a given lookup table matches the point or cell theme of this theme.
|
protected |
Definition at line 260 of file vtkViewTheme.h.
|
protected |
Definition at line 261 of file vtkViewTheme.h.
|
protected |
Definition at line 263 of file vtkViewTheme.h.
|
protected |
Definition at line 264 of file vtkViewTheme.h.
|
protected |
Definition at line 266 of file vtkViewTheme.h.
|
protected |
Definition at line 267 of file vtkViewTheme.h.
|
protected |
Definition at line 269 of file vtkViewTheme.h.
|
protected |
Definition at line 271 of file vtkViewTheme.h.
|
protected |
Definition at line 272 of file vtkViewTheme.h.
|
protected |
Definition at line 273 of file vtkViewTheme.h.
|
protected |
Definition at line 274 of file vtkViewTheme.h.
|
protected |
Definition at line 276 of file vtkViewTheme.h.
|
protected |
Definition at line 277 of file vtkViewTheme.h.
|
protected |
Definition at line 279 of file vtkViewTheme.h.
|
protected |
Definition at line 280 of file vtkViewTheme.h.
|
protected |
Definition at line 282 of file vtkViewTheme.h.
|
protected |
Definition at line 283 of file vtkViewTheme.h.
|
protected |
Definition at line 285 of file vtkViewTheme.h.
|
protected |
Definition at line 286 of file vtkViewTheme.h.