VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageToAMR Class Reference

filter to convert any vtkImageData to a vtkOverlappingAMR. More...

#include <vtkImageToAMR.h>

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

List of all members.

Public Types

typedef vtkOverlappingAMRAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageToAMRNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetNumberOfLevels (int)
virtual int GetNumberOfLevels ()
virtual void SetRefinementRatio (int)
virtual int GetRefinementRatio ()
virtual void SetMaximumNumberOfBlocks (int)
virtual int GetMaximumNumberOfBlocks ()

Static Public Member Functions

static vtkImageToAMRNew ()
static int IsTypeOf (const char *type)
static vtkImageToAMRSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageToAMR ()
 ~vtkImageToAMR ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

int NumberOfLevels
int MaximumNumberOfBlocks
int RefinementRatio

Detailed Description

filter to convert any vtkImageData to a vtkOverlappingAMR.

vtkImageToAMR is a simple filter that converts any vtkImageData to a vtkOverlappingAMR dataset. The input vtkImageData is treated as the highest refinement available for the highest level. The lower refinements and the number of blocks is controlled properties specified on the filter.

Tests:
vtkImageToAMR (Tests)

Definition at line 34 of file vtkImageToAMR.h.


Member Typedef Documentation

Reimplemented from vtkOverlappingAMRAlgorithm.

Definition at line 38 of file vtkImageToAMR.h.


Constructor & Destructor Documentation


Member Function Documentation

static vtkImageToAMR* vtkImageToAMR::New ( ) [static]

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

Reimplemented from vtkOverlappingAMRAlgorithm.

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

virtual int vtkImageToAMR::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 vtkOverlappingAMRAlgorithm.

Reimplemented from vtkOverlappingAMRAlgorithm.

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

Reimplemented from vtkOverlappingAMRAlgorithm.

Reimplemented from vtkOverlappingAMRAlgorithm.

void vtkImageToAMR::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 vtkOverlappingAMRAlgorithm.

virtual void vtkImageToAMR::SetNumberOfLevels ( int  ) [virtual]

Set the maximum number of levels in the generated Overlapping-AMR.

virtual int vtkImageToAMR::GetNumberOfLevels ( ) [virtual]

Set the maximum number of levels in the generated Overlapping-AMR.

virtual void vtkImageToAMR::SetRefinementRatio ( int  ) [virtual]

Set the refinement ratio for levels. This refinement ratio is used for all levels.

virtual int vtkImageToAMR::GetRefinementRatio ( ) [virtual]

Set the refinement ratio for levels. This refinement ratio is used for all levels.

virtual void vtkImageToAMR::SetMaximumNumberOfBlocks ( int  ) [virtual]

Set the maximun number of blocks in the output

Set the maximun number of blocks in the output

virtual int vtkImageToAMR::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 vtkOverlappingAMRAlgorithm.

virtual int vtkImageToAMR::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

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

Reimplemented from vtkUniformGridAMRAlgorithm.


Member Data Documentation

Definition at line 79 of file vtkImageToAMR.h.

Definition at line 80 of file vtkImageToAMR.h.

Definition at line 81 of file vtkImageToAMR.h.


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