vtkInteractorStyle question

View: New views
2 Messages — Rating Filter:   Alert me  

vtkInteractorStyle question

by xargon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have a question about vtkInteractorStyle available. Most of the
styles available seem to transform the geometry. What I need for my
application is something that only changes the view perspective. For
example, moving forward and backward and moving the head left and
right...tilting the head etc. Is there any build in style that
simulates that? How hard would it be to right one that does something
like that?

On another note, I have an application that simply generates a cube
with stripes and when transforming the geometry, I get severe
anti-aliasing...Even with line smoothing on, the results are not
acceptable. I also tried filters like vtkWindowedSincPolyDataFilter
but it did not help much.

Thanks,

Luca
_______________________________________________
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

Re: vtkInteractorStyle question

by Jeff Baumes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Mon, Nov 9, 2009 at 4:33 AM, Luca Pamparana <luca.pamparana@...> wrote:
Hello,

I have a question about vtkInteractorStyle available. Most of the
styles available seem to transform the geometry. What I need for my
application is something that only changes the view perspective. For
example, moving forward and backward and moving the head left and
right...tilting the head etc. Is there any build in style that
simulates that? How hard would it be to right one that does something
like that?

Most interactor styles do not move geometry, but since the camera "orbits" the scene on rotate, it looks the same as if the scene was rotating. Did you try vtkInteractorStyleFlight?

Jeff

_______________________________________________
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