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

convert vtkImageData to vtkUniformGrid More...

#include <vtkImageDataToUniformGrid.h>

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

List of all members.

Public Types

typedef vtkDataObjectAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageDataToUniformGridNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetReverse (int)
virtual int GetReverse ()
virtual void ReverseOn ()
virtual void ReverseOff ()

Static Public Member Functions

static vtkImageDataToUniformGridNew ()
static int IsTypeOf (const char *type)
static vtkImageDataToUniformGridSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageDataToUniformGrid ()
 ~vtkImageDataToUniformGrid ()
virtual int RequestData (vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV)
virtual int RequestDataObject (vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV)
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int FillOutputPortInformation (int port, vtkInformation *info)
virtual int Process (vtkImageData *input, int association, const char *arrayName, vtkUniformGrid *output)

Detailed Description

convert vtkImageData to vtkUniformGrid

Convert a vtkImageData to vtkUniformGrid and set blanking based on specified by named arrays. By default, values of 0 in the named array will result in the point or cell being blanked. Set Reverse to 1 to indicate that values of 0 will result in the point or cell to not be blanked.

Tests:
vtkImageDataToUniformGrid (Tests)

Definition at line 39 of file vtkImageDataToUniformGrid.h.


Member Typedef Documentation

Reimplemented from vtkDataObjectAlgorithm.

Definition at line 44 of file vtkImageDataToUniformGrid.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkDataObjectAlgorithm.

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

virtual int vtkImageDataToUniformGrid::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 vtkDataObjectAlgorithm.

Reimplemented from vtkDataObjectAlgorithm.

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

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented from vtkDataObjectAlgorithm.

void vtkImageDataToUniformGrid::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkDataObjectAlgorithm.

virtual void vtkImageDataToUniformGrid::SetReverse ( int  ) [virtual]

By default, values of 0 (i.e. Reverse = 0) in the array will result in that point or cell to be blanked. Set Reverse to 1 to make points or cells to not be blanked for array values of 0.

By default, values of 0 (i.e. Reverse = 0) in the array will result in that point or cell to be blanked. Set Reverse to 1 to make points or cells to not be blanked for array values of 0.

virtual void vtkImageDataToUniformGrid::ReverseOn ( ) [virtual]

By default, values of 0 (i.e. Reverse = 0) in the array will result in that point or cell to be blanked. Set Reverse to 1 to make points or cells to not be blanked for array values of 0.

virtual void vtkImageDataToUniformGrid::ReverseOff ( ) [virtual]

By default, values of 0 (i.e. Reverse = 0) in the array will result in that point or cell to be blanked. Set Reverse to 1 to make points or cells to not be blanked for array values of 0.

virtual int vtkImageDataToUniformGrid::RequestData ( vtkInformation req,
vtkInformationVector **  inV,
vtkInformationVector outV 
) [protected, virtual]

Reimplemented from vtkDataObjectAlgorithm.

This is called by the superclass. This is the method you should override.

Reimplemented from vtkDataObjectAlgorithm.

virtual int vtkImageDataToUniformGrid::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkDataObjectAlgorithm.

virtual int vtkImageDataToUniformGrid::FillOutputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkDataObjectAlgorithm.

virtual int vtkImageDataToUniformGrid::Process ( vtkImageData input,
int  association,
const char *  arrayName,
vtkUniformGrid output 
) [protected, virtual]

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