25#ifndef vtkExtentTranslator_h
26#define vtkExtentTranslator_h
28#include "vtkCommonExecutionModelModule.h"
70 int* resultExtent,
int splitMode,
int byPoints);
125 int SplitExtent(
int piece,
int numPieces,
int* extent,
int splitMode);
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.
friend class vtkInformationSplitModeRequestKey
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