30 #ifndef vtkExtractStructuredGridHelper_h 31 #define vtkExtractStructuredGridHelper_h 33 #include "vtkCommonDataModelModule.h" 57 void PrintSelf(ostream& os,
vtkIndent indent)
override;
60 vtkGetVector6Macro(OutputWholeExtent,
int);
69 void Initialize(
int voi[6],
int wholeExt[6],
int sampleRate[3],
70 bool includeBoundary);
82 int GetSize(
const int dim);
96 int GetMappedIndex(
int dim,
int outIdx);
111 int GetMappedIndexFromExtentValue(
int dim,
int outExtVal);
125 int GetMappedExtentValue(
int dim,
int outExtVal);
139 int GetMappedExtentValueFromIndex(
int dim,
int outIdx);
148 void ComputeBeginAndEnd(
int inExt[6],
int voi[6],
int begin[3],
int end[3]);
161 void CopyPointsAndPointData(
int inExt[6],
int outExt[6],
174 void CopyCellData(
int inExt[6],
int outExt[6],
190 static void GetPartitionedVOI(
const int globalVOI[6],
191 const int partitionedExtent[6],
193 bool includeBoundary,
194 int partitionedVOI[6]);
210 static void GetPartitionedOutputExtent(
const int globalVOI[6],
211 const int partitionedVOI[6],
212 const int outputWholeExtent[6],
214 bool includeBoundary,
215 int partitionedOutputExtent[6]);
223 int InputWholeExtent[6];
227 int OutputWholeExtent[6];
abstract base class for most VTK objects
represent and manipulate point attribute data
represent and manipulate cell attribute data
a simple class to control print indentation
represent and manipulate 3D points