Go to the documentation of this file.
58 #ifndef vtkQuadricDecimation_h
59 #define vtkQuadricDecimation_h
178 const double t2[3],
const double *
x);
226 int AttributeComponents[6];
227 double AttributeScale[6];
void FindAffectedEdges(vtkIdType p1Id, vtkIdType p2Id, vtkIdList *edges)
void PrintSelf(ostream &os, vtkIndent indent)
represent and manipulate point attribute data
void SetPointAttributeArray(vtkIdType ptId, const double *x)
static vtkQuadricDecimation * New()
#define vtkTypeMacro(thisClass, superclass)
a list of ids arranged in priority order
GLint GLint GLint GLint GLint x
void ComputeQuadric(vtkIdType pointId)
double ComputeCost(vtkIdType edgeId, double *x)
int CollapseEdge(vtkIdType pt0Id, vtkIdType pt1Id)
vtkPriorityQueue * EdgeCosts
keep track of edges (edge is pair of integer id's)
vtkIdList * CollapseCellIds
void AddBoundaryConstraints(void)
vtksys_stl::pair< boost::graph_traits< vtkGraph * >::edge_iterator, boost::graph_traits< vtkGraph * >::edge_iterator > edges(vtkGraph *g)
#define vtkSetClampMacro(name, type, min, max)
void GetAttributeComponents()
int NumberOfEdgeCollapses
int IsGoodPlacement(vtkIdType pt0Id, vtkIdType pt1Id, const double *x)
void InitializeQuadrics(vtkIdType numPts)
void GetPointAttributeArray(vtkIdType ptId, double *x)
#define VTKFILTERSCORE_EXPORT
a simple class to control print indentation
vtkIdType GetEdgeCellId(vtkIdType p1Id, vtkIdType p2Id)
int TrianglePlaneCheck(const double t0[3], const double t1[3], const double t2[3], const double *x)
list of point or cell ids
void AddQuadric(vtkIdType oldPtId, vtkIdType newPtId)
#define vtkGetMacro(name, type)
void UpdateEdgeData(vtkIdType ptoId, vtkIdType pt1Id)
void ComputeNumberOfComponents(void)
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
concrete dataset represents vertices, lines, polygons, and triangle strips
ErrorQuadric * ErrorQuadrics
vtkDoubleArray * TargetPoints
vtkIdList * EndPoint2List
dynamic, self-adjusting array of double
reduce the number of triangles in a mesh
vtkIdList * EndPoint1List
double ComputeCost2(vtkIdType edgeId, double *x)
Superclass for algorithms that produce only polydata as output.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)