[vtkusers] Problem of vtkPointWidget test

David Doria daviddoria at gmail.com
Thu Sep 8 17:22:19 EDT 2011


On Thu, Sep 8, 2011 at 3:56 PM, Florian Bruckner <e0425375 at gmail.com> wrote:
> ok, this is simple. you don't even have to define a picker, because
> your pointWidget is by default "pickable". And you also have already
> defined an observer for the interactionEvent. Just adding
> print obj.GetPosition() to the ProbeData(obj, event) function prints
> the current position of the widget every time it is moved.
>
> bye
> FloB

Now that you all have identified the correct procedure to use this
class, it would be great if you could post an example here:

http://www.vtk.org/Wiki/VTK/Examples/Broken/Widgets/PointWidget

so that everyone remembers this in the future.

David



More information about the vtkusers mailing list