[vtkusers] problem to adjust CAMERA

Rio rioking13 at gmail.com
Sat Feb 10 10:09:53 EST 2007


Now i am writing a program to view 3D data. I set a default view:
this->DefaultCam = vtkCamera::New();

for the 3D space, the view is xoy, z axis is pointing to me, so SetPosition
is (0,0,1) be default.

I wanna change the camera to yoz, x axis pointing to me, so should be
(1,0,0) for SetPosition. BUT, seems nothing happened after i change
"DefaultCam->SetPosition(1,0,0); "

What is wrong??? can anyone just help?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070210/ea39ee95/attachment.htm>


More information about the vtkusers mailing list