#include <vtkAbstractPaletteMaterial.h>
Inheritance diagram for vtkAbstractPaletteMaterial:
Definition at line 46 of file vtkAbstractPaletteMaterial.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkAbstractPaletteMaterial, vtkPaletteElement) | |
virtual int | GetType () |
Get/Set the type attribute of this palette color material data. | |
virtual void | SetType (int) |
Get/Set the type attribute of this palette color material data. | |
virtual vtkAbstractPaletteMaterial * | GetXRef () |
Get the xref attribute of this palette color material. | |
virtual void | SetXRef (vtkAbstractPaletteMaterial *) |
Get the xref attribute of this palette color material. | |
virtual void | GetColor (double &c0, double &c1, double &c2)=0 |
Get/Set the data of this palette color material. | |
virtual void | SetColor (double c0, double c1, double c2)=0 |
Get/Set the data of this palette color material. | |
void | GetColor (double v[3]) |
Get/Set the data of this palette color material. | |
void | SetColor (double v[3]) |
Get/Set the data of this palette color material. | |
virtual double | GetOpacity (void)=0 |
Get the opacity attribute of this palette color. | |
virtual void | SetOpacity (double)=0 |
Get the opacity attribute of this palette color. | |
virtual void | GetAmbientColor (double &c0, double &c1, double &c2)=0 |
Get/Set the ambient data of this palette color material. | |
virtual void | SetAmbientColor (double c0, double c1, double c2)=0 |
Get/Set the ambient data of this palette color material. | |
void | GetAmbientColor (double v[3]) |
Get/Set the ambient data of this palette color material. | |
void | SetAmbientColor (double v[3]) |
Get/Set the ambient data of this palette color material. | |
virtual void | GetDiffuseColor (double &c0, double &c1, double &c2)=0 |
Get/Set the diffuse data of this palette color material. | |
virtual void | SetDiffuseColor (double c0, double c1, double c2)=0 |
Get/Set the diffuse data of this palette color material. | |
void | GetDiffuseColor (double v[3]) |
Get/Set the diffuse data of this palette color material. | |
void | SetDiffuseColor (double v[3]) |
Get/Set the diffuse data of this palette color material. | |
virtual void | GetSpecularColor (double &c0, double &c1, double &c2)=0 |
Get/Set the specular data of this palette color material. | |
virtual void | SetSpecularColor (double c0, double c1, double c2)=0 |
Get/Set the specular data of this palette color material. | |
void | GetSpecularColor (double v[3]) |
Get/Set the specular data of this palette color material. | |
void | SetSpecularColor (double v[3]) |
Get/Set the specular data of this palette color material. | |
virtual double | GetSpecularPower (void)=0 |
Get the specular power attribute of this palette color. | |
virtual void | SetSpecularPower (double)=0 |
Get the specular power attribute of this palette color. | |
Static Public Member Functions | |
Color and Material Format Conversion Methods | |
void | ConvertColor (double const &c0, double const &c1, double const &c2, double const &opacity, vtkAbstractPaletteMaterial *&o) |
Convert color component floats into a palette color object. | |
void | ConvertColor (unsigned char const &c0, unsigned char const &c1, unsigned char const &c2, unsigned char const &opacity, vtkAbstractPaletteMaterial *&o) |
Convert color component bytes into a palette color object. | |
void | ConvertColor (vtkColorWord const &color, vtkAbstractPaletteMaterial *&o) |
Convert a packed color word into a palette color object. | |
void | ConvertColor (vtkAbstractPaletteMaterial *const &o, double &c0, double &c1, double &c2, double &opacity) |
Convert a palette color object into color component floats. | |
void | ConvertColor (vtkAbstractPaletteMaterial *const &o, unsigned char &c0, unsigned char &c1, unsigned char &c2, unsigned char &opacity) |
Convert a palette color object into color component bytes. | |
void | ConvertColor (vtkAbstractPaletteMaterial *const &o, vtkColorWord &color) |
Convert a palette color object into a packed color word. | |
Static Public Attributes | |
const vtkXMLChType *const | typeString |
const vtkXMLChType *const | xrefString |
const vtkXMLChType *const | RGBString |
const vtkXMLChType *const | HSVString |
const vtkXMLChType *const | HSLString |
const vtkXMLChType *const | RGBAString |
const vtkXMLChType *const | HSVAString |
const vtkXMLChType *const | HSLAString |
const vtkXMLChType *const | CSSString |
const vtkXMLChType *const | XREFString |
Protected Member Functions | |
vtkAbstractPaletteMaterial (void) | |
~vtkAbstractPaletteMaterial () | |
void | MarshalAttributes (ostream &) |
void | UnmarshalAttribute (const vtkXMLChType *const &attr, const vtkXMLChType *const &value) |
Protected Attributes | |
int | Type |
vtkAbstractPaletteMaterial * | XRef |
|
|
|
|
|
Convert a palette color object into a packed color word.
Definition at line 324 of file vtkAbstractPaletteMaterial.h. |
|
Convert a palette color object into color component bytes.
Definition at line 302 of file vtkAbstractPaletteMaterial.h. References ConvertColor(), and VTK_EXTENSIONS_UINT8_MAX. |
|
Convert a palette color object into color component floats.
Definition at line 283 of file vtkAbstractPaletteMaterial.h. References GetColor(), and GetOpacity(). |
|
Convert a packed color word into a palette color object.
Definition at line 269 of file vtkAbstractPaletteMaterial.h. References VTK_EXTENSIONS_GET_COLORBYTE. |
|
Convert color component bytes into a palette color object.
Definition at line 253 of file vtkAbstractPaletteMaterial.h. References ConvertColor(), and VTK_EXTENSIONS_UINT8_MAX. |
|
Convert color component floats into a palette color object.
Definition at line 238 of file vtkAbstractPaletteMaterial.h. References SetColor(), and SetOpacity(). Referenced by ConvertColor(). |
|
Get/Set the ambient data of this palette color material.
Definition at line 200 of file vtkAbstractPaletteMaterial.h. References GetAmbientColor(). |
|
Get/Set the ambient data of this palette color material.
Implemented in vtkAbstractPaletteColor, and vtkPaletteMaterial. Referenced by GetAmbientColor(). |
|
Get/Set the data of this palette color material.
Definition at line 188 of file vtkAbstractPaletteMaterial.h. References GetColor(). |
|
Get/Set the data of this palette color material.
Implemented in vtkPaletteColorBase, and vtkPaletteMaterial. Referenced by ConvertColor(), and GetColor(). |
|
Get/Set the diffuse data of this palette color material.
Definition at line 212 of file vtkAbstractPaletteMaterial.h. References GetDiffuseColor(). |
|
Get/Set the diffuse data of this palette color material.
Implemented in vtkAbstractPaletteColor, and vtkPaletteMaterial. Referenced by GetDiffuseColor(). |
|
Get the opacity attribute of this palette color.
Implemented in vtkAbstractPaletteColor, vtkPaletteColor, vtkPaletteDiffuseColor, and vtkPaletteMaterial. Referenced by ConvertColor(). |
|
Get/Set the specular data of this palette color material.
Definition at line 224 of file vtkAbstractPaletteMaterial.h. References GetSpecularColor(). |
|
Get/Set the specular data of this palette color material.
Implemented in vtkAbstractPaletteColor, and vtkPaletteMaterial. Referenced by GetSpecularColor(). |
|
Get the specular power attribute of this palette color.
Implemented in vtkAbstractPaletteColor, vtkPaletteMaterial, and vtkPaletteSpecularColor. |
|
Get/Set the type attribute of this palette color material data.
Reimplemented from vtkPaletteElement. |
|
Get the xref attribute of this palette color material.
|
|
Reimplemented from vtkPaletteElement. Reimplemented in vtkPaletteColor, vtkPaletteDiffuseColor, and vtkPaletteSpecularColor. |
|
Get/Set the ambient data of this palette color material.
Definition at line 206 of file vtkAbstractPaletteMaterial.h. References SetAmbientColor(). |
|
Get/Set the ambient data of this palette color material.
Implemented in vtkAbstractPaletteColor, and vtkPaletteMaterial. Referenced by SetAmbientColor(). |
|
Get/Set the data of this palette color material.
Definition at line 194 of file vtkAbstractPaletteMaterial.h. References SetColor(). |
|
Get/Set the data of this palette color material.
Implemented in vtkPaletteColorBase, and vtkPaletteMaterial. Referenced by ConvertColor(), and SetColor(). |
|
Get/Set the diffuse data of this palette color material.
Definition at line 218 of file vtkAbstractPaletteMaterial.h. References SetDiffuseColor(). |
|
Get/Set the diffuse data of this palette color material.
Implemented in vtkAbstractPaletteColor, and vtkPaletteMaterial. Referenced by SetDiffuseColor(). |
|
Get the opacity attribute of this palette color.
Implemented in vtkAbstractPaletteColor, vtkPaletteColor, vtkPaletteDiffuseColor, and vtkPaletteMaterial. Referenced by ConvertColor(). |
|
Get/Set the specular data of this palette color material.
Definition at line 230 of file vtkAbstractPaletteMaterial.h. References SetSpecularColor(). |
|
Get/Set the specular data of this palette color material.
Implemented in vtkAbstractPaletteColor, and vtkPaletteMaterial. Referenced by SetSpecularColor(). |
|
Get the specular power attribute of this palette color.
Implemented in vtkAbstractPaletteColor, vtkPaletteMaterial, and vtkPaletteSpecularColor. |
|
Get/Set the type attribute of this palette color material data.
|
|
Get the xref attribute of this palette color material.
|
|
Reimplemented from vtkPaletteElement. Reimplemented in vtkPaletteColor, vtkPaletteDiffuseColor, and vtkPaletteSpecularColor. |
|
|
|
Definition at line 157 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 156 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 153 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 155 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 152 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 154 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 151 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 171 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 148 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 172 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 158 of file vtkAbstractPaletteMaterial.h. |
|
Definition at line 149 of file vtkAbstractPaletteMaterial.h. |