[vtk-developers] Using STL containers as part of the API of a utility class
George Zagaris
george.zagaris at kitware.com
Mon Apr 2 21:54:23 EDT 2012
On Mon, Apr 2, 2012 at 9:34 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> Almost anything is better than "std::string* &names". The odds are
> slim to none that an arg like that will ever be wrapped ;)
>
> Any reason for not using vtkStringArray and vtkIntArray? Are you
> concerned about their efficiency?
Efficiency is not a huge concern for this method since field data
metadata is relatively small. I would prefer a lighter API, but, I am
not against changing the method to use vtkStringArray and vtkIntArray.
Thanks for your feedback.
Best,
George
More information about the vtk-developers
mailing list