[vtkusers] how to use GetCursorData(xyzv[4]) in TCL/TK

wuhao1126 Howell wuhao1126 at hotmail.com
Sat Apr 3 09:30:56 EST 2004


the function in vtkImagePlaneWidget is as follow:
int vtkImagePlaneWidget::GetCursorData  (  float    xyzv[4]  )   

and in my tcl program, my code is :
set value(0) 0.0
set value(1) 0.0
set value(2) 0.0
set value(3) 0.0
set pv [$current_widget GetCursorData value]

but i can not get the coordinates and imagevalue, why?


best wishes
         
Howell





More information about the vtkusers mailing list