Talk:VTK/Examples/Cxx/Filtering/SurfaceFromUnorganizedPoints: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
(New page: 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:...) |
Daviddoria (talk | contribs) m (moved Talk:VTK/Examples/Cxx/Filters/SurfaceFromUnorganizedPoints to Talk:VTK/Examples/Cxx/Filtering/SurfaceFromUnorganizedPoints) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
This looks not so great, but of course it is not a hypersurface like the sphere anymore so... | 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. -- [[User:ScratchMonkey|ScratchMonkey]] 18:27, 4 January 2010 (UTC) |
Latest revision as of 17:11, 6 October 2010
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)