[vtkusers] gcode2vtk animation example

Cory Quammen cory.quammen at kitware.com
Wed Oct 7 08:54:28 EDT 2015


Hi Shakthi,

Sorry for the delay in response. I've been swamped.

Did you make any progress on your problem?

I'm switching this back to the VTK users list since what you are doing is
in VTK.

- Cory

On Thu, Sep 24, 2015 at 1:26 PM, Shakthi Kannan <shakthimaan at gmail.com>
wrote:

> Hi Cory,
>
> I would like to render lines using a Python callback method, and I am
> assuming Paraview does the same as well. I am using the following code
> snippet as a template:
>
>
> http://www.vtk.org/Wiki/VTK/Examples/Python/GeometricObjects/Display/LongLine
>
> and the following examples for a callback function:
>
>   http://cmake.org/Wiki/VTK/Examples/Python/Animation
>
>   http://public.kitware.com/pipermail/vtkusers/2010-January/056316.html
>
> Changing the colour of the line using the callback method after 5s
> works fine. But, I am not sure how to add more points and lines to the
> existing image. My hacked up code is here:
>
>   https://gist.github.com/shakthimaan/588af4b6d0facdf2cc89
>
> How do I incrementally add lines to an existing drawing, and render them?
>
> Appreciate any help in this regard,
>
> Thanks!
>
> SK
>
> --
> Shakthi Kannan
> http://www.shakthimaan.com
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151007/bf096c69/attachment.html>


More information about the vtkusers mailing list