On Wed, Sep 16, 2009 at 11:16 AM, Fred Fred 
<[email protected]<mailto:[email protected]>> wrote:
I use the STL through vtkstd:

  vtkstd::vector<vtkstd::vector<vtkstd::vector<double> > > grid;

This may-or-may not address your specific problem, but I wanted to mention that this is a really inefficient way to store a three-dimensional array. VTK has classes that provide efficient storage of arbitrary-dimension dense and sparse arrays that you should consider using instead - see vtkArray and its subclasses:

http://www.vtk.org/doc/nightly/html/classvtkArray.html

Cheers,
Tim


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to