subclassing vtkCamera

John Biddiscombe j.biddiscombe at rl.ac.uk
Thu Jun 1 09:59:42 EDT 2000


You could of course create your own GraphicsFactory and return
your own subclass of OpenGlCamera.

Messy :(

JB




> Hi Matt,
>
> I don't think there is any correct way to do this.  If the
> existing vtkCamera class is not flexible enough for what
> you are trying to do, then perhaps the vtkCamera class
> needs to be changed.  If the changes are generally useful,
> then they could be added to VTK.
>
>  - David
>
> --
>   David Gobbi, MSc                    dgobbi at irus.rri.on.ca
>   Advanced Imaging Research Group
>   Robarts Research Institute, University of Western Ontario
>
> 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.
> ----------------------------------------------------------------
----

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