Problem about vtk

Lisa S. Avila lisa.avila at kitware.com
Fri Mar 10 01:13:34 EST 2000


Hi Lili,

You have two different renderers in the render window? If so, then you do 
have two different cameras that you can control independently. Use 
renderer->GetActiveCamera() to get the camera, then you can set position / 
focal point / etc.

Lisa


At 12:51 AM 3/10/00, Lili Liu wrote:
>Hi,
>
>I have two actors in my Render Window and i need to attch a camera to only
>one actor and the other one should use the default camera. Can we have two
>cameras in the render window?
>
>Thanks
>Lili liu
>
>
>On Fri, 10 Mar 2000, Lisa S. Avila wrote:
>
> > Hello Lili,
> >
> > What do you mean by "attach only one actor to the camera"? If you mean how
> > do you move only one actor, then try hitting the "o" key (to put the
> > interactor into "object" mode) You should then be able to rotate /
> > translate an object that you pick by clicking on it. But maybe you mean
> > something else...?
> >
> > Try looking at vtkImageDifference. This can be used to see how similar two
> > image are.
> >
> > Lisa
> >
> > At 12:05 AM 3/10/00 -0500, Lili Liu wrote:
> > >Would you tell me how to attach only one actor (there are several actors
> > >in one render window) to the camera?
> > >
> > >Another quetion is what is the real purpose of vtkImageCorrelation, the
> > >manpage doesn't tell in details. And How to compute the correlation value
> > >of two images. We need the value to show how much the two images match to
> > >each other. Or is there other ways to do this?
> > >
> > >Thank you very much.
> > >
> > >Lili Liu
> > >
> > >--------------------------------------------------------------------
> > >This is the private VTK discussion list. Please keep messages on-topic.
> > >Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> > >To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> > ><majordomo at public.kitware.com>. For help, send message body containing
> > >"info vtkusers" to the same address.
> > >--------------------------------------------------------------------
> >
> >
> >
>
>--------------------------------------------------------------------
>This is the private VTK discussion list. Please keep messages on-topic.
>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at public.kitware.com>. For help, send message body containing
>"info vtkusers" to the same address.
>--------------------------------------------------------------------


--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list