[vtkusers] Camera movement

David Doria daviddoria at gmail.com
Wed Dec 12 14:15:37 EST 2012


On Wed, Dec 12, 2012 at 2:12 PM, IvanKushnar <ivan.kushnar at gmail.com> wrote:

> Hello,
> I'd like to translate camera in its local coordinate system.But I didn't
> find any function to do this.
> Should I you some matrix tranformations? Or maybe exist some simpler way
>

Can you just use SetPosition(GetPosition() + yourTranslation)?

http://www.vtk.org/doc/nightly/html/classvtkCamera.html#a6735b97c80941b8fd118b94ac207a921

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121212/2ab5bde6/attachment.htm>


More information about the vtkusers mailing list