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

Flat the octree into a uniform grid. More...

#include <vtkHyperOctreeToUniformGridFilter.h>

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

List of all members.

Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkHyperOctreeToUniformGridFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static
vtkHyperOctreeToUniformGridFilter
New ()
static int IsTypeOf (const char *type)
static
vtkHyperOctreeToUniformGridFilter
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkHyperOctreeToUniformGridFilter ()
 ~vtkHyperOctreeToUniformGridFilter ()
int RequestInformation (vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
void CopyCellData (int cellExtent[6])

Protected Attributes

vtkDataSetAttributesInputCD
vtkCellDataOutputCD
vtkHyperOctreeCursorCursor
int YExtent
int ZExtent
vtkImageDataOutput

Detailed Description

Flat the octree into a uniform grid.

vtkHyperOctreeToUniformGridFilter creates a uniform grid with a resolution based on the number of levels of the hyperoctree. Then, it copies celldata in each cell of the uniform grid that belongs to an actual leaf of the hyperoctree.

See also:
vtkGeometryFilter vtkStructuredGridGeometryFilter.
Tests:
vtkHyperOctreeToUniformGridFilter (Tests)

Definition at line 41 of file vtkHyperOctreeToUniformGridFilter.h.


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 45 of file vtkHyperOctreeToUniformGridFilter.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 vtkAlgorithm.

static int vtkHyperOctreeToUniformGridFilter::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 vtkImageAlgorithm.

virtual int vtkHyperOctreeToUniformGridFilter::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 vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

void vtkHyperOctreeToUniformGridFilter::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 vtkImageAlgorithm.

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

This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.

Reimplemented from vtkImageAlgorithm.

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

These method should be reimplemented by subclasses that have more than a single input or single output. See vtkAlgorithm for more information.

Reimplemented from vtkImageAlgorithm.

void vtkHyperOctreeToUniformGridFilter::CopyCellData ( int  cellExtent[6]) [protected]

Member Data Documentation

Definition at line 63 of file vtkHyperOctreeToUniformGridFilter.h.

Definition at line 64 of file vtkHyperOctreeToUniformGridFilter.h.

Definition at line 65 of file vtkHyperOctreeToUniformGridFilter.h.

Definition at line 66 of file vtkHyperOctreeToUniformGridFilter.h.

Definition at line 67 of file vtkHyperOctreeToUniformGridFilter.h.

Definition at line 68 of file vtkHyperOctreeToUniformGridFilter.h.


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