VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkViewTheme Class Reference

Sets theme colors for a graphical view. More...

#include <vtkViewTheme.h>

Inheritance diagram for vtkViewTheme:
[legend]
Collaboration diagram for vtkViewTheme:
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkViewThemeNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void SetPointSaturationRange (double mn, double mx)
 
virtual void SetPointSaturationRange (double rng[2])
 
virtual doubleGetPointSaturationRange ()
 
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 doubleGetPointValueRange ()
 
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 doubleGetPointAlphaRange ()
 
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 doubleGetCellSaturationRange ()
 
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 doubleGetCellValueRange ()
 
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 doubleGetCellAlphaRange ()
 
virtual void GetCellAlphaRange (double &mn, double &mx)
 
virtual void GetCellAlphaRange (double rng[2])
 
virtual void SetPointSize (double)
 The size of points or vertices. More...
 
virtual double GetPointSize ()
 The size of points or vertices. More...
 
virtual void SetLineWidth (double)
 The width of lines or edges. More...
 
virtual double GetLineWidth ()
 The width of lines or edges. More...
 
virtual void SetPointColor (double, double, double)
 The color and opacity of points or vertices when not mapped through a lookup table. More...
 
virtual void SetPointColor (double[3])
 The color and opacity of points or vertices when not mapped through a lookup table. More...
 
virtual doubleGetPointColor ()
 The color and opacity of points or vertices when not mapped through a lookup table. More...
 
virtual void GetPointColor (double &, double &, double &)
 The color and opacity of points or vertices when not mapped through a lookup table. More...
 
virtual void GetPointColor (double[3])
 The color and opacity of points or vertices when not mapped through a lookup table. More...
 
virtual void SetPointOpacity (double)
 The color and opacity of points or vertices when not mapped through a lookup table. More...
 
virtual double GetPointOpacity ()
 The color and opacity of points or vertices when not mapped through a lookup table. More...
 
virtual void SetPointHueRange (double mn, double mx)
 The ranges to use in the point lookup table. More...
 
virtual void SetPointHueRange (double rng[2])
 The ranges to use in the point lookup table. More...
 
virtual doubleGetPointHueRange ()
 The ranges to use in the point lookup table. More...
 
virtual void GetPointHueRange (double &mn, double &mx)
 The ranges to use in the point lookup table. More...
 
virtual void GetPointHueRange (double rng[2])
 The ranges to use in the point lookup table. More...
 
virtual vtkScalarsToColorsGetPointLookupTable ()
 Set/Get the point lookup table. More...
 
virtual void SetPointLookupTable (vtkScalarsToColors *lut)
 Set/Get the point lookup table. More...
 
virtual void SetScalePointLookupTable (bool)
 Whether to scale the lookup table to fit the range of the data. More...
 
virtual bool GetScalePointLookupTable ()
 Whether to scale the lookup table to fit the range of the data. More...
 
virtual void ScalePointLookupTableOn ()
 Whether to scale the lookup table to fit the range of the data. More...
 
virtual void ScalePointLookupTableOff ()
 Whether to scale the lookup table to fit the range of the data. More...
 
virtual void SetCellColor (double, double, double)
 The color and opacity of cells or edges when not mapped through a lookup table. More...
 
virtual void SetCellColor (double[3])
 The color and opacity of cells or edges when not mapped through a lookup table. More...
 
virtual doubleGetCellColor ()
 The color and opacity of cells or edges when not mapped through a lookup table. More...
 
virtual void GetCellColor (double &, double &, double &)
 The color and opacity of cells or edges when not mapped through a lookup table. More...
 
virtual void GetCellColor (double[3])
 The color and opacity of cells or edges when not mapped through a lookup table. More...
 
virtual void SetCellOpacity (double)
 The color and opacity of cells or edges when not mapped through a lookup table. More...
 
virtual double GetCellOpacity ()
 The color and opacity of cells or edges when not mapped through a lookup table. More...
 
virtual void SetCellHueRange (double mn, double mx)
 The ranges to use in the cell lookup table. More...
 
virtual void SetCellHueRange (double rng[2])
 The ranges to use in the cell lookup table. More...
 
virtual doubleGetCellHueRange ()
 The ranges to use in the cell lookup table. More...
 
virtual void GetCellHueRange (double &mn, double &mx)
 The ranges to use in the cell lookup table. More...
 
virtual void GetCellHueRange (double rng[2])
 The ranges to use in the cell lookup table. More...
 
virtual vtkScalarsToColorsGetCellLookupTable ()
 Set/Get the cell lookup table. More...
 
virtual void SetCellLookupTable (vtkScalarsToColors *lut)
 Set/Get the cell lookup table. More...
 
virtual void SetScaleCellLookupTable (bool)
 Whether to scale the lookup table to fit the range of the data. More...
 
virtual bool GetScaleCellLookupTable ()
 Whether to scale the lookup table to fit the range of the data. More...
 
virtual void ScaleCellLookupTableOn ()
 Whether to scale the lookup table to fit the range of the data. More...
 
virtual void ScaleCellLookupTableOff ()
 Whether to scale the lookup table to fit the range of the data. More...
 
virtual void SetOutlineColor (double, double, double)
 The color of any outlines in the view. More...
 
virtual void SetOutlineColor (double[3])
 The color of any outlines in the view. More...
 
virtual doubleGetOutlineColor ()
 The color of any outlines in the view. More...
 
virtual void GetOutlineColor (double &, double &, double &)
 The color of any outlines in the view. More...
 
virtual void GetOutlineColor (double[3])
 The color of any outlines in the view. More...
 
virtual void SetSelectedPointColor (double, double, double)
 The color of selected points or vertices. More...
 
virtual void SetSelectedPointColor (double[3])
 The color of selected points or vertices. More...
 
virtual doubleGetSelectedPointColor ()
 The color of selected points or vertices. More...
 
virtual void GetSelectedPointColor (double &, double &, double &)
 The color of selected points or vertices. More...
 
virtual void GetSelectedPointColor (double[3])
 The color of selected points or vertices. More...
 
virtual void SetSelectedPointOpacity (double)
 The color of selected points or vertices. More...
 
virtual double GetSelectedPointOpacity ()
 The color of selected points or vertices. More...
 
virtual void SetSelectedCellColor (double, double, double)
 The color of selected cells or edges. More...
 
virtual void SetSelectedCellColor (double[3])
 The color of selected cells or edges. More...
 
virtual doubleGetSelectedCellColor ()
 The color of selected cells or edges. More...
 
virtual void GetSelectedCellColor (double &, double &, double &)
 The color of selected cells or edges. More...
 
virtual void GetSelectedCellColor (double[3])
 The color of selected cells or edges. More...
 
virtual void SetSelectedCellOpacity (double)
 The color of selected cells or edges. More...
 
virtual double GetSelectedCellOpacity ()
 The color of selected cells or edges. More...
 
virtual void SetBackgroundColor (double, double, double)
 The view background color. More...
 
virtual void SetBackgroundColor (double[3])
 The view background color. More...
 
virtual doubleGetBackgroundColor ()
 The view background color. More...
 
virtual void GetBackgroundColor (double &, double &, double &)
 The view background color. More...
 
virtual void GetBackgroundColor (double[3])
 The view background color. More...
 
virtual void SetBackgroundColor2 (double, double, double)
 The second background color (for gradients). More...
 
virtual void SetBackgroundColor2 (double[3])
 The second background color (for gradients). More...
 
virtual doubleGetBackgroundColor2 ()
 The second background color (for gradients). More...
 
virtual void GetBackgroundColor2 (double &, double &, double &)
 The second background color (for gradients). More...
 
virtual void GetBackgroundColor2 (double[3])
 The second background color (for gradients). More...
 
virtual void SetPointTextProperty (vtkTextProperty *tprop)
 The text property to use for labeling points/vertices. More...
 
virtual vtkTextPropertyGetPointTextProperty ()
 The text property to use for labeling points/vertices. More...
 
virtual void SetCellTextProperty (vtkTextProperty *tprop)
 The text property to use for labeling edges/cells. More...
 
virtual vtkTextPropertyGetCellTextProperty ()
 The text property to use for labeling edges/cells. More...
 
virtual void SetVertexLabelColor (double r, double g, double b)
 The color to use for labeling graph vertices. More...
 
virtual void SetVertexLabelColor (double c[3])
 The color to use for labeling graph vertices. More...
 
virtual doubleGetVertexLabelColor ()
 The color to use for labeling graph vertices. More...
 
virtual void GetVertexLabelColor (double &r, double &g, double &b)
 The color to use for labeling graph vertices. More...
 
virtual void GetVertexLabelColor (double c[3])
 The color to use for labeling graph vertices. More...
 
virtual void SetEdgeLabelColor (double r, double g, double b)
 The color to use for labeling graph edges. More...
 
virtual void SetEdgeLabelColor (double c[3])
 The color to use for labeling graph edges. More...
 
virtual doubleGetEdgeLabelColor ()
 The color to use for labeling graph edges. More...
 
virtual void GetEdgeLabelColor (double &r, double &g, double &b)
 The color to use for labeling graph edges. More...
 
virtual void GetEdgeLabelColor (double c[3])
 The color to use for labeling graph edges. More...
 
bool LookupMatchesPointTheme (vtkScalarsToColors *s2c)
 Whether a given lookup table matches the point or cell theme of this theme. More...
 
bool LookupMatchesCellTheme (vtkScalarsToColors *s2c)
 Whether a given lookup table matches the point or cell theme of this theme. More...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time. More...
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
vtkTypeBool HasObserver (unsigned long event)
 
vtkTypeBool HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
vtkCommandGetCommand (unsigned long tag)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
void RemoveObserver (vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
void RemoveObservers (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
void RemoveObservers (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method. More...
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
int InvokeEvent (const char *event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string. More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
virtual void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object). More...
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object). More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
void PrintRevisions (ostream &)
 Legacy. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 

Static Public Member Functions

static vtkViewThemeNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkViewThemeSafeDownCast (vtkObjectBase *o)
 
static vtkViewThemeCreateOceanTheme ()
 Convenience methods for creating some default view themes. More...
 
static vtkViewThemeCreateMellowTheme ()
 Convenience methods for creating some default view themes. More...
 
static vtkViewThemeCreateNeonTheme ()
 Convenience methods for creating some default view themes. More...
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static int GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkViewTheme ()
 
 ~vtkViewTheme () override
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr)
 These methods allow a command to exclusively grab all events. More...
 
void InternalReleaseFocus ()
 These methods allow a command to exclusively grab all events. More...
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
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]
 
vtkScalarsToColorsPointLookupTable
 
vtkScalarsToColorsCellLookupTable
 
bool ScalePointLookupTable
 
bool ScaleCellLookupTable
 
vtkTextPropertyPointTextProperty
 
vtkTextPropertyCellTextProperty
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

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.

Examples:
vtkViewTheme (Examples)
Tests:
vtkViewTheme (Tests)

Definition at line 48 of file vtkViewTheme.h.

Member Typedef Documentation

Definition at line 52 of file vtkViewTheme.h.

Constructor & Destructor Documentation

vtkViewTheme::vtkViewTheme ( )
protected
vtkViewTheme::~vtkViewTheme ( )
overrideprotected

Member Function Documentation

static vtkViewTheme* vtkViewTheme::New ( )
static
static vtkTypeBool vtkViewTheme::IsTypeOf ( const char *  type)
static
virtual vtkTypeBool 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 vtkObjectBase.

static vtkViewTheme* vtkViewTheme::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkViewTheme::NewInstanceInternal ( ) const
protectedvirtual
vtkViewTheme* vtkViewTheme::NewInstance ( ) const
void vtkViewTheme::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Methods invoked by print to print information about the object including superclasses.

Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

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.

virtual void vtkViewTheme::SetPointColor ( double  ,
double  ,
double   
)
virtual

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.

virtual void vtkViewTheme::GetPointColor ( double ,
double ,
double  
)
virtual

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.

virtual void vtkViewTheme::SetPointHueRange ( double  mn,
double  mx 
)
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::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.

virtual void vtkViewTheme::GetPointHueRange ( double mn,
double mx 
)
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::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  mn,
double  mx 
)
virtual
virtual void vtkViewTheme::SetPointSaturationRange ( double  rng[2])
virtual
virtual double* vtkViewTheme::GetPointSaturationRange ( )
virtual
virtual void vtkViewTheme::GetPointSaturationRange ( double mn,
double mx 
)
virtual
virtual void vtkViewTheme::GetPointSaturationRange ( double  rng[2])
virtual
virtual void vtkViewTheme::SetPointValueRange ( double  mn,
double  mx 
)
virtual
virtual void vtkViewTheme::SetPointValueRange ( double  rng[2])
virtual
virtual double* vtkViewTheme::GetPointValueRange ( )
virtual
virtual void vtkViewTheme::GetPointValueRange ( double mn,
double mx 
)
virtual
virtual void vtkViewTheme::GetPointValueRange ( double  rng[2])
virtual
virtual void vtkViewTheme::SetPointAlphaRange ( double  mn,
double  mx 
)
virtual
virtual void vtkViewTheme::SetPointAlphaRange ( double  rng[2])
virtual
virtual double* vtkViewTheme::GetPointAlphaRange ( )
virtual
virtual void vtkViewTheme::GetPointAlphaRange ( double mn,
double mx 
)
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.

virtual void vtkViewTheme::SetCellColor ( double  ,
double  ,
double   
)
virtual

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.

virtual void vtkViewTheme::GetCellColor ( double ,
double ,
double  
)
virtual

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.

virtual void vtkViewTheme::SetCellHueRange ( double  mn,
double  mx 
)
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::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.

virtual void vtkViewTheme::GetCellHueRange ( double mn,
double mx 
)
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::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  mn,
double  mx 
)
virtual
virtual void vtkViewTheme::SetCellSaturationRange ( double  rng[2])
virtual
virtual double* vtkViewTheme::GetCellSaturationRange ( )
virtual
virtual void vtkViewTheme::GetCellSaturationRange ( double mn,
double mx 
)
virtual
virtual void vtkViewTheme::GetCellSaturationRange ( double  rng[2])
virtual
virtual void vtkViewTheme::SetCellValueRange ( double  mn,
double  mx 
)
virtual
virtual void vtkViewTheme::SetCellValueRange ( double  rng[2])
virtual
virtual double* vtkViewTheme::GetCellValueRange ( )
virtual
virtual void vtkViewTheme::GetCellValueRange ( double mn,
double mx 
)
virtual
virtual void vtkViewTheme::GetCellValueRange ( double  rng[2])
virtual
virtual void vtkViewTheme::SetCellAlphaRange ( double  mn,
double  mx 
)
virtual
virtual void vtkViewTheme::SetCellAlphaRange ( double  rng[2])
virtual
virtual double* vtkViewTheme::GetCellAlphaRange ( )
virtual
virtual void vtkViewTheme::GetCellAlphaRange ( double mn,
double mx 
)
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.

virtual void vtkViewTheme::SetOutlineColor ( double  ,
double  ,
double   
)
virtual

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.

virtual void vtkViewTheme::GetOutlineColor ( double ,
double ,
double  
)
virtual

The color of any outlines in the view.

virtual void vtkViewTheme::GetOutlineColor ( double  [3])
virtual

The color of any outlines in the view.

virtual void vtkViewTheme::SetSelectedPointColor ( double  ,
double  ,
double   
)
virtual

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.

virtual void vtkViewTheme::GetSelectedPointColor ( double ,
double ,
double  
)
virtual

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.

virtual void vtkViewTheme::SetSelectedCellColor ( double  ,
double  ,
double   
)
virtual

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.

virtual void vtkViewTheme::GetSelectedCellColor ( double ,
double ,
double  
)
virtual

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.

virtual void vtkViewTheme::SetBackgroundColor ( double  ,
double  ,
double   
)
virtual

The view background color.

virtual void vtkViewTheme::SetBackgroundColor ( double  [3])
virtual

The view background color.

virtual double* vtkViewTheme::GetBackgroundColor ( )
virtual

The view background color.

virtual void vtkViewTheme::GetBackgroundColor ( double ,
double ,
double  
)
virtual

The view background color.

virtual void vtkViewTheme::GetBackgroundColor ( double  [3])
virtual

The view background color.

virtual void vtkViewTheme::SetBackgroundColor2 ( double  ,
double  ,
double   
)
virtual

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).

virtual void vtkViewTheme::GetBackgroundColor2 ( double ,
double ,
double  
)
virtual

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 labeling points/vertices.

virtual vtkTextProperty* vtkViewTheme::GetPointTextProperty ( )
virtual

The text property to use for labeling points/vertices.

virtual void vtkViewTheme::SetCellTextProperty ( vtkTextProperty tprop)
virtual

The text property to use for labeling edges/cells.

virtual vtkTextProperty* vtkViewTheme::GetCellTextProperty ( )
virtual

The text property to use for labeling edges/cells.

virtual void vtkViewTheme::SetVertexLabelColor ( double  r,
double  g,
double  b 
)
virtual

The color to use for labeling graph vertices.

This is deprecated. Use GetPointTextProperty()->SetColor() instead.

virtual void vtkViewTheme::SetVertexLabelColor ( double  c[3])
inlinevirtual

The color to use for labeling graph vertices.

This is deprecated. Use GetPointTextProperty()->SetColor() instead.

Definition at line 255 of file vtkViewTheme.h.

virtual double* vtkViewTheme::GetVertexLabelColor ( )
virtual

The color to use for labeling graph vertices.

This is deprecated. Use GetPointTextProperty()->SetColor() instead.

virtual void vtkViewTheme::GetVertexLabelColor ( double r,
double g,
double b 
)
inlinevirtual

The color to use for labeling graph vertices.

This is deprecated. Use GetPointTextProperty()->SetColor() instead.

Definition at line 258 of file vtkViewTheme.h.

virtual void vtkViewTheme::GetVertexLabelColor ( double  c[3])
inlinevirtual

The color to use for labeling graph vertices.

This is deprecated. Use GetPointTextProperty()->SetColor() instead.

Definition at line 260 of file vtkViewTheme.h.

virtual void vtkViewTheme::SetEdgeLabelColor ( double  r,
double  g,
double  b 
)
virtual

The color to use for labeling graph edges.

This is deprecated. Use GetCellTextProperty()->SetColor() instead.

virtual void vtkViewTheme::SetEdgeLabelColor ( double  c[3])
inlinevirtual

The color to use for labeling graph edges.

This is deprecated. Use GetCellTextProperty()->SetColor() instead.

Definition at line 270 of file vtkViewTheme.h.

virtual double* vtkViewTheme::GetEdgeLabelColor ( )
virtual

The color to use for labeling graph edges.

This is deprecated. Use GetCellTextProperty()->SetColor() instead.

virtual void vtkViewTheme::GetEdgeLabelColor ( double r,
double g,
double b 
)
inlinevirtual

The color to use for labeling graph edges.

This is deprecated. Use GetCellTextProperty()->SetColor() instead.

Definition at line 273 of file vtkViewTheme.h.

virtual void vtkViewTheme::GetEdgeLabelColor ( double  c[3])
inlinevirtual

The color to use for labeling graph edges.

This is deprecated. Use GetCellTextProperty()->SetColor() instead.

Definition at line 275 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.

Member Data Documentation

double vtkViewTheme::PointSize
protected

Definition at line 303 of file vtkViewTheme.h.

double vtkViewTheme::LineWidth
protected

Definition at line 304 of file vtkViewTheme.h.

double vtkViewTheme::PointColor[3]
protected

Definition at line 306 of file vtkViewTheme.h.

double vtkViewTheme::PointOpacity
protected

Definition at line 307 of file vtkViewTheme.h.

double vtkViewTheme::CellColor[3]
protected

Definition at line 309 of file vtkViewTheme.h.

double vtkViewTheme::CellOpacity
protected

Definition at line 310 of file vtkViewTheme.h.

double vtkViewTheme::OutlineColor[3]
protected

Definition at line 312 of file vtkViewTheme.h.

double vtkViewTheme::SelectedPointColor[3]
protected

Definition at line 314 of file vtkViewTheme.h.

double vtkViewTheme::SelectedPointOpacity
protected

Definition at line 315 of file vtkViewTheme.h.

double vtkViewTheme::SelectedCellColor[3]
protected

Definition at line 316 of file vtkViewTheme.h.

double vtkViewTheme::SelectedCellOpacity
protected

Definition at line 317 of file vtkViewTheme.h.

double vtkViewTheme::BackgroundColor[3]
protected

Definition at line 319 of file vtkViewTheme.h.

double vtkViewTheme::BackgroundColor2[3]
protected

Definition at line 320 of file vtkViewTheme.h.

vtkScalarsToColors* vtkViewTheme::PointLookupTable
protected

Definition at line 322 of file vtkViewTheme.h.

vtkScalarsToColors* vtkViewTheme::CellLookupTable
protected

Definition at line 323 of file vtkViewTheme.h.

bool vtkViewTheme::ScalePointLookupTable
protected

Definition at line 325 of file vtkViewTheme.h.

bool vtkViewTheme::ScaleCellLookupTable
protected

Definition at line 326 of file vtkViewTheme.h.

vtkTextProperty* vtkViewTheme::PointTextProperty
protected

Definition at line 328 of file vtkViewTheme.h.

vtkTextProperty* vtkViewTheme::CellTextProperty
protected

Definition at line 329 of file vtkViewTheme.h.


The documentation for this class was generated from the following file: