#include <vtkSimpleImageFilterExample.h>
This is an example of a simple image-image filter. It copies it's input to it's output (point by point). It shows how templates can be used to support various data types.
Definition at line 33 of file vtkSimpleImageFilterExample.h.
Public Types | |
typedef vtkSimpleImageToImageFilter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
Static Public Member Functions | |
static vtkSimpleImageFilterExample * | New () |
static int | IsTypeOf (const char *type) |
static vtkSimpleImageFilterExample * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSimpleImageFilterExample () | |
~vtkSimpleImageFilterExample () | |
virtual void | SimpleExecute (vtkImageData *input, vtkImageData *output) |
Reimplemented from vtkSimpleImageToImageFilter.
Definition at line 37 of file vtkSimpleImageFilterExample.h.
vtkSimpleImageFilterExample::vtkSimpleImageFilterExample | ( | ) | [inline, protected] |
Definition at line 41 of file vtkSimpleImageFilterExample.h.
vtkSimpleImageFilterExample::~vtkSimpleImageFilterExample | ( | ) | [inline, protected] |
Definition at line 42 of file vtkSimpleImageFilterExample.h.
static vtkSimpleImageFilterExample* vtkSimpleImageFilterExample::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkSimpleImageFilterExample::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkSimpleImageToImageFilter.
static int vtkSimpleImageFilterExample::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkSimpleImageToImageFilter.
virtual int vtkSimpleImageFilterExample::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkSimpleImageToImageFilter.
static vtkSimpleImageFilterExample* vtkSimpleImageFilterExample::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkSimpleImageToImageFilter.
virtual void vtkSimpleImageFilterExample::SimpleExecute | ( | vtkImageData * | input, | |
vtkImageData * | output | |||
) | [protected, virtual] |
Implements vtkSimpleImageToImageFilter.