[vtkusers] Animating vtkGlyph3D
Cory Quammen
cory.quammen at kitware.com
Sat Oct 31 09:55:03 EDT 2015
Raul,
Try calling the Modified() member function on your input to the
vtkGlyph3DMapper.
- Cory
On Sat, Oct 31, 2015 at 3:02 AM, Raul Gerardo Huertas Paiva <
rax20037 at gmail.com> wrote:
> My dear fellows. I’m trying to use an animation with vtkGlyph3DMapper but
> I’ve read somewhere VTK doesn’t handle animations very well. Anyway, I’m
> trying something.
> At the beginning of my code I’m using:
>
> points = vtkPoints::New();
>
> points->SetNumberOfPoints(nPuntos);
>
> for(…){points->SetPoint(…)}
> …
>
> glypher->Update();
>
>
>
> And the view appears as expected. However, after moving an slide i’m
> changing a parameter of my visualization and I’m trying to update wth:
>
> for(…){points->SetPoint(…)}
>
> glypher->Update();
>
>
>
> However, what I get in my view is the same. I can still interact with it
> but the position of the elements doesn’t change. Whats the correct way to
> update it?
>
> Thanks in advance!
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
--
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151031/8d11cd0e/attachment.html>
More information about the vtkusers
mailing list