Version 3 (modified by 7 years ago) ( diff ) | ,
---|
If you have a surface in Visit (ie an isosurface, or a slice), you can save the window as a vtk file. And then use the attached read2DScalarVTK.m matlab function to import the vtk file as a struct in matlab. The struct returns contains
- Faces - Fx3 array of integers containing the point numbers that make up each face
- Vertices - Vx3 array of floats containing the xyz coordinates of each vertex
- FaceVertexCData - Fx1 scalar field defined on the faces
Attachments (4)
- read2DScalarVTK.m (1.3 KB ) - added by 7 years ago.
- generatemesh.m (217 bytes ) - added by 7 years ago.
- regridmesh.m (225 bytes ) - added by 7 years ago.
- toolbox_image.zip (2.7 MB ) - added by 7 years ago.
Note:
See TracWiki
for help on using the wiki.