29 #ifndef vtkExtractStructuredGridHelper_h
30 #define vtkExtractStructuredGridHelper_h
59 vtkGetVector6Macro(OutputWholeExtent,
int);
66 void Initialize(
int voi[6],
int wholeExt[6],
int sampleRate[3],
67 bool includeBoundary);
75 int GetSize(
const int dim);
84 int GetMappedIndex(
int dim,
int outIdx);
95 int GetMappedIndexFromExtentValue(
int dim,
int outExtVal);
105 int GetMappedExtentValue(
int dim,
int outExtVal);
114 int GetMappedExtentValueFromIndex(
int dim,
int outIdx);
119 void ComputeBeginAndEnd(
int inExt[6],
int voi[6],
int begin[3],
int end[3]);
130 void CopyPointsAndPointData(
int inExt[6],
int outExt[6],
142 void CopyCellData(
int inExt[6],
int outExt[6],
159 static void GetPartitionedVOI(
const int globalVOI[6],
160 const int partitionedExtent[6],
162 bool includeBoundary,
163 int partitionedVOI[6]);
178 static void GetPartitionedOutputExtent(
const int globalVOI[6],
179 const int partitionedVOI[6],
180 const int outputWholeExtent[6],
182 bool includeBoundary,
183 int partitionedOutputExtent[6]);
192 int InputWholeExtent[6];
196 int OutputWholeExtent[6];
abstract base class for most VTK objects
represent and manipulate point attribute data
represent and manipulate cell attribute data
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
#define VTKCOMMONDATAMODEL_EXPORT
represent and manipulate 3D points