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 SetPointSize (double)
 The size of points or vertices. More...
 
virtual double GetPointSize ()
 
virtual void SetLineWidth (double)
 The width of lines or edges. More...
 
virtual double GetLineWidth ()
 
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])
 
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)
 The ranges to use in the point lookup table. More...
 
virtual void SetPointHueRange (double rng[2])
 
virtual double * GetPointHueRange ()
 
virtual void GetPointHueRange (double &mn, double &mx)
 
virtual void GetPointHueRange (double rng[2])
 
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 vtkScalarsToColorsGetPointLookupTable ()
 Set/Get the point lookup table. More...
 
virtual void SetPointLookupTable (vtkScalarsToColors *lut)
 
virtual void SetScalePointLookupTable (bool)
 Whether to scale the lookup table to fit the range of the data. More...
 
virtual bool GetScalePointLookupTable ()
 
virtual void ScalePointLookupTableOn ()
 
virtual void ScalePointLookupTableOff ()
 
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])
 
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)
 The ranges to use in the cell lookup table. More...
 
virtual void SetCellHueRange (double rng[2])
 
virtual double * GetCellHueRange ()
 
virtual void GetCellHueRange (double &mn, double &mx)
 
virtual void GetCellHueRange (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 vtkScalarsToColorsGetCellLookupTable ()
 Set/Get the cell lookup table. More...
 
virtual void SetCellLookupTable (vtkScalarsToColors *lut)
 
virtual void SetScaleCellLookupTable (bool)
 Whether to scale the lookup table to fit the range of the data. More...
 
virtual bool GetScaleCellLookupTable ()
 
virtual void ScaleCellLookupTableOn ()
 
virtual void ScaleCellLookupTableOff ()
 
virtual void SetOutlineColor (double, double, double)
 The color of any outlines in the view. More...
 
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)
 The color of selected points or vertices. More...
 
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)
 The color of selected cells or edges. More...
 
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)
 The view background color. More...
 
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)
 The second background color (for gradients). More...
 
virtual void SetBackgroundColor2 (double[3])
 
virtual double * GetBackgroundColor2 ()
 
virtual void GetBackgroundColor2 (double &, double &, double &)
 
virtual void GetBackgroundColor2 (double[3])
 
virtual void SetPointTextProperty (vtkTextProperty *tprop)
 The text property to use for labeling points/vertices. More...
 
virtual vtkTextPropertyGetPointTextProperty ()
 
virtual void SetCellTextProperty (vtkTextProperty *tprop)
 The text property to use for labeling edges/cells. More...
 
virtual vtkTextPropertyGetCellTextProperty ()
 
virtual void SetVertexLabelColor (double r, double g, double b)
 The color to use for labeling graph vertices. More...
 
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)
 The color to use for labeling graph edges. More...
 
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)
 Whether a given lookup table matches the point or cell theme of this theme. More...
 
bool LookupMatchesCellTheme (vtkScalarsToColors *s2c)
 
- 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...
 
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)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 
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)
 
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)
 
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)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- 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 PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
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...
 

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 ()
 
static vtkViewThemeCreateNeonTheme ()
 
- 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 ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- 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 ()
 
- 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
std::atomic< int32_t > 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.

Definition at line 42 of file vtkViewTheme.h.

Member Typedef Documentation

◆ Superclass

Definition at line 46 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

◆ SetLineWidth()

virtual void vtkViewTheme::SetLineWidth ( double  )
virtual

The width of lines or edges.

◆ GetLineWidth()

virtual double vtkViewTheme::GetLineWidth ( )
virtual

◆ 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

◆ GetPointColor() [1/3]

virtual double* vtkViewTheme::GetPointColor ( )
virtual

◆ GetPointColor() [2/3]

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

◆ GetPointColor() [3/3]

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

◆ SetPointOpacity()

virtual void vtkViewTheme::SetPointOpacity ( double  )
virtual

◆ GetPointOpacity()

virtual double vtkViewTheme::GetPointOpacity ( )
virtual

◆ 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

◆ GetPointHueRange() [1/3]

virtual double* vtkViewTheme::GetPointHueRange ( )
virtual

◆ GetPointHueRange() [2/3]

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

◆ GetPointHueRange() [3/3]

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

◆ 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

◆ 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

◆ ScalePointLookupTableOn()

virtual void vtkViewTheme::ScalePointLookupTableOn ( )
virtual

◆ ScalePointLookupTableOff()

virtual void vtkViewTheme::ScalePointLookupTableOff ( )
virtual

◆ 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

◆ GetCellColor() [1/3]

virtual double* vtkViewTheme::GetCellColor ( )
virtual

◆ GetCellColor() [2/3]

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

◆ GetCellColor() [3/3]

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

◆ SetCellOpacity()

virtual void vtkViewTheme::SetCellOpacity ( double  )
virtual

◆ GetCellOpacity()

virtual double vtkViewTheme::GetCellOpacity ( )
virtual

◆ 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

◆ GetCellHueRange() [1/3]

virtual double* vtkViewTheme::GetCellHueRange ( )
virtual

◆ GetCellHueRange() [2/3]

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

◆ GetCellHueRange() [3/3]

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

◆ 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

◆ 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

◆ ScaleCellLookupTableOn()

virtual void vtkViewTheme::ScaleCellLookupTableOn ( )
virtual

◆ ScaleCellLookupTableOff()

virtual void vtkViewTheme::ScaleCellLookupTableOff ( )
virtual

◆ 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

◆ GetOutlineColor() [1/3]

virtual double* vtkViewTheme::GetOutlineColor ( )
virtual

◆ GetOutlineColor() [2/3]

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

◆ GetOutlineColor() [3/3]

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

◆ 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

◆ GetSelectedPointColor() [1/3]

virtual double* vtkViewTheme::GetSelectedPointColor ( )
virtual

◆ GetSelectedPointColor() [2/3]

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

◆ GetSelectedPointColor() [3/3]

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

◆ SetSelectedPointOpacity()

virtual void vtkViewTheme::SetSelectedPointOpacity ( double  )
virtual

◆ GetSelectedPointOpacity()

virtual double vtkViewTheme::GetSelectedPointOpacity ( )
virtual

◆ 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

◆ GetSelectedCellColor() [1/3]

virtual double* vtkViewTheme::GetSelectedCellColor ( )
virtual

◆ GetSelectedCellColor() [2/3]

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

◆ GetSelectedCellColor() [3/3]

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

◆ SetSelectedCellOpacity()

virtual void vtkViewTheme::SetSelectedCellOpacity ( double  )
virtual

◆ GetSelectedCellOpacity()

virtual double vtkViewTheme::GetSelectedCellOpacity ( )
virtual

◆ 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

◆ GetBackgroundColor() [1/3]

virtual double* vtkViewTheme::GetBackgroundColor ( )
virtual

◆ GetBackgroundColor() [2/3]

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

◆ GetBackgroundColor() [3/3]

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

◆ 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

◆ GetBackgroundColor2() [1/3]

virtual double* vtkViewTheme::GetBackgroundColor2 ( )
virtual

◆ GetBackgroundColor2() [2/3]

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

◆ GetBackgroundColor2() [3/3]

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

◆ SetPointTextProperty()

virtual void vtkViewTheme::SetPointTextProperty ( vtkTextProperty tprop)
virtual

The text property to use for labeling points/vertices.

◆ GetPointTextProperty()

virtual vtkTextProperty* vtkViewTheme::GetPointTextProperty ( )
virtual

◆ SetCellTextProperty()

virtual void vtkViewTheme::SetCellTextProperty ( vtkTextProperty tprop)
virtual

The text property to use for labeling edges/cells.

◆ GetCellTextProperty()

virtual vtkTextProperty* vtkViewTheme::GetCellTextProperty ( )
virtual

◆ 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

Definition at line 249 of file vtkViewTheme.h.

◆ GetVertexLabelColor() [1/3]

virtual double* vtkViewTheme::GetVertexLabelColor ( )
virtual

◆ GetVertexLabelColor() [2/3]

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

Definition at line 251 of file vtkViewTheme.h.

◆ GetVertexLabelColor() [3/3]

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

Definition at line 261 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

Definition at line 270 of file vtkViewTheme.h.

◆ GetEdgeLabelColor() [1/3]

virtual double* vtkViewTheme::GetEdgeLabelColor ( )
virtual

◆ GetEdgeLabelColor() [2/3]

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

Definition at line 272 of file vtkViewTheme.h.

◆ GetEdgeLabelColor() [3/3]

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

Definition at line 282 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

◆ CreateNeonTheme()

static vtkViewTheme* vtkViewTheme::CreateNeonTheme ( )
static

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

Member Data Documentation

◆ PointSize

double vtkViewTheme::PointSize
protected

Definition at line 309 of file vtkViewTheme.h.

◆ LineWidth

double vtkViewTheme::LineWidth
protected

Definition at line 310 of file vtkViewTheme.h.

◆ PointColor

double vtkViewTheme::PointColor[3]
protected

Definition at line 312 of file vtkViewTheme.h.

◆ PointOpacity

double vtkViewTheme::PointOpacity
protected

Definition at line 313 of file vtkViewTheme.h.

◆ CellColor

double vtkViewTheme::CellColor[3]
protected

Definition at line 315 of file vtkViewTheme.h.

◆ CellOpacity

double vtkViewTheme::CellOpacity
protected

Definition at line 316 of file vtkViewTheme.h.

◆ OutlineColor

double vtkViewTheme::OutlineColor[3]
protected

Definition at line 318 of file vtkViewTheme.h.

◆ SelectedPointColor

double vtkViewTheme::SelectedPointColor[3]
protected

Definition at line 320 of file vtkViewTheme.h.

◆ SelectedPointOpacity

double vtkViewTheme::SelectedPointOpacity
protected

Definition at line 321 of file vtkViewTheme.h.

◆ SelectedCellColor

double vtkViewTheme::SelectedCellColor[3]
protected

Definition at line 322 of file vtkViewTheme.h.

◆ SelectedCellOpacity

double vtkViewTheme::SelectedCellOpacity
protected

Definition at line 323 of file vtkViewTheme.h.

◆ BackgroundColor

double vtkViewTheme::BackgroundColor[3]
protected

Definition at line 325 of file vtkViewTheme.h.

◆ BackgroundColor2

double vtkViewTheme::BackgroundColor2[3]
protected

Definition at line 326 of file vtkViewTheme.h.

◆ PointLookupTable

vtkScalarsToColors* vtkViewTheme::PointLookupTable
protected

Definition at line 328 of file vtkViewTheme.h.

◆ CellLookupTable

vtkScalarsToColors* vtkViewTheme::CellLookupTable
protected

Definition at line 329 of file vtkViewTheme.h.

◆ ScalePointLookupTable

bool vtkViewTheme::ScalePointLookupTable
protected

Definition at line 331 of file vtkViewTheme.h.

◆ ScaleCellLookupTable

bool vtkViewTheme::ScaleCellLookupTable
protected

Definition at line 332 of file vtkViewTheme.h.

◆ PointTextProperty

vtkTextProperty* vtkViewTheme::PointTextProperty
protected

Definition at line 334 of file vtkViewTheme.h.

◆ CellTextProperty

vtkTextProperty* vtkViewTheme::CellTextProperty
protected

Definition at line 335 of file vtkViewTheme.h.


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