VTK
|
Converts HSI components to RGB. More...
#include <vtkImageHSIToRGB.h>
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageHSIToRGB * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetMaximum (double) |
virtual double | GetMaximum () |
Static Public Member Functions | |
static vtkImageHSIToRGB * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageHSIToRGB * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageHSIToRGB () | |
~vtkImageHSIToRGB () | |
void | ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int ext[6], int id) |
Protected Attributes | |
double | Maximum |
Converts HSI components to RGB.
For each pixel with hue, saturation and intensity components this filter outputs the color coded as red, green, blue. Output type must be the same as input type.
Definition at line 35 of file vtkImageHSIToRGB.h.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 39 of file vtkImageHSIToRGB.h.
vtkImageHSIToRGB::vtkImageHSIToRGB | ( | ) | [protected] |
vtkImageHSIToRGB::~vtkImageHSIToRGB | ( | ) | [inline, protected] |
Definition at line 54 of file vtkImageHSIToRGB.h.
static vtkImageHSIToRGB* vtkImageHSIToRGB::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkImageHSIToRGB::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageHSIToRGB::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
static vtkImageHSIToRGB* vtkImageHSIToRGB::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
virtual vtkObjectBase* vtkImageHSIToRGB::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
vtkImageHSIToRGB* vtkImageHSIToRGB::NewInstance | ( | ) | const |
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageHSIToRGB::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
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 vtkThreadedImageAlgorithm.
virtual void vtkImageHSIToRGB::SetMaximum | ( | double | ) | [virtual] |
Hue is an angle. Maximum specifies when it maps back to 0. HueMaximum defaults to 255 instead of 2PI, because unsigned char is expected as input. Maximum also specifies the maximum of the Saturation, and R, G, B.
virtual double vtkImageHSIToRGB::GetMaximum | ( | ) | [virtual] |
Hue is an angle. Maximum specifies when it maps back to 0. HueMaximum defaults to 255 instead of 2PI, because unsigned char is expected as input. Maximum also specifies the maximum of the Saturation, and R, G, B.
void vtkImageHSIToRGB::ThreadedExecute | ( | vtkImageData * | inData, |
vtkImageData * | outData, | ||
int | ext[6], | ||
int | id | ||
) | [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
double vtkImageHSIToRGB::Maximum [protected] |
Definition at line 54 of file vtkImageHSIToRGB.h.