[vtk-developers] Data structures in VTK (Implementation)
Andy Cedilnik
Andy.Cedilnik at kitware.com
Thu Feb 21 13:06:28 EST 2002
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