25#ifndef vtkExtentTranslator_h
26#define vtkExtentTranslator_h
28#include "vtkCommonExecutionModelModule.h"
47 vtkSetVector6Macro(WholeExtent,
int);
48 vtkGetVector6Macro(WholeExtent,
int);
49 vtkSetVector6Macro(Extent,
int);
50 vtkGetVector6Macro(Extent,
int);
53 vtkSetMacro(NumberOfPieces,
int);
54 vtkGetMacro(NumberOfPieces,
int);
55 vtkSetMacro(GhostLevel,
int);
56 vtkGetMacro(GhostLevel,
int);
70 int* resultExtent,
int splitMode,
int byPoints);
84 vtkGetMacro(SplitMode,
int);
117 friend class vtkInformationSplitModeRequestKey;
Generates a structured extent from unstructured.
int SplitExtentByPoints(int piece, int numPieces, int *extent, int splitMode)
Returns 0 if no data exist for a piece.
static vtkInformationIntegerRequestKey * UPDATE_SPLIT_MODE()
Key used to request a particular split mode.
void SetSplitModeToBlock()
How should the streamer break up extents.
void SetSplitModeToZSlab()
void SetSplitModeToYSlab()
int SplitExtent(int piece, int numPieces, int *extent, int splitMode)
Returns 0 if no data exist for a piece.
virtual int PieceToExtentThreadSafe(int piece, int numPieces, int ghostLevel, int *wholeExtent, int *resultExtent, int splitMode, int byPoints)
These are the main methods that should be called.
static vtkExtentTranslator * New()
virtual int PieceToExtentByPoints()
These are the main methods that should be called.
void SetSplitPath(int len, int *splitpath)
By default the translator creates N structured subextents by repeatedly splitting the largest current...
virtual int PieceToExtent()
These are the main methods that should be called.
static vtkInformationIntegerKey * DATA_SPLIT_MODE()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetSplitModeToXSlab()
~vtkExtentTranslator() override
a simple class to control print indentation
abstract base class for most VTK objects
std::map< DataSetType, DataSet > Piece