Talk:VTK/Examples/Cxx/Filtering/SurfaceFromUnorganizedPoints
From KitwarePublic
Jump to navigationJump to search
I'm sure you're aware, but it would be nice if the results were better for a point cloud that is posed as something better described by two surfaces:
r = 1 + i%2; x = r*std::cos(phi)*std::sin(theta); y = r*std::sin(phi)*std::sin(theta); z = r*std::cos(theta);
This looks not so great, but of course it is not a hypersurface like the sphere anymore so...
Use-after-free corruption
readPoints looks like it will cause a crash. It returns a raw pointer into a vtkSmartPointer object, but the smart pointer goes out of scope, releasing the controlled object. -- ScratchMonkey 18:27, 4 January 2010 (UTC)