[vtkusers] Problem of vtkPointWidget test

Florian Bruckner e0425375 at gmail.com
Thu Sep 8 17:41:02 EDT 2011


It seems that the example is not broken, but only missing. The example
that i used can be found at
http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/GUI/Python/ProbeWithPointWidget.py.

FloB


On Thu, Sep 8, 2011 at 11:22 PM, David Doria <daviddoria at gmail.com> wrote:
> 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