vtkImageLuminance Class Reference

#include <vtkImageLuminance.h>

Inheritance diagram for vtkImageLuminance:

vtkImageToImageFilter vtkImageSource vtkSource vtkProcessObject vtkObject vtkObjectBase List of all members.

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.

Public Types

typedef vtkImageToImageFilter 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 ()
void ExecuteInformation (vtkImageData *inData, vtkImageData *outData)
void ExecuteInformation ()
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int ext[6], int id)


Member Typedef Documentation

typedef vtkImageToImageFilter vtkImageLuminance::Superclass
 

Reimplemented from vtkImageToImageFilter.

Definition at line 37 of file vtkImageLuminance.h.


Constructor & Destructor Documentation

vtkImageLuminance::vtkImageLuminance  )  [inline, protected]
 

Definition at line 40 of file vtkImageLuminance.h.

vtkImageLuminance::~vtkImageLuminance  )  [inline, protected]
 

Definition at line 41 of file vtkImageLuminance.h.


Member Function Documentation

static vtkImageLuminance* vtkImageLuminance::New  )  [static]
 

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

Reimplemented from vtkObject.

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

Reimplemented from vtkImageToImageFilter.

static int vtkImageLuminance::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 vtkImageLuminance::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.

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

Reimplemented from vtkImageToImageFilter.

void vtkImageLuminance::ExecuteInformation vtkImageData inData,
vtkImageData outData
[protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

void vtkImageLuminance::ExecuteInformation  )  [inline, protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

Definition at line 44 of file vtkImageLuminance.h.

References vtkImageToImageFilter::ExecuteInformation().

void vtkImageLuminance::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.


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