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

vtkImageHSIToRGB Class Reference

#include <vtkImageHSIToRGB.h>

Inheritance diagram for vtkImageHSIToRGB:

Inheritance graph
[legend]
Collaboration diagram for vtkImageHSIToRGB:

Collaboration graph
[legend]
List of all members.

Detailed Description

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.

See also:
vtkImageRGBToHSI
Tests:
vtkImageHSIToRGB (Tests)

Definition at line 34 of file vtkImageHSIToRGB.h.

Public Types

typedef vtkImageToImageFilter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetMaximum (double)
virtual double GetMaximum ()

Static Public Member Functions

vtkImageHSIToRGBNew ()
int IsTypeOf (const char *type)
vtkImageHSIToRGBSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkImageHSIToRGB ()
 ~vtkImageHSIToRGB ()
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int ext[6], int id)

Protected Attributes

double Maximum


Member Typedef Documentation

typedef vtkImageToImageFilter vtkImageHSIToRGB::Superclass
 

Reimplemented from vtkImageToImageFilter.

Definition at line 38 of file vtkImageHSIToRGB.h.


Constructor & Destructor Documentation

vtkImageHSIToRGB::vtkImageHSIToRGB  )  [protected]
 

vtkImageHSIToRGB::~vtkImageHSIToRGB  )  [inline, protected]
 

Definition at line 53 of file vtkImageHSIToRGB.h.


Member Function Documentation

vtkImageHSIToRGB* vtkImageHSIToRGB::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual const char* vtkImageHSIToRGB::GetClassName  )  [virtual]
 

Reimplemented from vtkImageToImageFilter.

int vtkImageHSIToRGB::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

virtual int vtkImageHSIToRGB::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

vtkImageHSIToRGB* vtkImageHSIToRGB::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkImageToImageFilter.

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 vtkImageToImageFilter.

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]
 

If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.

Reimplemented from vtkImageToImageFilter.


Member Data Documentation

double vtkImageHSIToRGB::Maximum [protected]
 

Definition at line 55 of file vtkImageHSIToRGB.h.


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