VTK
|
Computes the luminance of the input. More...
#include <vtkImageLuminance.h>
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageLuminance * | NewInstance () const |
Static Public Member Functions | |
static vtkImageLuminance * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageLuminance * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageLuminance () | |
~vtkImageLuminance () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int outExt[6], int id) |
Computes the luminance of the input.
vtkImageLuminance calculates luminance from an rgb input.
Definition at line 34 of file vtkImageLuminance.h.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 38 of file vtkImageLuminance.h.
vtkImageLuminance::vtkImageLuminance | ( | ) | [protected] |
vtkImageLuminance::~vtkImageLuminance | ( | ) | [inline, protected] |
Definition at line 42 of file vtkImageLuminance.h.
static vtkImageLuminance* vtkImageLuminance::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkImageLuminance::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 vtkImageLuminance::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 vtkImageLuminance* vtkImageLuminance::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
virtual vtkObjectBase* vtkImageLuminance::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
vtkImageLuminance* vtkImageLuminance::NewInstance | ( | ) | const |
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageLuminance::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented from vtkImageAlgorithm.
void vtkImageLuminance::ThreadedExecute | ( | vtkImageData * | inData, |
vtkImageData * | outData, | ||
int | outExt[6], | ||
int | id | ||
) | [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.