VTK
|
Sets theme colors for a graphical view. More...
#include <vtkViewTheme.h>
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 46 of file vtkViewTheme.h.
typedef vtkObject vtkViewTheme::Superclass |
Reimplemented from vtkObject.
Definition at line 50 of file vtkViewTheme.h.
vtkViewTheme::vtkViewTheme | ( | ) | [protected] |
vtkViewTheme::~vtkViewTheme | ( | ) | [protected] |
static vtkViewTheme* vtkViewTheme::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkViewTheme::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
static int vtkViewTheme::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkViewTheme::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkViewTheme* vtkViewTheme::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
void vtkViewTheme::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
virtual void vtkViewTheme::SetPointSize | ( | double | ) | [virtual] |
The size of points or vertices
virtual double vtkViewTheme::GetPointSize | ( | ) | [virtual] |
The size of points or vertices
virtual void vtkViewTheme::SetLineWidth | ( | double | ) | [virtual] |
The width of lines or edges
virtual double vtkViewTheme::GetLineWidth | ( | ) | [virtual] |
The width of lines or edges
The color and opacity of points or vertices when not mapped through a lookup table.
virtual void vtkViewTheme::SetPointColor | ( | double | [3] | ) | [virtual] |
The color and opacity of points or vertices when not mapped through a lookup table.
virtual double* vtkViewTheme::GetPointColor | ( | ) | [virtual] |
The color and opacity of points or vertices when not mapped through a lookup table.
The color and opacity of points or vertices when not mapped through a lookup table.
virtual void vtkViewTheme::GetPointColor | ( | double | [3] | ) | [virtual] |
The color and opacity of points or vertices when not mapped through a lookup table.
virtual void vtkViewTheme::SetPointOpacity | ( | double | ) | [virtual] |
The color and opacity of points or vertices when not mapped through a lookup table.
virtual double vtkViewTheme::GetPointOpacity | ( | ) | [virtual] |
The color and opacity of points or vertices when not mapped through a lookup table.
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 void vtkViewTheme::SetPointHueRange | ( | double | rng[2] | ) | [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 double* vtkViewTheme::GetPointHueRange | ( | ) | [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.
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 void vtkViewTheme::GetPointHueRange | ( | double | rng[2] | ) | [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 void vtkViewTheme::SetPointSaturationRange | ( | double | rng[2] | ) | [virtual] |
virtual double* vtkViewTheme::GetPointSaturationRange | ( | ) | [virtual] |
virtual void vtkViewTheme::GetPointSaturationRange | ( | double | rng[2] | ) | [virtual] |
virtual void vtkViewTheme::SetPointValueRange | ( | double | rng[2] | ) | [virtual] |
virtual double* vtkViewTheme::GetPointValueRange | ( | ) | [virtual] |
virtual void vtkViewTheme::GetPointValueRange | ( | double | rng[2] | ) | [virtual] |
virtual void vtkViewTheme::SetPointAlphaRange | ( | double | rng[2] | ) | [virtual] |
virtual double* vtkViewTheme::GetPointAlphaRange | ( | ) | [virtual] |
virtual void vtkViewTheme::GetPointAlphaRange | ( | double | rng[2] | ) | [virtual] |
virtual vtkScalarsToColors* vtkViewTheme::GetPointLookupTable | ( | ) | [virtual] |
Set/Get the point lookup table.
virtual void vtkViewTheme::SetPointLookupTable | ( | vtkScalarsToColors * | lut | ) | [virtual] |
Set/Get the point lookup table.
virtual void vtkViewTheme::SetScalePointLookupTable | ( | bool | ) | [virtual] |
Whether to scale the lookup table to fit the range of the data.
virtual bool vtkViewTheme::GetScalePointLookupTable | ( | ) | [virtual] |
Whether to scale the lookup table to fit the range of the data.
virtual void vtkViewTheme::ScalePointLookupTableOn | ( | ) | [virtual] |
Whether to scale the lookup table to fit the range of the data.
virtual void vtkViewTheme::ScalePointLookupTableOff | ( | ) | [virtual] |
Whether to scale the lookup table to fit the range of the data.
The color and opacity of cells or edges when not mapped through a lookup table.
virtual void vtkViewTheme::SetCellColor | ( | double | [3] | ) | [virtual] |
The color and opacity of cells or edges when not mapped through a lookup table.
virtual double* vtkViewTheme::GetCellColor | ( | ) | [virtual] |
The color and opacity of cells or edges when not mapped through a lookup table.
The color and opacity of cells or edges when not mapped through a lookup table.
virtual void vtkViewTheme::GetCellColor | ( | double | [3] | ) | [virtual] |
The color and opacity of cells or edges when not mapped through a lookup table.
virtual void vtkViewTheme::SetCellOpacity | ( | double | ) | [virtual] |
The color and opacity of cells or edges when not mapped through a lookup table.
virtual double vtkViewTheme::GetCellOpacity | ( | ) | [virtual] |
The color and opacity of cells or edges when not mapped through a lookup table.
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 void vtkViewTheme::SetCellHueRange | ( | double | rng[2] | ) | [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 double* vtkViewTheme::GetCellHueRange | ( | ) | [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.
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 void vtkViewTheme::GetCellHueRange | ( | double | rng[2] | ) | [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 void vtkViewTheme::SetCellSaturationRange | ( | double | rng[2] | ) | [virtual] |
virtual double* vtkViewTheme::GetCellSaturationRange | ( | ) | [virtual] |
virtual void vtkViewTheme::GetCellSaturationRange | ( | double | rng[2] | ) | [virtual] |
virtual void vtkViewTheme::SetCellValueRange | ( | double | rng[2] | ) | [virtual] |
virtual double* vtkViewTheme::GetCellValueRange | ( | ) | [virtual] |
virtual void vtkViewTheme::GetCellValueRange | ( | double | rng[2] | ) | [virtual] |
virtual void vtkViewTheme::SetCellAlphaRange | ( | double | rng[2] | ) | [virtual] |
virtual double* vtkViewTheme::GetCellAlphaRange | ( | ) | [virtual] |
virtual void vtkViewTheme::GetCellAlphaRange | ( | double | rng[2] | ) | [virtual] |
virtual vtkScalarsToColors* vtkViewTheme::GetCellLookupTable | ( | ) | [virtual] |
Set/Get the cell lookup table.
virtual void vtkViewTheme::SetCellLookupTable | ( | vtkScalarsToColors * | lut | ) | [virtual] |
Set/Get the cell lookup table.
virtual void vtkViewTheme::SetScaleCellLookupTable | ( | bool | ) | [virtual] |
Whether to scale the lookup table to fit the range of the data.
virtual bool vtkViewTheme::GetScaleCellLookupTable | ( | ) | [virtual] |
Whether to scale the lookup table to fit the range of the data.
virtual void vtkViewTheme::ScaleCellLookupTableOn | ( | ) | [virtual] |
Whether to scale the lookup table to fit the range of the data.
virtual void vtkViewTheme::ScaleCellLookupTableOff | ( | ) | [virtual] |
Whether to scale the lookup table to fit the range of the data.
The color of any outlines in the view.
virtual void vtkViewTheme::SetOutlineColor | ( | double | [3] | ) | [virtual] |
The color of any outlines in the view.
virtual double* vtkViewTheme::GetOutlineColor | ( | ) | [virtual] |
The color of any outlines in the view.
The color of any outlines in the view.
virtual void vtkViewTheme::GetOutlineColor | ( | double | [3] | ) | [virtual] |
The color of any outlines in the view.
The color of selected points or vertices.
virtual void vtkViewTheme::SetSelectedPointColor | ( | double | [3] | ) | [virtual] |
The color of selected points or vertices.
virtual double* vtkViewTheme::GetSelectedPointColor | ( | ) | [virtual] |
The color of selected points or vertices.
The color of selected points or vertices.
virtual void vtkViewTheme::GetSelectedPointColor | ( | double | [3] | ) | [virtual] |
The color of selected points or vertices.
virtual void vtkViewTheme::SetSelectedPointOpacity | ( | double | ) | [virtual] |
The color of selected points or vertices.
virtual double vtkViewTheme::GetSelectedPointOpacity | ( | ) | [virtual] |
The color of selected points or vertices.
The color of selected cells or edges.
virtual void vtkViewTheme::SetSelectedCellColor | ( | double | [3] | ) | [virtual] |
The color of selected cells or edges.
virtual double* vtkViewTheme::GetSelectedCellColor | ( | ) | [virtual] |
The color of selected cells or edges.
The color of selected cells or edges.
virtual void vtkViewTheme::GetSelectedCellColor | ( | double | [3] | ) | [virtual] |
The color of selected cells or edges.
virtual void vtkViewTheme::SetSelectedCellOpacity | ( | double | ) | [virtual] |
The color of selected cells or edges.
virtual double vtkViewTheme::GetSelectedCellOpacity | ( | ) | [virtual] |
The color of selected cells or edges.
The view background color.
virtual void vtkViewTheme::SetBackgroundColor | ( | double | [3] | ) | [virtual] |
The view background color.
virtual double* vtkViewTheme::GetBackgroundColor | ( | ) | [virtual] |
The view background color.
The view background color.
virtual void vtkViewTheme::GetBackgroundColor | ( | double | [3] | ) | [virtual] |
The view background color.
The second background color (for gradients).
virtual void vtkViewTheme::SetBackgroundColor2 | ( | double | [3] | ) | [virtual] |
The second background color (for gradients).
virtual double* vtkViewTheme::GetBackgroundColor2 | ( | ) | [virtual] |
The second background color (for gradients).
The second background color (for gradients).
virtual void vtkViewTheme::GetBackgroundColor2 | ( | double | [3] | ) | [virtual] |
The second background color (for gradients).
virtual void vtkViewTheme::SetPointTextProperty | ( | vtkTextProperty * | tprop | ) | [virtual] |
The text property to use for labelling points/vertices.
virtual vtkTextProperty* vtkViewTheme::GetPointTextProperty | ( | ) | [virtual] |
The text property to use for labelling points/vertices.
virtual void vtkViewTheme::SetCellTextProperty | ( | vtkTextProperty * | tprop | ) | [virtual] |
The text property to use for labelling edges/cells.
virtual vtkTextProperty* vtkViewTheme::GetCellTextProperty | ( | ) | [virtual] |
The text property to use for labelling edges/cells.
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
virtual void vtkViewTheme::SetVertexLabelColor | ( | double | c[3] | ) | [inline, virtual] |
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
Definition at line 217 of file vtkViewTheme.h.
virtual double* vtkViewTheme::GetVertexLabelColor | ( | ) | [virtual] |
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
virtual void vtkViewTheme::GetVertexLabelColor | ( | double & | r, |
double & | g, | ||
double & | b | ||
) | [inline, virtual] |
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
Definition at line 220 of file vtkViewTheme.h.
virtual void vtkViewTheme::GetVertexLabelColor | ( | double | c[3] | ) | [inline, virtual] |
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
Definition at line 222 of file vtkViewTheme.h.
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
virtual void vtkViewTheme::SetEdgeLabelColor | ( | double | c[3] | ) | [inline, virtual] |
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
Definition at line 230 of file vtkViewTheme.h.
virtual double* vtkViewTheme::GetEdgeLabelColor | ( | ) | [virtual] |
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
virtual void vtkViewTheme::GetEdgeLabelColor | ( | double & | r, |
double & | g, | ||
double & | b | ||
) | [inline, virtual] |
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
Definition at line 233 of file vtkViewTheme.h.
virtual void vtkViewTheme::GetEdgeLabelColor | ( | double | c[3] | ) | [inline, virtual] |
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
Definition at line 235 of file vtkViewTheme.h.
static vtkViewTheme* vtkViewTheme::CreateOceanTheme | ( | ) | [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 vtkViewTheme* vtkViewTheme::CreateMellowTheme | ( | ) | [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 vtkViewTheme* vtkViewTheme::CreateNeonTheme | ( | ) | [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.
double vtkViewTheme::PointSize [protected] |
Definition at line 259 of file vtkViewTheme.h.
double vtkViewTheme::LineWidth [protected] |
Definition at line 260 of file vtkViewTheme.h.
double vtkViewTheme::PointColor[3] [protected] |
Definition at line 262 of file vtkViewTheme.h.
double vtkViewTheme::PointOpacity [protected] |
Definition at line 263 of file vtkViewTheme.h.
double vtkViewTheme::CellColor[3] [protected] |
Definition at line 265 of file vtkViewTheme.h.
double vtkViewTheme::CellOpacity [protected] |
Definition at line 266 of file vtkViewTheme.h.
double vtkViewTheme::OutlineColor[3] [protected] |
Definition at line 268 of file vtkViewTheme.h.
double vtkViewTheme::SelectedPointColor[3] [protected] |
Definition at line 270 of file vtkViewTheme.h.
double vtkViewTheme::SelectedPointOpacity [protected] |
Definition at line 271 of file vtkViewTheme.h.
double vtkViewTheme::SelectedCellColor[3] [protected] |
Definition at line 272 of file vtkViewTheme.h.
double vtkViewTheme::SelectedCellOpacity [protected] |
Definition at line 273 of file vtkViewTheme.h.
double vtkViewTheme::BackgroundColor[3] [protected] |
Definition at line 275 of file vtkViewTheme.h.
double vtkViewTheme::BackgroundColor2[3] [protected] |
Definition at line 276 of file vtkViewTheme.h.
vtkScalarsToColors* vtkViewTheme::PointLookupTable [protected] |
Definition at line 278 of file vtkViewTheme.h.
vtkScalarsToColors* vtkViewTheme::CellLookupTable [protected] |
Definition at line 279 of file vtkViewTheme.h.
bool vtkViewTheme::ScalePointLookupTable [protected] |
Definition at line 281 of file vtkViewTheme.h.
bool vtkViewTheme::ScaleCellLookupTable [protected] |
Definition at line 282 of file vtkViewTheme.h.
vtkTextProperty* vtkViewTheme::PointTextProperty [protected] |
Definition at line 284 of file vtkViewTheme.h.
vtkTextProperty* vtkViewTheme::CellTextProperty [protected] |
Definition at line 285 of file vtkViewTheme.h.