VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkImageToAMR Class Reference

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

#include <vtkImageToAMR.h>

Inherits vtkOverlappingAMRAlgorithm.

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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkOverlappingAMRAlgorithm vtkImageToAMR::Superclass

Definition at line 38 of file vtkImageToAMR.h.

Constructor & Destructor Documentation

vtkImageToAMR::vtkImageToAMR ( )
protected
vtkImageToAMR::~vtkImageToAMR ( )
protected

Member Function Documentation

static vtkImageToAMR* vtkImageToAMR::New ( )
static
static int vtkImageToAMR::IsTypeOf ( const char *  type)
static
virtual int vtkImageToAMR::IsA ( const char *  type)
virtual
static vtkImageToAMR* vtkImageToAMR::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageToAMR::NewInstanceInternal ( ) const
protectedvirtual
vtkImageToAMR* vtkImageToAMR::NewInstance ( ) const
void vtkImageToAMR::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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

virtual int vtkImageToAMR::GetMaximumNumberOfBlocks ( )
virtual

Set the maximun number of blocks in the output

virtual int vtkImageToAMR::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

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.

virtual int vtkImageToAMR::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

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

Member Data Documentation

int vtkImageToAMR::NumberOfLevels
protected

Definition at line 79 of file vtkImageToAMR.h.

int vtkImageToAMR::MaximumNumberOfBlocks
protected

Definition at line 80 of file vtkImageToAMR.h.

int vtkImageToAMR::RefinementRatio
protected

Definition at line 81 of file vtkImageToAMR.h.


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