[vtkusers] VTK ActiViz to reset object to original view
    nickxtsui 
    nickxtsui at gmail.com
       
    Thu Dec  5 16:05:06 EST 2013
    
    
  
I simply did this to get the job done:
camera.SetPosition(DoubleArrayToIntPtr(defaultCamPos));
            camera.SetViewUp(DoubleArrayToIntPtr(defaultCamViewup));
            
            camera.SetFocalPoint(DoubleArrayToIntPtr(defaultCamFocus));
            
            renderer.ResetCamera();
            renderer.GetActiveCamera();
            ForceWindowToRender();
Thanks for the help.
--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-ActiViz-to-reset-object-to-original-view-tp5724801p5724859.html
Sent from the VTK - Users mailing list archive at Nabble.com.
    
    
More information about the vtkusers
mailing list