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);
71 int IsInside(
int xIdx,
int yIdx,
int zIdx );
78 void InsertNextExtent(
int r1,
int r2,
int yIdx,
int zIdx);
86 void InsertAndMergeExtent(
int r1,
int r2,
int yIdx,
int zIdx);
89 void RemoveExtent(
int r1,
int r2,
int yIdx,
int zIdx);
95 vtkSetVector3Macro(Spacing,
double);
96 vtkGetVector3Macro(Spacing,
double);
103 vtkSetVector3Macro(Origin,
double);
104 vtkGetVector3Macro(Origin,
double);
111 void SetExtent(
int extent[6]);
112 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
113 vtkGetVector6Macro(Extent,
int);
118 void AllocateExtents();
154 virtual int Clip(
int extent[6] );
161 void CopyOriginAndSpacingFromPipeline();
167 void CollapseAdditionalIntersections(
int r2,
int idx,
int *clist,
189 friend class vtkImageStencilIteratorFriendship;
211 void PrepareForNewData(
const int allocateExtent[2] = 0);
217 void InsertLine(
const double p1[2],
const double p2[2],
218 bool inflect1,
bool inflect2);
225 int xj = 0,
int yj = 1);
237 void PrepareExtent(
int ymin,
int ymax);
241 void InsertPoint(
int y,
double x);