[vtkusers] Using Python VTK to add more points, lines on callback
shakthimaan at gmail.com
Fri Sep 25 14:31:38 EDT 2015
I am now able to get data from a separate process on to a queue, and
send it to vtkTimerCallback(), but, the image is not rendering. I have
used self.actor.GetProperty().SetColor() and
iren.GetRenderWindow().Render() in the callback.
How else can I force it to render the image?
The latest code is available at:
On Thu, Sep 24, 2015 at 10:34 PM, Shakthi Kannan <shakthimaan at gmail.com> wrote:
> I would like to render lines using a Python callback method and VTK. I
> am using the following code snippet as a template:
> and the follow examples for a callback function:
> 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:
> How do I incrementally add lines to an existing drawing, and render them?
> Appreciate your help in this regard,
> Shakthi Kannan
More information about the vtkusers