Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkSimpleImageFilterExample Class Reference

Simple example of an image-image filter. More...

#include <vtkSimpleImageFilterExample.h>

Inheritance diagram for vtkSimpleImageFilterExample:

Inheritance graph
[legend]
Collaboration diagram for vtkSimpleImageFilterExample:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Static Public Methods

vtkSimpleImageFilterExample * New ()
int IsTypeOf (const char *type)
vtkSimpleImageFilterExample * SafeDownCast (vtkObject *o)

Protected Methods

 vtkSimpleImageFilterExample ()
 ~vtkSimpleImageFilterExample ()
virtual void SimpleExecute (vtkImageData *input, vtkImageData *output)

Detailed Description

Simple example of an image-image filter.

Date:
2001/12/06 18:43:13
Revision:
1.9
Thanks:
Thanks to C. Charles Law who developed this class.
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.
See also:
vtkSimpleImageFilterExample
Tests:
vtkSimpleImageFilterExample (Tests)

Definition at line 62 of file vtkSimpleImageFilterExample.h.


Constructor & Destructor Documentation

vtkSimpleImageFilterExample::vtkSimpleImageFilterExample   [inline, protected]
 

Definition at line 70 of file vtkSimpleImageFilterExample.h.

vtkSimpleImageFilterExample::~vtkSimpleImageFilterExample   [inline, protected]
 

Definition at line 71 of file vtkSimpleImageFilterExample.h.


Member Function Documentation

vtkSimpleImageFilterExample* vtkSimpleImageFilterExample::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageSource.

virtual const char* vtkSimpleImageFilterExample::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSimpleImageToImageFilter.

int vtkSimpleImageFilterExample::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSimpleImageToImageFilter.

virtual int vtkSimpleImageFilterExample::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSimpleImageToImageFilter.

vtkSimpleImageFilterExample* vtkSimpleImageFilterExample::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSimpleImageToImageFilter.

virtual void vtkSimpleImageFilterExample::SimpleExecute vtkImageData   input,
vtkImageData   output
[protected, virtual]
 

Reimplemented from vtkSimpleImageToImageFilter.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:42:36 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001