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

#include <vtkUniformGridPartitioner.h>

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

List of all members.

Public Types

typedef
vtkMultiBlockDataSetAlgorithm 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkUniformGridPartitionerNewInstance () 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 vtkUniformGridPartitionerNew ()
static int IsTypeOf (const char *type)
static vtkUniformGridPartitionerSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkUniformGridPartitioner ()
virtual ~vtkUniformGridPartitioner ()
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 uniform grid. The partitioning method that is used is Recursive Coordinate Bisection (RCB) where each time the longest dimension is split.

See also:
vtkStructuredGridPartitioner vtkRectilinearGridPartitioner
Tests:
vtkUniformGridPartitioner (Tests)

Definition at line 40 of file vtkUniformGridPartitioner.h.


Member Typedef Documentation

Reimplemented from vtkMultiBlockDataSetAlgorithm.

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

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

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

virtual int vtkUniformGridPartitioner::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 vtkUniformGridPartitioner::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 70 of file vtkUniformGridPartitioner.h.

Definition at line 71 of file vtkUniformGridPartitioner.h.


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