[vtk-developers] Data structures in VTK (Implementation)
Andy Cedilnik
Andy.Cedilnik at kitware.com
Thu Feb 21 10:41:19 EST 2002
At 12:06 PM 2/20/2002 -0500, Lorensen, William E (CRD) wrote:
>Let's have some more discussion on this...
Ok, people should express more opinions.
>We all agree that STL is just not portable enough for vtk. But...
>maybe we should look at some design elements of STL.
Maybe. Is there anybody on the list who knows all the internals of
STL? What are some of the things from STL we should use?
I suggested the hierarchy of classes:
vtkContainer
-> vtkList
-> vtkVector
-> vtkLinkedList
-> vtkAssociative
-> vtkHashTable
-> vtkTree
>For example, maybe we should start thinking about iterators. Also, perhaps
>we should use method names
>that are similar to STL.
About iterators, there is nothing that would prevent us from making iterators.
The design we are proposing can easily include iterators.
Oh, I think method names that are similar to STL are different than what
VTK uses. For example STL uses lower case method names, etc. Also, the
names in our proposal are more consistent with other VTK classes.
Andy
More information about the vtk-developers
mailing list