29#ifndef vtkExtentSplitter_h
30#define vtkExtentSplitter_h
32#include "vtkCommonExecutionModelModule.h"
35class vtkExtentSplitterInternals;
61 void AddExtent(
int x0,
int x1,
int y0,
int y1,
int z0,
int z1);
Split an extent across other extents.
~vtkExtentSplitter() override
vtkExtentSplitterInternals * Internal
void RemoveExtentSource(int id)
Add/Remove a source providing the given extent.
void SplitExtent(int *extent, int *subextent)
void AddExtent(int *extent)
Add an extent to the queue of extents to be split among the available sources.
int * GetSubExtent(int index)
Get the sub-extent associated with the given index.
int ComputeSubExtents()
Split the extents currently in the queue among the available sources.
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)
Add/Remove a source providing the given extent.
int GetSubExtentSource(int index)
Get the id of the source from which the sub-extent associated with the given index should be read.
int IntersectExtents(const int *extent1, const int *extent2, int *result)
void GetSubExtent(int index, int *extent)
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...
void RemoveAllExtentSources()
Add/Remove a source providing the given extent.
static vtkExtentSplitter * New()
a simple class to control print indentation
abstract base class for most VTK objects
#define VTK_SIZEHINT(...)