[vtkusers] Moving a glyph
rakesh patil
prakeshofficial at gmail.com
Mon Sep 20 04:35:34 EDT 2010
Hello,
I dont know whether i'm right or wrong, but aren't Data and GlyphData
different??
So in place of GlyphFilter->Update(), wont GlyphData->Update() work???
Thanks
Regards
On Mon, Sep 20, 2010 at 8:19 AM, David Doria <daviddoria at gmail.com> wrote:
> I am attempting to modify the underlying data of an actor by glyphing
> a PolyData's points and then interacting with a specific glyph.
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Interaction/MoveAGlyph
>
> I trick the interactor into thinking a new object (MoveActor) is what
> it should be interacting with. I "spawns" a ghost glyph. When the
> interaction is complete (OnMiddleButtonUp) I try to update the
> underlying point in the data set. This update does work (the actual
> data point is changed), but the positions of the glyphs are not
> updated! Shouldn't the pipeline take care of this (since the polydata
> is connected to the glyphFilter which is connected to the mapper which
> is connected to the renderer)?
>
> Any comments on what I've done here?
>
> Thanks,
>
> David
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100920/98921416/attachment.htm>
More information about the vtkusers
mailing list