[vtkusers] ActiViz | Camera Set Position

Matias Montroull matimontg at gmail.com
Mon Mar 31 21:24:52 EDT 2014


Hi,

I have a stack of images from where I create a 3D view, all good, now, my
head is shown upside down and in an angle that I don't like so I've been
playing around with the camera to set it to the right position which would
be looking the face like if someone would be looking himself at a mirror.

I've used this:

camara.SetPosition(0, 0, 1);

along with this:
camara.OrthogonalizeViewUp();

And still can't get the desired result.

See the attached examples. Head.jpg is what I see, then "how should be.jpg"
is how I need it to be..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140331/9ae09cb9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Head.JPG
Type: image/jpeg
Size: 97584 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140331/9ae09cb9/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: how should be.JPG
Type: image/jpeg
Size: 69460 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140331/9ae09cb9/attachment-0003.jpe>


More information about the vtkusers mailing list