Thank you for the response,
Absolutely right. About an hour ago I finally achieved some success (with memory leaks yet of course) and I’m proud to show it
As you said one have to provide XYZ surface grid and Z spacings (double array where all elements are either positive or negative). To visualize with colors o course one need to provide array of values for each cell/point.
Does these methods should return the nearest point/cell in the terms of Eigen space like min(sqrt(x1-x0)^2+(y1-y0)^2+(z1-z0)^2)
? For now I have defined these methods with that logic.
I would like to contribute to VTK but not soon as I need to be confident that the project is pretty stable and may be applied in practical tasks.