[vtk-developers] vtk 3D cursor

mhiriM mhiri_m at hotmail.com
Wed Feb 29 11:14:40 EST 2012


Hi all, am an it student and i wanna implement a 3d cursor like in this
video. 
http://www.youtube.com/watch?v=0b3gKZlobLA

I'm using vtk 5.8 and coca with c++ . 
I have found a TCL source code on " Link " 

i have translated it into c++ 
but i have errors on these lines : 

 cursor->SetModelBounds(reader->GetOutput()->GetBounds()); 
 cursor->SetFocalPoint(reader->GetOutput()->GetCenter()); 


" Member access into incomplete type vtk structured grid " 


what this error stand for? and does anyone have a source code for
implementing a 3d cursor? 

Thanks a lot. 
I'm a vtk newbie and i'm stuck in this point for now 1 week.

--
View this message in context: http://vtk.1045678.n5.nabble.com/vtk-3D-cursor-tp5525379p5525379.html
Sent from the VTK - Dev mailing list archive at Nabble.com.



More information about the vtk-developers mailing list