#include <itkColorTable.h>
Inheritance diagram for itk::ColorTable< TPixel >:
Public Types | |
typedef ColorTable | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
void | UseDiscreteColors (void) |
virtual unsigned int | GetNumberOfColors () |
unsigned int | size (void) |
RGBPixel< TPixel > * | GetColor (unsigned int colorId) |
RGBPixel< TPixel > * | color (unsigned int c) |
bool | SetColor (unsigned int c, TPixel r, TPixel g, TPixel b, const char *name="UserDefined") |
unsigned int | GetClosestColorTableId (TPixel r, TPixel g, TPixel b) |
void | UseGrayColors (unsigned int n=256) |
void | UseHeatColors (unsigned int n=256) |
void | UseRandomColors (unsigned int n=256) |
void | useDiscrete (void) |
void | useGray (unsigned int n=256) |
void | useHeat (unsigned int n=256) |
TPixel | GetColorComponent (unsigned int colorId, char rgb) |
TPixel | color (unsigned int c, char rgb) |
char * | GetColorName (unsigned int colorId) |
char * | colorName (unsigned int c) |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
ColorTable () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ColorTable () |
Protected Attributes | |
unsigned int | m_NumberOfColors |
RGBPixel< TPixel > * | m_Color |
char ** | m_ColorName |
Definition at line 33 of file itkColorTable.h.
|
Reimplemented from itk::Object. Definition at line 40 of file itkColorTable.h. |
|
Reimplemented from itk::Object. Definition at line 39 of file itkColorTable.h. |
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 37 of file itkColorTable.h. |
|
Reimplemented from itk::Object. Definition at line 38 of file itkColorTable.h. |
|
|
|
|
|
Given the position in the table and the color returns the value.
|
|
|
|
Given the position in the table and the color returns the value.
|
|
|
|
|
|
Given the position in the table and the color returns the value.
|
|
Given the position in the table and the color returns the value.
|
|
Run-time type information (and related methods). Reimplemented from itk::Object. |
|
|
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
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 itk::Object. |
|
|
|
|
|
Badly named methods that require renaming and documentation. Definition at line 62 of file itkColorTable.h. |
|
Generate a lookup table of 8 discrete colors. The colors are Red, Purple, Aqua, Yellow, Green, Blue, Grey0.70, White. |
|
Badly named methods that require renaming and documentation. Definition at line 63 of file itkColorTable.h. |
|
Generate a lookuptable of n grayscale values. A ramp is generated from NonpositiveMin() to max() of the pixel type. |
|
Badly named methods that require renaming and documentation. Definition at line 64 of file itkColorTable.h. |
|
Generate a lookuptable of n grayscale values. A ramp is generated from NonpositiveMin() to max() of the pixel type. |
|
Generate a lookuptable of n grayscale values. A ramp is generated from NonpositiveMin() to max() of the pixel type. |
|
Definition at line 92 of file itkColorTable.h. |
|
Definition at line 93 of file itkColorTable.h. |
|
Definition at line 91 of file itkColorTable.h. |