<div dir="ltr">Hi of all. <div><br></div><div>I'm testing a surface reconstruction from a set of points basing on example: "SurfaceFromUnorganizedPoints.cxx".</div><div><br></div><div>In particular my point cloud it is formed by n slice of points (each slice is a circle) which represent total a cylinder. A single point is in the form: X,Y,Z. So the first slice will have a form: xi,yi,0 ; the second Xi,Yi,1 etc....(with 0<i<numberOfPointSlice)</div><div><br></div><div>Now a brief steps of code here:</div><div><br></div><div>// in this cycle I insert points in the vector</div><div>for(....)</div><div>{</div><div><div>vtkSmartPointer<vtkPoints> points =vtkSmartPointer<vtkPoints>::New();</div></div><div><div>points->InsertNextPoint(point);</div></div><div><br></div><div>// possibily other code to load points in different order...</div><div>}</div><div><br></div><div><div>vtkSmartPointer<vtkPolyData> polyData =vtkSmartPointer<vtkPolyData>::New();</div><div>polyData->SetPoints(points);</div><div><br></div><div>// Construct the surface and create isosurface.<span class="" style="white-space:pre"> </span></div><div>vtkSmartPointer<vtkSurfaceReconstructionFilter>surf=vtkSmartPointer<vtkSurfaceReconstructioFilter>::New();</div><div>surf->SetInputData(polyData);</div><div><span class="" style="white-space:pre"> </span></div><div><span class="" style="white-space:pre">// other code</span></div><div><span class="" style="white-space:pre"> </span></div></div><div><br></div><div>I realized that if i load my vtkPoints structure with a differente order of points, when i run a code i have different result (surface reconstruction is different)!; so I would like to know why the different type of a points order involve a different result. Infact, reading the paper on which is based the surface reconstruction filter (Hoppe Huges) , it seems that the algorithm not depend of the order of data structure provide on input.</div><div><br clear="all"><div><br></div><div><br></div>-- <br><div>Cris</div>
</div></div>