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

vtkImageHSVToRGB Class Reference

Converts HSV components to RGB. More...

#include <vtkImageHSVToRGB.h>

Inheritance diagram for vtkImageHSVToRGB:

Inheritance graph
[legend]
Collaboration diagram for vtkImageHSVToRGB:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Static Public Methods

vtkImageHSVToRGB * New ()
int IsTypeOf (const char *type)
vtkImageHSVToRGB * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageHSVToRGB ()
 ~vtkImageHSVToRGB ()
 vtkImageHSVToRGB (const vtkImageHSVToRGB &)
void operator= (const vtkImageHSVToRGB &)
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int ext[6], int id)

Protected Attributes

float Maximum

Detailed Description

Converts HSV components to RGB.

Date:
2000/12/10 20:09:06
Revision:
1.15
Thanks:
Thanks to C. Charles Law who developed this class.
For each pixel with hue, saturation and value components this filter outputs the color coded as red, green, blue. Output type must be the same as input type.

See also:
vtkImageRGBToHSV
Examples:
vtkImageHSVToRGB (examples)

Definition at line 63 of file vtkImageHSVToRGB.h.


Constructor & Destructor Documentation

vtkImageHSVToRGB::vtkImageHSVToRGB   [protected]
 

vtkImageHSVToRGB::~vtkImageHSVToRGB   [inline, protected]
 

Definition at line 80 of file vtkImageHSVToRGB.h.

vtkImageHSVToRGB::vtkImageHSVToRGB const vtkImageHSVToRGB &    [inline, protected]
 

Definition at line 81 of file vtkImageHSVToRGB.h.


Member Function Documentation

vtkImageHSVToRGB* vtkImageHSVToRGB::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageToImageFilter.

virtual const char* vtkImageHSVToRGB::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

int vtkImageHSVToRGB::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

virtual int vtkImageHSVToRGB::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

vtkImageHSVToRGB* vtkImageHSVToRGB::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

void vtkImageHSVToRGB::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 vtkImageHSVToRGB::SetMaximum float    [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 float vtkImageHSVToRGB::GetMaximum   [virtual]
 

void vtkImageHSVToRGB::operator= const vtkImageHSVToRGB &    [inline, protected]
 

Definition at line 82 of file vtkImageHSVToRGB.h.

void vtkImageHSVToRGB::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

float vtkImageHSVToRGB::Maximum [protected]
 

Definition at line 84 of file vtkImageHSVToRGB.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:48:37 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001