Re: [Paraview] Memory-saving method for data passing

2016-12-01 Thread David Lonie
Many VTK objects have a ShallowCopy method that does what you want. You can shallow copy the entire datasets (which just copies pointers to data into a new dataset container), or selectively copy e.g. points. Datasets can easily share components. For instance, if you have two grids that have the

[Paraview] Memory-saving method for data passing

2016-12-01 Thread Straub, Alexander
´╗┐Good day, I am currently developping a bunch of plugins (filters) for Paraview in the following setup: I have input data as a rectilinear grid, including an array of scalar values per cell (volume-of-fluid data (vof)). On this data I now want to perform some calculations. First, a plugin