29 #ifndef vtkImageStencilData_h
30 #define vtkImageStencilData_h
64 int GetNextExtent(
int &r1,
int &r2,
int xMin,
int xMax,
65 int yIdx,
int zIdx,
int &iter);
72 int IsInside(
int xIdx,
int yIdx,
int zIdx);
79 void InsertNextExtent(
int r1,
int r2,
int yIdx,
int zIdx);
87 void InsertAndMergeExtent(
int r1,
int r2,
int yIdx,
int zIdx);
90 void RemoveExtent(
int r1,
int r2,
int yIdx,
int zIdx);
96 vtkSetVector3Macro(Spacing,
double);
97 vtkGetVector3Macro(Spacing,
double);
104 vtkSetVector3Macro(Origin,
double);
105 vtkGetVector3Macro(Origin,
double);
112 void SetExtent(
int extent[6]);
113 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
114 vtkGetVector6Macro(Extent,
int);
119 void AllocateExtents();
152 virtual int Clip(
int extent[6] );
165 void CollapseAdditionalIntersections(
int r2,
int idx,
int *clist,
187 friend class vtkImageStencilIteratorFriendship;
209 void PrepareForNewData(
const int allocateExtent[2] = 0);
213 void InsertLine(
const double p1[2],
const double p2[2]);
214 VTK_LEGACY(
void InsertLine(
const double[2],
const double[2],
bool,
bool));
221 int xj = 0,
int yj = 1);
233 void PrepareExtent(
int ymin,
int ymax);
238 void InsertPoint(
int y,
double x,
int i);
static vtkDataObject * GetData(vtkInformation *info)
static vtkDataObject * New()
virtual void Initialize()
int NumberOfExtentEntries
void SetTolerance(double tol)
a simple class to control print indentation
efficient description of an image stencil
#define VTKIMAGINGCORE_EXPORT
virtual void CopyInformationFromPipeline(vtkInformation *vtkNotUsed(info))
void PrintSelf(ostream &os, vtkIndent indent)
general representation of visualization data
virtual void CopyInformationToPipeline(vtkInformation *vtkNotUsed(info))
virtual void DeepCopy(vtkDataObject *src)
virtual void ShallowCopy(vtkDataObject *src)