[vtkusers] Camera is not updated

Jens Schmidt jens.g.w.schmidt at gmx.de
Mon Jul 27 13:46:10 EDT 2015


Hi Everyone!

VTK rocks, but we knew that allready. ^^ What rocks less is that the 
camera ist not automatically updated when SetPosition or SetFocalPoint 
are called.
Btw i am using the java wrapping with SWT. VtkAbstractComponent has a 
reference to the active camera.
Using that had no effect, as was using the renderers GetActiveCamera method.
In fact i have to create a new vtkCamera, modify that an then pass it to 
the renderer as new active camera -> tada change on the screen.
Did i do something wrong or is that how it is supposed to work?

Thank you
Jens


More information about the vtkusers mailing list