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:
[legend]
Collaboration diagram for vtkImageLuminance:
[legend]

List of all members.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

 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 33 of file vtkImageLuminance.h.


Member Typedef Documentation

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 37 of file vtkImageLuminance.h.


Constructor & Destructor Documentation

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

Definition at line 41 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.

virtual const char* vtkImageLuminance::GetClassName ( ) [virtual]

Reimplemented from vtkThreadedImageAlgorithm.

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 int vtkImageLuminance::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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: