[vtk-developers] Virtual methods in VTK classes
John Biddiscombe
john.biddiscombe at mirada-solutions.com
Tue Jul 1 07:29:29 EDT 2003
If it were me, I'd virtualize all the ones I need and if I thought somone will probably need another few, then do them too.
JB
> -----Original Message-----
> From: Charl P. Botha [mailto:c.p.botha at ewi.tudelft.nl]
> Sent: 01 July 2003 12:26
> To: VTK Developers
> Subject: RE: [vtk-developers] Virtual methods in VTK classes
>
>
> On Tue, 2003-07-01 at 13:16, John Biddiscombe wrote:
> > Nope, if things need to be made virtual, then it should be done.
> > Thery're only non-virtual now because noone's got around to
> > subclassing and needing them.
>
> Thanks for the comments John. A remaining question is then: if I am
> going to start virtualising base methods, how do I decide which to
> virtualise and which not? I might need one or two overrides
> in my child
> class, but someone else might need more.
>
> My current thougts are to virtualise everything, except for
> very simple
> setters and getters. Even that is not hard and fast though.
>
> --
> charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
More information about the vtk-developers
mailing list