subclassing vtkCamera

Charles Law charles.law at kitware.com
Thu Jun 1 11:07:05 EDT 2000


If you have to subclass camera, you can subclass vtkOpenGLCamera and create 
it and set it in renderer explicitly.

Charles.



>On Thu, 1 Jun 2000, Matt Clarkson wrote:
>
> > Hi there,
> >       how am I meant to create sub classes of vtkCamera.
> > I want to add some functionality to it, but I have just
> > been looking through the source code, and I see
> > how vtkCamera is created with vtkGraphicsFactory,
> > and it actually creates an instance of vtkOpenGLCamera etc.
> >
> > Whats the `correct' way to do it.
> >
> > Thanks in advance
> >
> > Matt
> >

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