[vtkusers] vtkPointPicker and Tcl interface,..
Miguel Angel Rodriguez Florido
marf at ctm.ulpgc.es
Wed Jun 25 12:39:52 EDT 2008
Hi vtkusers,
I've done a simple example with a tcl procedure that reads a tiff image
(vtkTIFFReader) and a vtkPointPicker joined to the vtkTkRenderWidget
where I display this image.
The picker works well, but when I tried to access to any information of
the image (i.e. "puts [myImage GetCenter]" or "puts [myImage
GetDimensions]) in the tcl function associated to the picker (Mypicker
AddObserver EndPickEvent PickRegion) I got this message:
----------
Generic Warning: In
/usr/local/vtk-5.1.0/VisualizationToolkit-5.1.0/Common/vtkTclUtil.cxx,
line 723
Error returned from vtk/tcl callback:
PickRegion
at line number 1
----------
without any more information, so its so difficult to trace what's happening.
Any idea?.
Thank you very much in advance.
--
Miguel Angel Rodriguez Florido
Center for Technology in Medicine-ULPGC-Gran Canaria-CanaryIslands,Spain
Emails:marf@{ctm.ulpgc.es,bwh.harvard.edu}-http://www.ctm.ulpgc.es/
Tfnos:+34 928 451253, +34 928 452956 - Fax:+34 928 451243
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3250 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080625/73dbd315/attachment.bin>
More information about the vtkusers
mailing list