87 #ifndef vtkQuadricClustering_h 88 #define vtkQuadricClustering_h 96 class vtkQuadricClusteringCellSet;
115 void SetNumberOfXDivisions(
int num);
116 void SetNumberOfYDivisions(
int num);
117 void SetNumberOfZDivisions(
int num);
122 { this->SetNumberOfDivisions(div[0], div[1], div[2]); }
123 void SetNumberOfDivisions(
int div0,
int div1,
int div2);
124 int *GetNumberOfDivisions();
125 void GetNumberOfDivisions(
int div[3]);
142 void SetDivisionOrigin(
double x,
double y,
double z);
144 {this->SetDivisionOrigin(o[0],o[1],o[2]);}
146 void SetDivisionSpacing(
double x,
double y,
double z);
148 {this->SetDivisionSpacing(s[0],s[1],s[2]);}
208 void StartAppend(
double *bounds);
209 void StartAppend(
double x0,
double x1,
double y0,
double y1,
double z0,
double z1)
210 {
double b[6]; b[0]=x0; b[1]=x1; b[2]=y0; b[3]=y1; b[4]=z0; b[5]=z1;
211 this->StartAppend(b);}
248 void ComputeRepresentativePoint(
double quadric[9],
vtkIdType binId,
259 void AddTriangle(
vtkIdType *binIds,
double *pt0,
double *pt1,
double *pt2,
269 void AddEdge(
vtkIdType *binIds,
double *pt0,
double *pt1,
int geometeryFlag,
278 void AddVertex(
vtkIdType binId,
double *pt,
int geometryFlag,
283 void InitializeQuadric(
double quadric[9]);
286 void AddQuadric(
vtkIdType binId,
double quadric[9]);
322 int NumberOfDivisions[3];
329 double DivisionOrigin[3];
330 double DivisionSpacing[3];
void SetDivisionOrigin(double o[3])
GLboolean GLboolean GLboolean b
virtual int FillInputPortInformation(int port, vtkInformation *info)
GLenum GLenum GLenum input
vtksys_stl::pair< boost::graph_traits< vtkGraph * >::edge_iterator, boost::graph_traits< vtkGraph * >::edge_iterator > edges(vtkGraph *g)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKFILTERSCORE_EXPORT
#define vtkGetMacro(name, type)
int ComputeNumberOfDivisions
vtkCellArray * OutputTriangleArray
#define vtkSetClampMacro(name, type, min, max)
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetNumberOfDivisions(int div[3])
vtkFeatureEdges * FeatureEdges
GLint GLint GLint GLint GLint GLint y
#define vtkTypeMacro(thisClass, superclass)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
GLint GLint GLint GLint GLint x
vtkQuadricClusteringCellSet * CellSet
double FeaturePointsAngle
Superclass for algorithms that produce only polydata as output.
int AutoAdjustNumberOfDivisions
a simple class to control print indentation
extract boundary, non-manifold, and/or sharp edges from polygonal data
PointQuadric * QuadricArray
vtkCellArray * OutputLines
void StartAppend(double x0, double x1, double y0, double y1, double z0, double z1)
#define vtkGetVector3Macro(name, type)
object to represent cell connectivity
GLsizei const GLfloat * points
vtkFeatureEdges * GetFeatureEdges()
vtkPoints * FeaturePoints
#define vtkBooleanMacro(name, type)
vtkIdType NumberOfBinsUsed
void SetDivisionSpacing(double s[3])
int PreventDuplicateCells
represent and manipulate 3D points
reduce the number of triangles in a mesh
#define vtkSetMacro(name, type)