VTK
|
filter to convert any vtkImageData to a vtkOverlappingAMR. More...
#include <vtkImageToAMR.h>
Public Types | |
typedef vtkOverlappingAMRAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageToAMR * | NewInstance () 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 vtkImageToAMR * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageToAMR * | SafeDownCast (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 |
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.
Definition at line 34 of file vtkImageToAMR.h.
Reimplemented from vtkOverlappingAMRAlgorithm.
Definition at line 38 of file vtkImageToAMR.h.
vtkImageToAMR::vtkImageToAMR | ( | ) | [protected] |
vtkImageToAMR::~vtkImageToAMR | ( | ) | [protected] |
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.
static vtkImageToAMR* vtkImageToAMR::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkOverlappingAMRAlgorithm.
virtual vtkObjectBase* vtkImageToAMR::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkOverlappingAMRAlgorithm.
vtkImageToAMR* vtkImageToAMR::NewInstance | ( | ) | const |
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
virtual int vtkImageToAMR::GetMaximumNumberOfBlocks | ( | ) | [virtual] |
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.
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.