VTK
|
Sets theme colors for a graphical view. More...
#include <vtkViewTheme.h>
Public Types | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
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) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkViewTheme * | New () |
static int | IsTypeOf (const char *type) |
static vtkViewTheme * | SafeDownCast (vtkObject *o) |
static vtkViewTheme * | CreateOceanTheme () |
static vtkViewTheme * | CreateMellowTheme () |
static vtkViewTheme * | CreateNeonTheme () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObject *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Member Functions | |
vtkViewTheme () | |
~vtkViewTheme () | |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
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 |
![]() | |
unsigned char | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
int | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
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 |
Definition at line 50 of file vtkViewTheme.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkObject.
|
static |
|
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 |
|
virtual |
|
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 217 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 220 of file vtkViewTheme.h.
|
inlinevirtual |
The color to use for labelling graph vertices. This is deprecated. Use GetPointTextProperty()->SetColor() instead.
Definition at line 222 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 230 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 233 of file vtkViewTheme.h.
|
inlinevirtual |
The color to use for labelling graph edges. This is deprecated. Use GetCellTextProperty()->SetColor() instead.
Definition at line 235 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 259 of file vtkViewTheme.h.
|
protected |
Definition at line 260 of file vtkViewTheme.h.
|
protected |
Definition at line 262 of file vtkViewTheme.h.
|
protected |
Definition at line 263 of file vtkViewTheme.h.
|
protected |
Definition at line 265 of file vtkViewTheme.h.
|
protected |
Definition at line 266 of file vtkViewTheme.h.
|
protected |
Definition at line 268 of file vtkViewTheme.h.
|
protected |
Definition at line 270 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 275 of file vtkViewTheme.h.
|
protected |
Definition at line 276 of file vtkViewTheme.h.
|
protected |
Definition at line 278 of file vtkViewTheme.h.
|
protected |
Definition at line 279 of file vtkViewTheme.h.
|
protected |
Definition at line 281 of file vtkViewTheme.h.
|
protected |
Definition at line 282 of file vtkViewTheme.h.
|
protected |
Definition at line 284 of file vtkViewTheme.h.
|
protected |
Definition at line 285 of file vtkViewTheme.h.