[vtkusers] Initializing vtkImageTracerWidget with coordinates?

Anka Kochanowska pluszcz at gmail.com
Mon Nov 2 11:05:31 EST 2009


Hi!
vtkImageTracerWidget starts tracing when you click mouse. You could:

InvokeEvent(vtkCommand::LeftButtonPressEvent, PTR)

 passing event position in PTR, you might try NULL  instead of PTR to begin
with.

Anka

On Mon, Nov 2, 2009 at 10:18 AM, Michael Xanadu <
xanadu.michael at googlemail.com> wrote:

> Hi,
>
> Currently, I'm working with vtkImageTracerWidget. I found out that I can
> get the coordinates and lines defined by the traced path () by using
> GetPath(polyData). Unfortunately, there's no SetPath(polyData). I wanna
> initialize my ImageTracerWidget with a couple of coordinates, where it shall
> draw a line or something without user interaction.
> Is there any possibility to do something like that?
>
> Regards, Michael
>
> _______________________________________________
> 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/20091102/f3c576cc/attachment.htm>


More information about the vtkusers mailing list