29 #ifndef vtkExtentSplitter_h
30 #define vtkExtentSplitter_h
32 #include "vtkCommonExecutionModelModule.h"
35 class vtkExtentSplitterInternals;
51 int y0,
int y1,
int z0,
int z1);
62 void AddExtent(
int x0,
int x1,
int y0,
int y1,
int z0,
int z1);
107 vtkGetMacro(PointMode,
int);
117 void SplitExtent(
int*
extent,
int* subextent);
118 int IntersectExtents(const
int* extent1, const
int* extent2,
int* result);
119 int Min(
int a,
int b);
120 int Max(
int a,
int b);
123 vtkExtentSplitterInternals* Internal;
Split an extent across other extents.
~vtkExtentSplitter() override
void RemoveExtentSource(int id)
static vtkExtentSplitter * New()
void AddExtent(int *extent)
int ComputeSubExtents()
Split the extents currently in the queue among the available sources.
int * GetSubExtent(int index)
Get the sub-extent associated with the given index.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void AddExtent(int x0, int x1, int y0, int y1, int z0, int z1)
Add an extent to the queue of extents to be split among the available sources.
void AddExtentSource(int id, int priority, int x0, int x1, int y0, int y1, int z0, int z1)
Add/Remove a source providing the given extent.
void AddExtentSource(int id, int priority, int *extent)
int GetSubExtentSource(int index)
Get the id of the source from which the sub-extent associated with the given index should be read.
void GetSubExtent(int index, int *extent)
int GetNumberOfSubExtents()
Get the number of sub-extents into which the original set of extents have been split across the avail...
void RemoveAllExtentSources()
a simple class to control print indentation
abstract base class for most VTK objects
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.