VTK
Public Member Functions | List of all members
vtkColor3d Class Reference

#include <vtkColor.h>

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

Public Member Functions

 vtkColor3d ()
 
 vtkColor3d (double scalar)
 
 vtkColor3d (const double *init)
 
 vtkColor3d (double r, double g, double b)
 
- Public Member Functions inherited from vtkColor3< double >
 vtkColor3 ()
 
 vtkColor3 (const double &scalar)
 
 vtkColor3 (const double *init)
 
 vtkColor3 (const double &red, const double &green, const double &blue)
 
void SetRed (const double &red)
 Set the red component of the color, i.e. More...
 
const doubleGetRed () const
 Get the red component of the color, i.e. More...
 
void SetGreen (const double &green)
 Set the green component of the color, i.e. More...
 
const doubleGetGreen () const
 Get the green component of the color, i.e. More...
 
void SetBlue (const double &blue)
 Set the blue component of the color, i.e. More...
 
const doubleGetBlue () const
 Get the blue component of the color, i.e. More...
 
void Set (const double &red, const double &green, const double &blue)
 Set the red, green and blue components of the color. More...
 
- Public Member Functions inherited from vtkTuple< double, 3 >
 vtkTuple ()
 The default constructor does not initialize values. More...
 
 vtkTuple (const double &scalar)
 Initialize all of the tuple's elements with the supplied scalar. More...
 
 vtkTuple (const double *init)
 Initialize the tuple's elements with the elements of the supplied array. More...
 
int GetSize () const
 Get the size of the tuple. More...
 
doubleGetData ()
 Get a pointer to the underlying data of the tuple. More...
 
const doubleGetData () const
 
doubleoperator[] (int i)
 Get a reference to the underlying data element of the tuple. More...
 
const doubleoperator[] (int i) const
 
double operator() (int i) const
 Get the value of the tuple at the index specified. More...
 
bool Compare (const vtkTuple< double, Size > &other, const double &tol) const
 Equality operator with a tolerance to allow fuzzy comparisons. More...
 
vtkTuple< TR, Size > Cast () const
 Cast the tuple to the specified type, returning the result. More...
 

Additional Inherited Members

- Protected Attributes inherited from vtkTuple< double, 3 >
double Data [Size]
 The only thing stored in memory! More...
 

Detailed Description

Definition at line 231 of file vtkColor.h.

Constructor & Destructor Documentation

vtkColor3d::vtkColor3d ( )
inline

Definition at line 234 of file vtkColor.h.

vtkColor3d::vtkColor3d ( double  scalar)
inlineexplicit

Definition at line 235 of file vtkColor.h.

vtkColor3d::vtkColor3d ( const double init)
inlineexplicit

Definition at line 236 of file vtkColor.h.

vtkColor3d::vtkColor3d ( double  r,
double  g,
double  b 
)
inline

Definition at line 237 of file vtkColor.h.


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