[vtk-developers] Data structures in VTK

Andy Cedilnik Andy.Cedilnik at kitware.com
Wed Jan 2 11:55:55 EST 2002


What I meant here was that the VTK object could not return this template 
container. For example
vtkWhatever has as one of its members:

         vtkDynamicArray< class vtkWhateverElement > Elements;

If you want wrappers to work correctly, this class should not have method:

         vtkDynamicArray< class vtkWhateverElement > GetElements();

Since wrappers cannot wrap templates.
But I think this is not a necessary feature of VTK containers.

>They do. Or did I miss your point ? Collections are scattered in many 
>places and returned by many methods (collections of actors, cameras, 
>renderers, etc.). And it works in Tcl too of course.




More information about the vtk-developers mailing list