VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkImageLuminance Class Reference

Computes the luminance of the input. More...

#include <vtkImageLuminance.h>

Inheritance diagram for vtkImageLuminance:
Inheritance graph
[legend]
Collaboration diagram for vtkImageLuminance:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageLuminanceNewInstance () const

Static Public Member Functions

static vtkImageLuminanceNew ()
static int IsTypeOf (const char *type)
static vtkImageLuminanceSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageLuminance ()
 ~vtkImageLuminance ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int outExt[6], int id)

Detailed Description

Computes the luminance of the input.

vtkImageLuminance calculates luminance from an rgb input.

Examples:
vtkImageLuminance (Examples)
Tests:
vtkImageLuminance (Tests)

Definition at line 34 of file vtkImageLuminance.h.


Member Typedef Documentation

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 38 of file vtkImageLuminance.h.


Constructor & Destructor Documentation

vtkImageLuminance::~vtkImageLuminance ( ) [inline, protected]

Definition at line 42 of file vtkImageLuminance.h.


Member Function Documentation

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.

Reimplemented from vtkThreadedImageAlgorithm.

virtual vtkObjectBase* vtkImageLuminance::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkThreadedImageAlgorithm.

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.


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