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

#include <vtkRectilinearGridPartitioner.h>

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

List of all members.

Public Types

typedef
vtkMultiBlockDataSetAlgorithm 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkRectilinearGridPartitionerNewInstance () const
void PrintSelf (ostream &oss, vtkIndent indent)
virtual int GetNumberOfPartitions ()
virtual void SetNumberOfPartitions (int)
virtual int GetNumberOfGhostLayers ()
virtual void SetNumberOfGhostLayers (int)

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkRectilinearGridPartitioner ()
virtual ~vtkRectilinearGridPartitioner ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int FillOutputPortInformation (int port, vtkInformation *info)
void ExtractGridCoordinates (vtkRectilinearGrid *grd, int subext[6], vtkDoubleArray *xcoords, vtkDoubleArray *ycoords, vtkDoubleArray *zcoords)

Protected Attributes

int NumberOfPartitions
int NumberOfGhostLayers

Detailed Description

A concrete implementation of vtkMultiBlockDataSetAlgorithm that provides functionality for partitioning a VTK rectilinear dataset. The partitioning methd used is Recursive Coordinate Bisection (RCB) where each time the longest dimension is split.

See also:
vtkUniformGridPartitioner vtkStructuredGridPartitioner
Tests:
vtkRectilinearGridPartitioner (Tests)

Definition at line 42 of file vtkRectilinearGridPartitioner.h.


Member Typedef Documentation

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Definition at line 47 of file vtkRectilinearGridPartitioner.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 vtkMultiBlockDataSetAlgorithm.

static int vtkRectilinearGridPartitioner::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 vtkMultiBlockDataSetAlgorithm.

virtual int vtkRectilinearGridPartitioner::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 vtkMultiBlockDataSetAlgorithm.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

void vtkRectilinearGridPartitioner::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 vtkMultiBlockDataSetAlgorithm.

Set/Get macro for the number of subdivisions.

Set/Get macro for the number of subdivisions.

Set/Get macro for the number of ghost layers.

Set/Get macro for the number of ghost layers.

void vtkRectilinearGridPartitioner::ExtractGridCoordinates ( vtkRectilinearGrid grd,
int  subext[6],
vtkDoubleArray xcoords,
vtkDoubleArray ycoords,
vtkDoubleArray zcoords 
) [protected]

Extracts the coordinates

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

virtual int vtkRectilinearGridPartitioner::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 vtkMultiBlockDataSetAlgorithm.

virtual int vtkRectilinearGridPartitioner::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 vtkMultiBlockDataSetAlgorithm.


Member Data Documentation

Definition at line 81 of file vtkRectilinearGridPartitioner.h.

Definition at line 82 of file vtkRectilinearGridPartitioner.h.


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