[vtk-developers] Data structures in VTK (Implementation)

Lorensen, William E (CRD) lorensen at crd.ge.com
Thu Feb 21 13:55:46 EST 2002


Inheritance is an implementation detail. I'm suggesting we look at the api's.


-----Original Message-----
From: Andy Cedilnik [mailto:Andy.Cedilnik at kitware.com]
Sent: Thursday, February 21, 2002 1:06 PM
To: Miller, James V (CRD); Lorensen, William E (CRD);
vtk-developers at public.kitware.com
Subject: RE: [vtk-developers] Data structures in VTK (Implementation)


At 12:53 PM 2/21/2002 -0500, Miller, James V (CRD) wrote:
>STL actually uses very little inheritance.  Rather it relies on duplicating
>a prescribed API.  For instance, "vector" and "list" do not share a base
>class.  Instead they just provide similar API's.

Which is strange in VTK. I would say it is better to define a clear
hierarchy and stick to it. Use inheritance to avoid repetition and
so on.

Let us move away from STL.

                         Andy



More information about the vtk-developers mailing list