[vtk-developers] Virtual methods in VTK classes
John Biddiscombe
john.biddiscombe at mirada-solutions.com
Tue Jul 1 07:16:40 EDT 2003
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.
JB
> -----Original Message-----
> From: Charl P. Botha [mailto:c.p.botha at ewi.tudelft.nl]
> Sent: 01 July 2003 12:03
> To: VTK Developers
> Subject: [vtk-developers] Virtual methods in VTK classes
>
>
> Dear developers,
>
> Is there any kind of policy with regards to virtual methods in VTK
> classes? Are there any fundamental problems with making more of the
> base methods virtual?
>
> At the moment, I'm looking at vtkBoxWidget.h for instance.
> Most of this
> class's methods are non-virtual, meaning that deriving from
> vtkBoxWidget
> to create a specialised box widget is near-impossible.
>
> I would appreciated any comments on this, especially relating
> to whether
> there would be problems virtualising some of the base methods.
>
> Thanks for any comments,
> Charl
>
> --
> 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