Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ColorTable< TPixel > Class Template Reference
[Data Representation Objects]

#include <itkColorTable.h>

Inheritance diagram for itk::ColorTable:

Inheritance graph
[legend]
Collaboration diagram for itk::ColorTable< TPixel >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ColorTable Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Public Methods

virtual const char * GetClassName () const
void useDiscrete (void)
void useGray (int n=256)
void useHeat (int n=256)
int size (void)
RGBPixel< TPixel > * color (int c)
TPixel color (int c, char rgb)
char * colorName (int c)

Static Public Methods

Pointer New ()

Protected Methods

 ColorTable ()
virtual ~ColorTable ()

Protected Attributes

int m_NumberOfColors
RGBPixel< TPixel > * m_Color
char ** m_ColorName

Detailed Description

template<class TPixel>
class itk::ColorTable< TPixel >

itkColorTable Class define a Color table for image visualisation

Definition at line 34 of file itkColorTable.h.


Member Typedef Documentation

template<class TPixel>
typedef SmartPointer<const Self> itk::ColorTable< TPixel >::ConstPointer
 

Reimplemented from itk::Object.

Definition at line 41 of file itkColorTable.h.

template<class TPixel>
typedef SmartPointer<Self> itk::ColorTable< TPixel >::Pointer
 

Reimplemented from itk::Object.

Definition at line 40 of file itkColorTable.h.

template<class TPixel>
typedef ColorTable itk::ColorTable< TPixel >::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Definition at line 38 of file itkColorTable.h.

template<class TPixel>
typedef Object itk::ColorTable< TPixel >::Superclass
 

Reimplemented from itk::Object.

Definition at line 39 of file itkColorTable.h.


Constructor & Destructor Documentation

template<class TPixel>
itk::ColorTable< TPixel >::ColorTable   [protected]
 

template<class TPixel>
virtual itk::ColorTable< TPixel >::~ColorTable   [protected, virtual]
 


Member Function Documentation

template<class TPixel>
TPixel itk::ColorTable< TPixel >::color int    c,
char    rgb
 

Given the position in the table and the color returns the value.

Todo:
Needs renaming.

template<class TPixel>
RGBPixel<TPixel>* itk::ColorTable< TPixel >::color int    c
 

Badly named methods that require renaming and documentation.

template<class TPixel>
char* itk::ColorTable< TPixel >::colorName int    c
 

Given the position in the table and the color returns the value.

Todo:
Needs renaming.

template<class TPixel>
virtual const char* itk::ColorTable< TPixel >::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Object.

template<class TPixel>
Pointer itk::ColorTable< TPixel >::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TPixel>
int itk::ColorTable< TPixel >::size void   
 

Badly named methods that require renaming and documentation.

template<class TPixel>
void itk::ColorTable< TPixel >::useDiscrete void   
 

Badly named methods that require renaming and documentation.

template<class TPixel>
void itk::ColorTable< TPixel >::useGray int    n = 256
 

Badly named methods that require renaming and documentation.

template<class TPixel>
void itk::ColorTable< TPixel >::useHeat int    n = 256
 

Badly named methods that require renaming and documentation.


Member Data Documentation

template<class TPixel>
RGBPixel<TPixel>* itk::ColorTable< TPixel >::m_Color [protected]
 

Definition at line 68 of file itkColorTable.h.

template<class TPixel>
char** itk::ColorTable< TPixel >::m_ColorName [protected]
 

Definition at line 69 of file itkColorTable.h.

template<class TPixel>
int itk::ColorTable< TPixel >::m_NumberOfColors [protected]
 

Definition at line 67 of file itkColorTable.h.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:22:51 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000