[vtkusers] camera & terrain interactor style question

Aashish Chaudhary aashish.chaudhary at kitware.com
Thu Sep 6 09:56:16 EDT 2012


Hi Bob,

Look at the vtkCamera API.
http://www.vtk.org/doc/nightly/html/classvtkCamera.html. I would suggest
that you set you camera coordinate system in accordance with your and then
the interactor style should just work.

Thanks


On Tue, Sep 4, 2012 at 7:45 PM, Robert Dean <bob.dean at gmail.com> wrote:

> Hello,
>
> The terrain interactor style is almost exactly what I am looking for as
> mouse control, however the azimuth change (moving mouse left/right) seems
> to operate around the Y axis. I would prefer for it to rotate around the Z
> axis as our coordinate frame is "z up". What would be the best way to
> achieve this? A user transform on the camera? Is there a way to change the
> default coordinate frame?
>
> Thanks,
> Bob
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120906/b69cd8b0/attachment.htm>


More information about the vtkusers mailing list