Talk:VTK/Examples/Cxx/Filtering/SurfaceFromUnorganizedPoints
From KitwarePublic
< Talk:VTK | Examples
Jump to navigationJump to search
Revision as of 18:27, 4 January 2010 by ScratchMonkey (talk | contribs) (→Memory leak: new section)
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...
Memory leak
readPoints looks like it will leak. 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)