VTK  9.1.0
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 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)
 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 double * GetPointColor ()
 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 double * GetPointHueRange ()
 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 double * GetCellColor ()
 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 double * GetCellHueRange ()
 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 double * GetOutlineColor ()
 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 double * GetSelectedPointColor ()
 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 double * GetSelectedCellColor ()
 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 double * GetBackgroundColor ()
 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 double * GetBackgroundColor2 ()
 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 double * GetVertexLabelColor ()
 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 double * GetEdgeLabelColor ()
 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 PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. 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 vtkTypeBool IsA (const char *name)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
virtual vtkIdType GetNumberOfGenerationsFromBase (const char *name)
 Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). 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...
 
bool GetIsInMemkind () const
 A local state flag that remembers whether this object lives in the normal or extended memory space. 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 vtkIdType GetNumberOfGenerationsFromBaseType (const char *name)
 Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void SetMemkindDirectory (const char *directoryname)
 The name of a directory, ideally mounted -o dax, to memory map an extended memory space within. More...
 
static bool GetUsingMemkind ()
 A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space. 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 RegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
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
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkObjectBase
static vtkMallocingFunction GetCurrentMallocFunction ()
 
static vtkReallocingFunction GetCurrentReallocFunction ()
 
static vtkFreeingFunction GetCurrentFreeFunction ()
 
static vtkFreeingFunction GetAlternateFreeFunction ()
 

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.

Online Examples:

Definition at line 131 of file vtkViewTheme.h.

Member Typedef Documentation

◆ Superclass

Definition at line 135 of file vtkViewTheme.h.

Constructor & Destructor Documentation

◆ vtkViewTheme()

vtkViewTheme::vtkViewTheme ( )
protected

◆ ~vtkViewTheme()

vtkViewTheme::~vtkViewTheme ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkViewTheme * vtkViewTheme::New ( )
static

◆ IsTypeOf()

static vtkTypeBool vtkViewTheme::IsTypeOf ( const char *  type)
static

◆ IsA()

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.

◆ SafeDownCast()

static vtkViewTheme * vtkViewTheme::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase * vtkViewTheme::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkViewTheme * vtkViewTheme::NewInstance ( ) const

◆ PrintSelf()

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.

◆ SetPointSize()

virtual void vtkViewTheme::SetPointSize ( double  )
virtual

The size of points or vertices.

◆ GetPointSize()

virtual double vtkViewTheme::GetPointSize ( )
virtual

The size of points or vertices.

◆ SetLineWidth()

virtual void vtkViewTheme::SetLineWidth ( double  )
virtual

The width of lines or edges.

◆ GetLineWidth()

virtual double vtkViewTheme::GetLineWidth ( )
virtual

The width of lines or edges.

◆ SetPointColor() [1/2]

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

The color and opacity of points or vertices when not mapped through a lookup table.

◆ SetPointColor() [2/2]

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

The color and opacity of points or vertices when not mapped through a lookup table.

◆ GetPointColor() [1/3]

virtual double * vtkViewTheme::GetPointColor ( )
virtual

The color and opacity of points or vertices when not mapped through a lookup table.

◆ GetPointColor() [2/3]

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

The color and opacity of points or vertices when not mapped through a lookup table.

◆ GetPointColor() [3/3]

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

The color and opacity of points or vertices when not mapped through a lookup table.

◆ SetPointOpacity()

virtual void vtkViewTheme::SetPointOpacity ( double  )
virtual

The color and opacity of points or vertices when not mapped through a lookup table.

◆ GetPointOpacity()

virtual double vtkViewTheme::GetPointOpacity ( )
virtual

The color and opacity of points or vertices when not mapped through a lookup table.

◆ SetPointHueRange() [1/2]

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.

◆ SetPointHueRange() [2/2]

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.

◆ GetPointHueRange() [1/3]

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.

◆ GetPointHueRange() [2/3]

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.

◆ GetPointHueRange() [3/3]

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.

◆ SetPointSaturationRange() [1/2]

virtual void vtkViewTheme::SetPointSaturationRange ( double  mn,
double  mx 
)
virtual

◆ SetPointSaturationRange() [2/2]

virtual void vtkViewTheme::SetPointSaturationRange ( double  rng[2])
virtual

◆ GetPointSaturationRange() [1/3]

virtual double * vtkViewTheme::GetPointSaturationRange ( )
virtual

◆ GetPointSaturationRange() [2/3]

virtual void vtkViewTheme::GetPointSaturationRange ( double &  mn,
double &  mx 
)
virtual

◆ GetPointSaturationRange() [3/3]

virtual void vtkViewTheme::GetPointSaturationRange ( double  rng[2])
virtual

◆ SetPointValueRange() [1/2]

virtual void vtkViewTheme::SetPointValueRange ( double  mn,
double  mx 
)
virtual

◆ SetPointValueRange() [2/2]

virtual void vtkViewTheme::SetPointValueRange ( double  rng[2])
virtual

◆ GetPointValueRange() [1/3]

virtual double * vtkViewTheme::GetPointValueRange ( )
virtual

◆ GetPointValueRange() [2/3]

virtual void vtkViewTheme::GetPointValueRange ( double &  mn,
double &  mx 
)
virtual

◆ GetPointValueRange() [3/3]

virtual void vtkViewTheme::GetPointValueRange ( double  rng[2])
virtual

◆ SetPointAlphaRange() [1/2]

virtual void vtkViewTheme::SetPointAlphaRange ( double  mn,
double  mx 
)
virtual

◆ SetPointAlphaRange() [2/2]

virtual void vtkViewTheme::SetPointAlphaRange ( double  rng[2])
virtual

◆ GetPointAlphaRange() [1/3]

virtual double * vtkViewTheme::GetPointAlphaRange ( )
virtual

◆ GetPointAlphaRange() [2/3]

virtual void vtkViewTheme::GetPointAlphaRange ( double &  mn,
double &  mx 
)
virtual

◆ GetPointAlphaRange() [3/3]

virtual void vtkViewTheme::GetPointAlphaRange ( double  rng[2])
virtual

◆ GetPointLookupTable()

virtual vtkScalarsToColors * vtkViewTheme::GetPointLookupTable ( )
virtual

Set/Get the point lookup table.

◆ SetPointLookupTable()

virtual void vtkViewTheme::SetPointLookupTable ( vtkScalarsToColors lut)
virtual

Set/Get the point lookup table.

◆ SetScalePointLookupTable()

virtual void vtkViewTheme::SetScalePointLookupTable ( bool  )
virtual

Whether to scale the lookup table to fit the range of the data.

◆ GetScalePointLookupTable()

virtual bool vtkViewTheme::GetScalePointLookupTable ( )
virtual

Whether to scale the lookup table to fit the range of the data.

◆ ScalePointLookupTableOn()

virtual void vtkViewTheme::ScalePointLookupTableOn ( )
virtual

Whether to scale the lookup table to fit the range of the data.

◆ ScalePointLookupTableOff()

virtual void vtkViewTheme::ScalePointLookupTableOff ( )
virtual

Whether to scale the lookup table to fit the range of the data.

◆ SetCellColor() [1/2]

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

The color and opacity of cells or edges when not mapped through a lookup table.

◆ SetCellColor() [2/2]

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

The color and opacity of cells or edges when not mapped through a lookup table.

◆ GetCellColor() [1/3]

virtual double * vtkViewTheme::GetCellColor ( )
virtual

The color and opacity of cells or edges when not mapped through a lookup table.

◆ GetCellColor() [2/3]

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

The color and opacity of cells or edges when not mapped through a lookup table.

◆ GetCellColor() [3/3]

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

The color and opacity of cells or edges when not mapped through a lookup table.

◆ SetCellOpacity()

virtual void vtkViewTheme::SetCellOpacity ( double  )
virtual

The color and opacity of cells or edges when not mapped through a lookup table.

◆ GetCellOpacity()

virtual double vtkViewTheme::GetCellOpacity ( )
virtual

The color and opacity of cells or edges when not mapped through a lookup table.

◆ SetCellHueRange() [1/2]

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.

◆ SetCellHueRange() [2/2]

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.

◆ GetCellHueRange() [1/3]

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.

◆ GetCellHueRange() [2/3]

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.

◆ GetCellHueRange() [3/3]

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.

◆ SetCellSaturationRange() [1/2]

virtual void vtkViewTheme::SetCellSaturationRange ( double  mn,
double  mx 
)
virtual

◆ SetCellSaturationRange() [2/2]

virtual void vtkViewTheme::SetCellSaturationRange ( double  rng[2])
virtual

◆ GetCellSaturationRange() [1/3]

virtual double * vtkViewTheme::GetCellSaturationRange ( )
virtual

◆ GetCellSaturationRange() [2/3]

virtual void vtkViewTheme::GetCellSaturationRange ( double &  mn,
double &  mx 
)
virtual

◆ GetCellSaturationRange() [3/3]

virtual void vtkViewTheme::GetCellSaturationRange ( double  rng[2])
virtual

◆ SetCellValueRange() [1/2]

virtual void vtkViewTheme::SetCellValueRange ( double  mn,
double  mx 
)
virtual

◆ SetCellValueRange() [2/2]

virtual void vtkViewTheme::SetCellValueRange ( double  rng[2])
virtual

◆ GetCellValueRange() [1/3]

virtual double * vtkViewTheme::GetCellValueRange ( )
virtual

◆ GetCellValueRange() [2/3]

virtual void vtkViewTheme::GetCellValueRange ( double &  mn,
double &  mx 
)
virtual

◆ GetCellValueRange() [3/3]

virtual void vtkViewTheme::GetCellValueRange ( double  rng[2])
virtual

◆ SetCellAlphaRange() [1/2]

virtual void vtkViewTheme::SetCellAlphaRange ( double  mn,
double  mx 
)
virtual

◆ SetCellAlphaRange() [2/2]

virtual void vtkViewTheme::SetCellAlphaRange ( double  rng[2])
virtual

◆ GetCellAlphaRange() [1/3]

virtual double * vtkViewTheme::GetCellAlphaRange ( )
virtual

◆ GetCellAlphaRange() [2/3]

virtual void vtkViewTheme::GetCellAlphaRange ( double &  mn,
double &  mx 
)
virtual

◆ GetCellAlphaRange() [3/3]

virtual void vtkViewTheme::GetCellAlphaRange ( double  rng[2])
virtual

◆ GetCellLookupTable()

virtual vtkScalarsToColors * vtkViewTheme::GetCellLookupTable ( )
virtual

Set/Get the cell lookup table.

◆ SetCellLookupTable()

virtual void vtkViewTheme::SetCellLookupTable ( vtkScalarsToColors lut)
virtual

Set/Get the cell lookup table.

◆ SetScaleCellLookupTable()

virtual void vtkViewTheme::SetScaleCellLookupTable ( bool  )
virtual

Whether to scale the lookup table to fit the range of the data.

◆ GetScaleCellLookupTable()

virtual bool vtkViewTheme::GetScaleCellLookupTable ( )
virtual

Whether to scale the lookup table to fit the range of the data.

◆ ScaleCellLookupTableOn()

virtual void vtkViewTheme::ScaleCellLookupTableOn ( )
virtual

Whether to scale the lookup table to fit the range of the data.

◆ ScaleCellLookupTableOff()

virtual void vtkViewTheme::ScaleCellLookupTableOff ( )
virtual

Whether to scale the lookup table to fit the range of the data.

◆ SetOutlineColor() [1/2]

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

The color of any outlines in the view.

◆ SetOutlineColor() [2/2]

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

The color of any outlines in the view.

◆ GetOutlineColor() [1/3]

virtual double * vtkViewTheme::GetOutlineColor ( )
virtual

The color of any outlines in the view.

◆ GetOutlineColor() [2/3]

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

The color of any outlines in the view.

◆ GetOutlineColor() [3/3]

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

The color of any outlines in the view.

◆ SetSelectedPointColor() [1/2]

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

The color of selected points or vertices.

◆ SetSelectedPointColor() [2/2]

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

The color of selected points or vertices.

◆ GetSelectedPointColor() [1/3]

virtual double * vtkViewTheme::GetSelectedPointColor ( )
virtual

The color of selected points or vertices.

◆ GetSelectedPointColor() [2/3]

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

The color of selected points or vertices.

◆ GetSelectedPointColor() [3/3]

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

The color of selected points or vertices.

◆ SetSelectedPointOpacity()

virtual void vtkViewTheme::SetSelectedPointOpacity ( double  )
virtual

The color of selected points or vertices.

◆ GetSelectedPointOpacity()

virtual double vtkViewTheme::GetSelectedPointOpacity ( )
virtual

The color of selected points or vertices.

◆ SetSelectedCellColor() [1/2]

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

The color of selected cells or edges.

◆ SetSelectedCellColor() [2/2]

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

The color of selected cells or edges.

◆ GetSelectedCellColor() [1/3]

virtual double * vtkViewTheme::GetSelectedCellColor ( )
virtual

The color of selected cells or edges.

◆ GetSelectedCellColor() [2/3]

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

The color of selected cells or edges.

◆ GetSelectedCellColor() [3/3]

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

The color of selected cells or edges.

◆ SetSelectedCellOpacity()

virtual void vtkViewTheme::SetSelectedCellOpacity ( double  )
virtual

The color of selected cells or edges.

◆ GetSelectedCellOpacity()

virtual double vtkViewTheme::GetSelectedCellOpacity ( )
virtual

The color of selected cells or edges.

◆ SetBackgroundColor() [1/2]

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

The view background color.

◆ SetBackgroundColor() [2/2]

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

The view background color.

◆ GetBackgroundColor() [1/3]

virtual double * vtkViewTheme::GetBackgroundColor ( )
virtual

The view background color.

◆ GetBackgroundColor() [2/3]

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

The view background color.

◆ GetBackgroundColor() [3/3]

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

The view background color.

◆ SetBackgroundColor2() [1/2]

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

The second background color (for gradients).

◆ SetBackgroundColor2() [2/2]

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

The second background color (for gradients).

◆ GetBackgroundColor2() [1/3]

virtual double * vtkViewTheme::GetBackgroundColor2 ( )
virtual

The second background color (for gradients).

◆ GetBackgroundColor2() [2/3]

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

The second background color (for gradients).

◆ GetBackgroundColor2() [3/3]

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

The second background color (for gradients).

◆ SetPointTextProperty()

virtual void vtkViewTheme::SetPointTextProperty ( vtkTextProperty tprop)
virtual

The text property to use for labeling points/vertices.

◆ GetPointTextProperty()

virtual vtkTextProperty * vtkViewTheme::GetPointTextProperty ( )
virtual

The text property to use for labeling points/vertices.

◆ SetCellTextProperty()

virtual void vtkViewTheme::SetCellTextProperty ( vtkTextProperty tprop)
virtual

The text property to use for labeling edges/cells.

◆ GetCellTextProperty()

virtual vtkTextProperty * vtkViewTheme::GetCellTextProperty ( )
virtual

The text property to use for labeling edges/cells.

◆ SetVertexLabelColor() [1/2]

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.

◆ SetVertexLabelColor() [2/2]

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 338 of file vtkViewTheme.h.

◆ GetVertexLabelColor() [1/3]

virtual double * vtkViewTheme::GetVertexLabelColor ( )
virtual

The color to use for labeling graph vertices.

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

◆ GetVertexLabelColor() [2/3]

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 340 of file vtkViewTheme.h.

◆ GetVertexLabelColor() [3/3]

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 350 of file vtkViewTheme.h.

◆ SetEdgeLabelColor() [1/2]

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.

◆ SetEdgeLabelColor() [2/2]

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 359 of file vtkViewTheme.h.

◆ GetEdgeLabelColor() [1/3]

virtual double * vtkViewTheme::GetEdgeLabelColor ( )
virtual

The color to use for labeling graph edges.

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

◆ GetEdgeLabelColor() [2/3]

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 361 of file vtkViewTheme.h.

◆ GetEdgeLabelColor() [3/3]

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 371 of file vtkViewTheme.h.

◆ CreateOceanTheme()

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.

◆ CreateMellowTheme()

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.

◆ CreateNeonTheme()

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.

◆ LookupMatchesPointTheme()

bool vtkViewTheme::LookupMatchesPointTheme ( vtkScalarsToColors s2c)

Whether a given lookup table matches the point or cell theme of this theme.

◆ LookupMatchesCellTheme()

bool vtkViewTheme::LookupMatchesCellTheme ( vtkScalarsToColors s2c)

Whether a given lookup table matches the point or cell theme of this theme.

Member Data Documentation

◆ PointSize

double vtkViewTheme::PointSize
protected

Definition at line 398 of file vtkViewTheme.h.

◆ LineWidth

double vtkViewTheme::LineWidth
protected

Definition at line 399 of file vtkViewTheme.h.

◆ PointColor

double vtkViewTheme::PointColor[3]
protected

Definition at line 401 of file vtkViewTheme.h.

◆ PointOpacity

double vtkViewTheme::PointOpacity
protected

Definition at line 402 of file vtkViewTheme.h.

◆ CellColor

double vtkViewTheme::CellColor[3]
protected

Definition at line 404 of file vtkViewTheme.h.

◆ CellOpacity

double vtkViewTheme::CellOpacity
protected

Definition at line 405 of file vtkViewTheme.h.

◆ OutlineColor

double vtkViewTheme::OutlineColor[3]
protected

Definition at line 407 of file vtkViewTheme.h.

◆ SelectedPointColor

double vtkViewTheme::SelectedPointColor[3]
protected

Definition at line 409 of file vtkViewTheme.h.

◆ SelectedPointOpacity

double vtkViewTheme::SelectedPointOpacity
protected

Definition at line 410 of file vtkViewTheme.h.

◆ SelectedCellColor

double vtkViewTheme::SelectedCellColor[3]
protected

Definition at line 411 of file vtkViewTheme.h.

◆ SelectedCellOpacity

double vtkViewTheme::SelectedCellOpacity
protected

Definition at line 412 of file vtkViewTheme.h.

◆ BackgroundColor

double vtkViewTheme::BackgroundColor[3]
protected

Definition at line 414 of file vtkViewTheme.h.

◆ BackgroundColor2

double vtkViewTheme::BackgroundColor2[3]
protected

Definition at line 415 of file vtkViewTheme.h.

◆ PointLookupTable

vtkScalarsToColors* vtkViewTheme::PointLookupTable
protected

Definition at line 417 of file vtkViewTheme.h.

◆ CellLookupTable

vtkScalarsToColors* vtkViewTheme::CellLookupTable
protected

Definition at line 418 of file vtkViewTheme.h.

◆ ScalePointLookupTable

bool vtkViewTheme::ScalePointLookupTable
protected

Definition at line 420 of file vtkViewTheme.h.

◆ ScaleCellLookupTable

bool vtkViewTheme::ScaleCellLookupTable
protected

Definition at line 421 of file vtkViewTheme.h.

◆ PointTextProperty

vtkTextProperty* vtkViewTheme::PointTextProperty
protected

Definition at line 423 of file vtkViewTheme.h.

◆ CellTextProperty

vtkTextProperty* vtkViewTheme::CellTextProperty
protected

Definition at line 424 of file vtkViewTheme.h.


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