Skip to content
Snippets Groups Projects
Commit 281c875c authored by Charles Gueunet's avatar Charles Gueunet :guitar:
Browse files

Document changes regarding Id handling

parent 974efe95
No related branches found
No related tags found
No related merge requests found
The quadric decimation filters has been upated regarding `vtkIdTypeArray`
point attributes. Those are no longer interpolated during edge collapse,
instead one of the id is kept an the other discarded.
......@@ -26,7 +26,8 @@
* constraints prevent further reduction. Note that this basic algorithm can
* be extended to higher dimensions by
* taking into account variation in attributes (i.e., scalars, vectors, and
* so on).
* so on). Attributes are interpolated during the edge collapse,
* except for vtkIdType arrays: values of removed points are discarded.
*
* This paper is based on the work of Garland and Heckbert who first
* presented the quadric error measure at Siggraph '97 "Surface
......@@ -137,6 +138,8 @@ public:
///@{
/**
* Getter/Setter for mapping point data to the output during decimation.
* Attributes are interpolated during edge collapses, except for
* vtkIdType array where each collapse lead to a single id being kept.
*/
vtkGetMacro(MapPointData, bool);
vtkSetMacro(MapPointData, bool);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment