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);
112 void SetExtent(
int extent[6]);
113 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
119 void AllocateExtents();
149 virtual int Clip(
int extent[6] );
162 void CollapseAdditionalIntersections(
int r2,
int idx,
int *clist,
184 friend class vtkImageStencilIteratorFriendship;
206 void PrepareForNewData(
const int allocateExtent[2] = 0);
210 void InsertLine(
const double p1[2],
const double p2[2]);
211 VTK_LEGACY(
void InsertLine(
const double[2],
const double[2],
bool,
bool));
218 int xj = 0,
int yj = 1);
230 void PrepareExtent(
int ymin,
int ymax);
235 void InsertPoint(
int y,
double x,
int i);
GLsizei GLsizei GLenum GLenum const GLvoid * data
static vtkDataObject * GetData(vtkInformation *info)
static vtkDataObject * New()
virtual void Initialize()
int NumberOfExtentEntries
GLint GLint GLint GLint GLint GLint y
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
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))
#define vtkGetVector3Macro(name, type)
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_LEGACY(method)
#define vtkGetVector6Macro(name, type)
general representation of visualization data
#define vtkSetVector3Macro(name, type)
virtual void DeepCopy(vtkDataObject *src)
virtual void ShallowCopy(vtkDataObject *src)