31 #ifndef __vtkPointsProjectedHull_h
32 #define __vtkPointsProjectedHull_h
53 int RectangleIntersectionX(
float ymin,
float ymax,
float zmin,
float zmax);
54 int RectangleIntersectionX(
double ymin,
double ymax,
double zmin,
double zmax);
63 int RectangleIntersectionY(
float zmin,
float zmax,
float xmin,
float xmax);
64 int RectangleIntersectionY(
double zmin,
double zmax,
double xmin,
double xmax);
73 int RectangleIntersectionZ(
float xmin,
float xmax,
float ymin,
float ymax);
74 int RectangleIntersectionZ(
double xmin,
double xmax,
double ymin,
double ymax);
80 int GetCCWHullX(
float *pts,
int len);
81 int GetCCWHullX(
double *pts,
int len);
87 int GetCCWHullY(
float *pts,
int len);
88 int GetCCWHullY(
double *pts,
int len);
94 int GetCCWHullZ(
float *pts,
int len);
95 int GetCCWHullZ(
double *pts,
int len);
100 int GetSizeCCWHullX();
105 int GetSizeCCWHullY();
110 int GetSizeCCWHullZ();
127 int RectangleIntersection(
double hmin,
double hmax,
128 double vmin,
double vmax,
int direction);
129 int GrahamScanAlgorithm(
int direction);
131 int RectangleBoundingBoxIntersection(
double hmin,
double hmax,
132 double vmin,
double vmax,
int direction);
133 int RectangleOutside(
double hmin,
double hmax,
134 double vmin,
double vmax,
int direction);
136 int RectangleOutside1DPolygon(
double hmin,
double hmax,
137 double vmin,
double vmax,
int dir);
140 void ClearAllocations();
143 static int RemoveExtras(
double *pts,
int n);
144 static double Distance(
double *p1,
double *p2);
145 static int PositionInHull(
double *base,
double *top,
double *pt);
146 static int OutsideLine(
double hmin,
double hmax,
147 double vmin,
double vmax,
double *p0,
double *p1,
double *insidePt);
148 static int OutsideHorizontalLine(
double vmin,
double vmax,
149 double *p0,
double *p1,
double *insidePt);
150 static int OutsideVerticalLine(
double hmin,
double hmax,
double *p0,
151 double *p1,
double *insidePt);
158 float HullBBox[3][4];
void GetPoints(vtkIdList *ptId, vtkPoints *fp)
virtual void Initialize()
record modification and/or execution time
a simple class to control print indentation
the convex hull of the orthogonal projection of the vtkPoints in the 3 coordinate directions ...
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent)