Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

vtkPaletteColorBase Class Reference

#include <vtkPaletteColorBase.h>

Inheritance diagram for vtkPaletteColorBase:

Inheritance graph
[legend]
Collaboration diagram for vtkPaletteColorBase:

Collaboration graph
[legend]
List of all members.

Detailed Description

A base palette color object.

Author:
Sean McInerney
Version:
Revision
1.1
Date:
Date
2004/06/02 11:35:08
See also:
vtkAbstractPaletteColor

Definition at line 32 of file vtkPaletteColorBase.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkPaletteColorBase, vtkAbstractPaletteColor)
void PrintSelf (ostream &, vtkIndent)
void UnmarshalContent (const vtkXMLChType *const &content)
 Unmarshal (read) XML element content into this object.

void GetColor (double &a0, double &a1, double &a2)
 Get/Set the data of this palette color.

void SetColor (double a0, double a1, double a2)
 Get/Set the data of this palette color.


Protected Member Functions

 vtkPaletteColorBase (void)
 ~vtkPaletteColorBase ()
void MarshalContent (ostream &, vtkIndent)

Protected Attributes

double Color [3]


Constructor & Destructor Documentation

vtkPaletteColorBase::vtkPaletteColorBase void   )  [protected]
 

vtkPaletteColorBase::~vtkPaletteColorBase  )  [inline, protected]
 

Definition at line 52 of file vtkPaletteColorBase.h.


Member Function Documentation

void vtkPaletteColorBase::GetColor double &  a0,
double &  a1,
double &  a2
[inline, virtual]
 

Get/Set the data of this palette color.

Implements vtkAbstractPaletteMaterial.

Definition at line 73 of file vtkPaletteColorBase.h.

References Color, and GetColor().

Referenced by GetColor().

void vtkPaletteColorBase::MarshalContent ostream &  ,
vtkIndent 
[protected, virtual]
 

Reimplemented from vtkPaletteElement.

void vtkPaletteColorBase::PrintSelf ostream &  ,
vtkIndent 
[virtual]
 

Reimplemented from vtkPaletteElement.

Reimplemented in vtkPaletteColor, vtkPaletteDiffuseColor, and vtkPaletteSpecularColor.

void vtkPaletteColorBase::SetColor double  a0,
double  a1,
double  a2
[inline, virtual]
 

Get/Set the data of this palette color.

Implements vtkAbstractPaletteMaterial.

Definition at line 83 of file vtkPaletteColorBase.h.

References Color, vtkObject::Modified(), and SetColor().

Referenced by SetColor().

void vtkPaletteColorBase::UnmarshalContent const vtkXMLChType *const &  content  )  [virtual]
 

Unmarshal (read) XML element content into this object.

Reimplemented from vtkPaletteElement.

vtkPaletteColorBase::vtkTypeRevisionMacro vtkPaletteColorBase  ,
vtkAbstractPaletteColor 
 


Member Data Documentation

double vtkPaletteColorBase::Color[3] [protected]
 

Definition at line 57 of file vtkPaletteColorBase.h.

Referenced by GetColor(), and SetColor().


The documentation for this class was generated from the following file:
Generated on Tue Aug 10 03:43:50 2004 for vtkExtensions by doxygen 1.3.7