Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkExtentTranslator Class Reference

Generates a structured extent from unstructured. More...

#include <vtkExtentTranslator.h>

Inheritance diagram for vtkExtentTranslator:

Inheritance graph
[legend]
Collaboration diagram for vtkExtentTranslator:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetWholeExtent (int, int, int, int, int, int)
virtual void SetWholeExtent (int[6])
virtual int * GetWholeExtent ()
virtual void GetWholeExtent (int &, int &, int &, int &, int &, int &)
virtual void GetWholeExtent (int[6])
virtual void SetExtent (int, int, int, int, int, int)
virtual void SetExtent (int[6])
virtual int * GetExtent ()
virtual void GetExtent (int &, int &, int &, int &, int &, int &)
virtual void GetExtent (int[6])
virtual int PieceToExtent ()
virtual void SetPiece (int)
virtual int GetPiece ()
virtual void SetNumberOfPieces (int)
virtual int GetNumberOfPieces ()
virtual void SetGhostLevel (int)
virtual int GetGhostLevel ()

Static Public Methods

vtkExtentTranslator * New ()
int IsTypeOf (const char *type)
vtkExtentTranslator * SafeDownCast (vtkObject *o)

Protected Methods

 vtkExtentTranslator ()
 ~vtkExtentTranslator ()
 vtkExtentTranslator (const vtkExtentTranslator &)
void operator= (const vtkExtentTranslator &)
int SplitExtent (int piece, int numPieces, int *extent)

Protected Attributes

int Piece
int NumberOfPieces
int GhostLevel
int Extent [6]
int WholeExtent [6]
int MinimumPieceSize [3]

Detailed Description

Generates a structured extent from unstructured.

Date:
2000/12/14 19:11:11
Revision:
1.7.2.1

vtkExtentTranslator generates a structured extent from an unstructured extent. It uses a recursive scheme that splits the largest axis. A hard coded extent can be used for a starting point.

Warning:
This object is still under development.

Definition at line 61 of file vtkExtentTranslator.h.


Constructor & Destructor Documentation

vtkExtentTranslator::vtkExtentTranslator   [protected]
 

vtkExtentTranslator::~vtkExtentTranslator   [protected]
 

vtkExtentTranslator::vtkExtentTranslator const vtkExtentTranslator &    [inline, protected]
 

Definition at line 86 of file vtkExtentTranslator.h.


Member Function Documentation

vtkExtentTranslator* vtkExtentTranslator::New   [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

Reimplemented in vtkBranchExtentTranslator.

virtual const char* vtkExtentTranslator::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Reimplemented in vtkBranchExtentTranslator.

int vtkExtentTranslator::IsTypeOf const char *    type [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 vtkObject.

Reimplemented in vtkBranchExtentTranslator.

virtual int vtkExtentTranslator::IsA const char *    type [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 vtkObject.

Reimplemented in vtkBranchExtentTranslator.

vtkExtentTranslator* vtkExtentTranslator::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Reimplemented in vtkBranchExtentTranslator.

void vtkExtentTranslator::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 vtkObject.

Reimplemented in vtkBranchExtentTranslator.

virtual void vtkExtentTranslator::SetWholeExtent int   ,
int   ,
int   ,
int   ,
int   ,
int   
[virtual]
 

Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.

virtual void vtkExtentTranslator::SetWholeExtent int   [6] [virtual]
 

virtual int* vtkExtentTranslator::GetWholeExtent   [virtual]
 

virtual void vtkExtentTranslator::GetWholeExtent int &   ,
int &   ,
int &   ,
int &   ,
int &   ,
int &   
[virtual]
 

virtual void vtkExtentTranslator::GetWholeExtent int   [6] [virtual]
 

virtual void vtkExtentTranslator::SetExtent int   ,
int   ,
int   ,
int   ,
int   ,
int   
[virtual]
 

virtual void vtkExtentTranslator::SetExtent int   [6] [virtual]
 

virtual int* vtkExtentTranslator::GetExtent   [virtual]
 

virtual void vtkExtentTranslator::GetExtent int &   ,
int &   ,
int &   ,
int &   ,
int &   ,
int &   
[virtual]
 

virtual void vtkExtentTranslator::GetExtent int   [6] [virtual]
 

virtual int vtkExtentTranslator::PieceToExtent   [virtual]
 

Reimplemented in vtkBranchExtentTranslator.

virtual void vtkExtentTranslator::SetPiece int    [virtual]
 

virtual int vtkExtentTranslator::GetPiece   [virtual]
 

virtual void vtkExtentTranslator::SetNumberOfPieces int    [virtual]
 

virtual int vtkExtentTranslator::GetNumberOfPieces   [virtual]
 

virtual void vtkExtentTranslator::SetGhostLevel int    [virtual]
 

virtual int vtkExtentTranslator::GetGhostLevel   [virtual]
 

void vtkExtentTranslator::operator= const vtkExtentTranslator &    [inline, protected]
 

Definition at line 87 of file vtkExtentTranslator.h.

int vtkExtentTranslator::SplitExtent int    piece,
int    numPieces,
int *    extent
[protected]
 

Returns 0 if no data exist for a piece. The whole extent Should be passed in as the extent. It is modified to return the result.


Member Data Documentation

int vtkExtentTranslator::Piece [protected]
 

Definition at line 94 of file vtkExtentTranslator.h.

int vtkExtentTranslator::NumberOfPieces [protected]
 

Definition at line 95 of file vtkExtentTranslator.h.

int vtkExtentTranslator::GhostLevel [protected]
 

Definition at line 96 of file vtkExtentTranslator.h.

int vtkExtentTranslator::Extent[6] [protected]
 

Definition at line 97 of file vtkExtentTranslator.h.

int vtkExtentTranslator::WholeExtent[6] [protected]
 

Definition at line 98 of file vtkExtentTranslator.h.

int vtkExtentTranslator::MinimumPieceSize[3] [protected]
 

Definition at line 100 of file vtkExtentTranslator.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:47:50 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001