[vtkusers] Re: vtkCamera to follow vtkActor

Goodwin Lawlor goodwin.lawlor at ucd.ie
Thu Feb 24 04:11:54 EST 2005

Hi Paul,

Try the vtkRenderer::ResetCamera() method. You might also need
vtkRenderer::ResetCameraClippingRange() method



"Paul Tait" <paul at opes.com.au> wrote in message
news:011b01c51a43$7cb95960$af0aa8c0 at DEEPTHROAT...
> Hi
> I have several actors in a scene and am using AddPosition(0, 0, n) to
> move them interactively up and down vertically. This means actors move
> off the bottom of the screen so I have to use the mouse middlebutton to
> follow them. How can I program vtk so that when I move my actors the
> actor in the centre of the screen (focalpoint?) stays centred ?
> Thanks Paul
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

More information about the vtkusers mailing list