surface2vtk. Given the scattered data r and its co-ordinates x,y,z,
surface2vtk interpolates the data to a regular grid and saves the
resulting surface as a vtk file
For info about more complicated interpolation or translating different datasets to VTK please contact.
I noticed that the inputs have to be integers and what I have are floats. I could always just multiply my values by a scalar to make them whole numbers. Is there any other way to work around that problem?
This is a great idea of how to save a surface from MATLAB but could you explain the imputs in a little more detail? What is the scattered data "r" that you have? I am assuming that is not the actually points because that is the x, y, and z variables. Could you help me understand that a little more?