29 #ifndef __vtkImageStencilData_h
30 #define __vtkImageStencilData_h
63 int GetNextExtent(
int &r1,
int &r2,
int xMin,
int xMax,
64 int yIdx,
int zIdx,
int &iter);
72 void InsertNextExtent(
int r1,
int r2,
int yIdx,
int zIdx);
80 void InsertAndMergeExtent(
int r1,
int r2,
int yIdx,
int zIdx);
83 void RemoveExtent(
int r1,
int r2,
int yIdx,
int zIdx);
89 vtkSetVector3Macro(Spacing,
double);
90 vtkGetVector3Macro(Spacing,
double);
97 vtkSetVector3Macro(Origin,
double);
98 vtkGetVector3Macro(Origin,
double);
105 void SetExtent(
int extent[6]);
106 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
107 vtkGetVector6Macro(Extent,
int);
112 void AllocateExtents();
148 virtual int Clip(
int extent[6] );
155 void CopyOriginAndSpacingFromPipeline();
161 void CollapseAdditionalIntersections(
int r2,
int idx,
int *clist,
183 friend class vtkImageStencilIteratorFriendship;
206 void PrepareForNewData(
const int allocateExtent[2] = 0);
212 void InsertLine(
const double p1[2],
const double p2[2],
213 bool inflect1,
bool inflect2);
220 int xj = 0,
int yj = 1);
232 void PrepareExtent(
int ymin,
int ymax);
236 void InsertPoint(
int y,
double x);