[vtk-developers] Virtual methods in VTK classes

Charl P. Botha c.p.botha at ewi.tudelft.nl
Tue Jul 1 07:03:24 EDT 2003


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/



More information about the vtk-developers mailing list