[vtkusers] ON vtkSurfaceReconstructionFilter

ING. CRISTIAN ARDITO cris.ardito at gmail.com
Tue Mar 15 09:33:37 EDT 2016


Hi of all.

I'm testing a surface reconstruction from a set of points basing on
example: "SurfaceFromUnorganizedPoints.cxx".

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)

Now a brief steps of code here:

// in this cycle I insert points in the vector
for(....)
{
vtkSmartPointer<vtkPoints> points =vtkSmartPointer<vtkPoints>::New();
points->InsertNextPoint(point);

// possibily other code to load points in different order...
}

vtkSmartPointer<vtkPolyData> polyData =vtkSmartPointer<vtkPolyData>::New();
polyData->SetPoints(points);

// Construct the surface and create isosurface.
vtkSmartPointer<vtkSurfaceReconstructionFilter>surf=vtkSmartPointer<vtkSurfaceReconstructioFilter>::New();
surf->SetInputData(polyData);
// other code

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.



-- 
Cris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160315/1e4af3b0/attachment.html>


More information about the vtkusers mailing list