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

#include <vtkStructuredGridPartitioner.h>

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

List of all members.

Public Types

typedef
vtkMultiBlockDataSetAlgorithm 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkStructuredGridPartitionerNewInstance () 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
vtkStructuredGridPartitioner
New ()
static int IsTypeOf (const char *type)
static
vtkStructuredGridPartitioner
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkStructuredGridPartitioner ()
virtual ~vtkStructuredGridPartitioner ()
vtkPointsExtractSubGridPoints (vtkStructuredGrid *wholeGrid, int subext[6])
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int FillOutputPortInformation (int port, vtkInformation *info)

Protected Attributes

int NumberOfPartitions
int NumberOfGhostLayers

Detailed Description

A concrete implementation of vtkMultiBlockDataSetAlgorithm that provides functionality for partitioning a VTK structured grid dataset. The partition- ing method used is Recursive Coordinate Bisection (RCB) where each time the longest dimension is split.

See also:
vtkUniformGridPartitioner vtkRectilinearGridPartitioner
Tests:
vtkStructuredGridPartitioner (Tests)

Definition at line 42 of file vtkStructuredGridPartitioner.h.


Member Typedef Documentation

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Definition at line 47 of file vtkStructuredGridPartitioner.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 vtkStructuredGridPartitioner::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 vtkStructuredGridPartitioner::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* vtkStructuredGridPartitioner::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

void vtkStructuredGridPartitioner::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.

Extracts the coordinates of the sub-grid from the whole grid.

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

virtual int vtkStructuredGridPartitioner::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 vtkStructuredGridPartitioner::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 75 of file vtkStructuredGridPartitioner.h.

Definition at line 76 of file vtkStructuredGridPartitioner.h.


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