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

#include <vtkUniformGridGhostDataGenerator.h>

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

List of all members.

Public Types

typedef vtkDataSetGhostGenerator Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkUniformGridGhostDataGenerator ()
virtual ~vtkUniformGridGhostDataGenerator ()
void ComputeOrigin (vtkMultiBlockDataSet *in)
void ComputeGlobalSpacingVector (vtkMultiBlockDataSet *in)
void RegisterGrids (vtkMultiBlockDataSet *in)
void CreateGhostedDataSet (vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out)
void GenerateGhostLayers (vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out)

Protected Attributes

double GlobalSpacing [3]
double GlobalOrigin [3]
vtkStructuredGridConnectivityGridConnectivity

Detailed Description

A concrete implementation of vtkDataSetGhostGenerator for generating ghost data on partitioned uniform grids on a single process. For a distributed data-set see vtkPUniformGridGhostDataGenerator.

Warning:
  1. The input multi-block dataset must:
    • Have the whole-extent set
    • Each block must be an instance of vtkUniformGrid
    • Each block must have its corresponding global extent set in the meta-data using the PIECE_EXTENT() key
    • The spacing of each block is the same
    • All blocks must have the same fields loaded
  2. The code currently does not handle the following cases:
    • Ghost cells along Periodic boundaries
    • Growing ghost layers beyond the extents of the neighboring grid
See also:
vtkDataSetGhostGenerator, vtkPUniformGhostDataGenerator
Tests:
vtkUniformGridGhostDataGenerator (Tests)

Definition at line 62 of file vtkUniformGridGhostDataGenerator.h.


Member Typedef Documentation

Reimplemented from vtkDataSetGhostGenerator.

Definition at line 67 of file vtkUniformGridGhostDataGenerator.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 vtkUniformGridGhostDataGenerator::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 vtkDataSetGhostGenerator.

virtual int vtkUniformGridGhostDataGenerator::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 vtkDataSetGhostGenerator.

Reimplemented from vtkDataSetGhostGenerator.

Reimplemented from vtkDataSetGhostGenerator.

Reimplemented from vtkDataSetGhostGenerator.

void vtkUniformGridGhostDataGenerator::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 vtkDataSetGhostGenerator.

Computes the global origin

Computes the global spacing vector

Registers the grid associated with this instance of multi-block.

Creates the output

Generates ghost layers.

Implements vtkDataSetGhostGenerator.


Member Data Documentation

Definition at line 96 of file vtkUniformGridGhostDataGenerator.h.

Definition at line 97 of file vtkUniformGridGhostDataGenerator.h.

Definition at line 98 of file vtkUniformGridGhostDataGenerator.h.


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