Edit: After doubling the amount of lifetime experience with paraview or vtk since my last email, I think what I ought to do is create a filter that does a single iteration of shape deformation. Then I'll create a script that alternates "calling this filter" and rendering 500 times or so.
Let me know if that sounds incongruous with how Paraview works. Background Idea:The points on the initial sphere should deform in a way that minimizes the total 'energy' of the blob: edges should coincide with sharp contrast in the background volume; surface normals should be minimial. Thanks again, Chris On Wed, May 20, 2015 at 11:48 PM, Christopher Snyder <22csny...@gmail.com> wrote: > Hi all, > > > Here's what I'd like to do using python scripting. > 1) Initialize a set of points and edges that "look like a sphere" using > sphere=Sphere() > 2) deform that set of points (and edges) to match a volume whose high > intensity region is also blob-like using an active shape model > 3) visualize the evolution of the sphere deformation using paraview. > > I only tell you so you can stop me if I'm doing this in a suboptimal way. > > My immediate question is simply how can I extract/change the coordinates > of a Sphere() object? Are the points of a "sphere" object constrainted to > forever occupy a sphere shape? > > Best, > Chris > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview