VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkMultiPieceDataSet Class Reference

composite dataset to encapsulates pieces of dataset. More...

#include <vtkMultiPieceDataSet.h>

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

List of all members.

Public Types

typedef vtkDataObjectTree Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkMultiPieceDataSetNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetDataObjectType ()
void SetNumberOfPieces (unsigned int numpieces)
unsigned int GetNumberOfPieces ()
void SetPiece (unsigned int pieceno, vtkDataObject *piece)
vtkDataSetGetPiece (unsigned int pieceno)
vtkDataObjectGetPieceAsDataObject (unsigned int pieceno)
int HasMetaData (unsigned int piece)
vtkInformationGetMetaData (unsigned int pieceno)
virtual vtkInformationGetMetaData (vtkCompositeDataIterator *iter)
virtual int HasMetaData (vtkCompositeDataIterator *iter)

Static Public Member Functions

static vtkMultiPieceDataSetNew ()
static int IsTypeOf (const char *type)
static vtkMultiPieceDataSetSafeDownCast (vtkObjectBase *o)
static vtkMultiPieceDataSetGetData (vtkInformation *info)
static vtkMultiPieceDataSetGetData (vtkInformationVector *v, int i=0)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkMultiPieceDataSet ()
 ~vtkMultiPieceDataSet ()

Detailed Description

composite dataset to encapsulates pieces of dataset.

A vtkMultiPieceDataSet dataset groups multiple data pieces together. For example, say that a simulation broke a volume into 16 piece so that each piece can be processed with 1 process in parallel. We want to load this volume in a visualization cluster of 4 nodes. Each node will get 4 pieces, not necessarily forming a whole rectangular piece. In this case, it is not possible to append the 4 pieces together into a vtkImageData. In this case, these 4 pieces can be collected together using a vtkMultiPieceDataSet. Note that vtkMultiPieceDataSet is intended to be included in other composite datasets eg. vtkMultiBlockDataSet, vtkHierarchicalBoxDataSet. Hence the lack of algorithms producting vtkMultiPieceDataSet.

Tests:
vtkMultiPieceDataSet (Tests)

Definition at line 42 of file vtkMultiPieceDataSet.h.


Member Typedef Documentation

Reimplemented from vtkDataObjectTree.

Definition at line 46 of file vtkMultiPieceDataSet.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 vtkDataObject.

static int vtkMultiPieceDataSet::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 vtkDataObjectTree.

virtual int vtkMultiPieceDataSet::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 vtkDataObjectTree.

Reimplemented from vtkDataObjectTree.

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

Reimplemented from vtkDataObjectTree.

Reimplemented from vtkDataObjectTree.

void vtkMultiPieceDataSet::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 vtkDataObjectTree.

virtual int vtkMultiPieceDataSet::GetDataObjectType ( ) [inline, virtual]

Return class name of data type (see vtkType.h for definitions).

Reimplemented from vtkCompositeDataSet.

Definition at line 50 of file vtkMultiPieceDataSet.h.

void vtkMultiPieceDataSet::SetNumberOfPieces ( unsigned int  numpieces)

Set the number of pieces. This will cause allocation if the new number of pieces is greater than the current size. All new pieces are initialized to null.

Returns the number of pieces.

Returns the piece at the given index.

Returns the piece at the given index.

void vtkMultiPieceDataSet::SetPiece ( unsigned int  pieceno,
vtkDataObject piece 
)

Sets the data object as the given piece. The total number of pieces will be resized to fit the requested piece no.

int vtkMultiPieceDataSet::HasMetaData ( unsigned int  piece) [inline]

Returns true if meta-data is available for a given piece.

Definition at line 73 of file vtkMultiPieceDataSet.h.

vtkInformation* vtkMultiPieceDataSet::GetMetaData ( unsigned int  pieceno) [inline]

Returns the meta-data for the piece. If none is already present, a new vtkInformation object will be allocated. Use HasMetaData to avoid allocating vtkInformation objects.

Definition at line 81 of file vtkMultiPieceDataSet.h.

Retrieve an instance of this class from an information object.

Reimplemented from vtkDataObjectTree.

Retrieve an instance of this class from an information object.

Reimplemented from vtkDataObjectTree.

Unhiding superclass method.

Reimplemented from vtkDataObjectTree.

Definition at line 95 of file vtkMultiPieceDataSet.h.

virtual int vtkMultiPieceDataSet::HasMetaData ( vtkCompositeDataIterator iter) [inline, virtual]

Unhiding superclass method.

Reimplemented from vtkDataObjectTree.

Definition at line 101 of file vtkMultiPieceDataSet.h.


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