Go to the documentation of this file.
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;
int * GetSubExtent(int index)
Get the sub-extent associated with the given index.
int GetNumberOfSubExtents()
Get the number of sub-extents into which the original set of extents have been split across the avail...
int GetSubExtentSource(int index)
Get the id of the source from which the sub-extent associated with the given index should be read.
abstract base class for most VTK objects
void AddExtentSource(int id, int priority, int *extent)
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 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 RemoveExtentSource(int id)
static vtkExtentSplitter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RemoveAllExtentSources()
a simple class to control print indentation
void GetSubExtent(int index, int *extent)
int ComputeSubExtents()
Split the extents currently in the queue among the available sources.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
Split an extent across other extents.
void AddExtent(int *extent)
~vtkExtentSplitter() override