Write Cell Array of Structs into a VTK Structured Grid
by Daniel Hornung
23 Jan 2012
Takes a 3D cell array with (nested) structs and exports it as a VTK structured grid.
|
Watch this File
|
| File Information |
| Description |
Each cell of the input cell array must be a struct, possibly nested, and for each point of the input, three properties (or alternatively the cell array indices) are used as VTK coordinates. An arbitrary number of properties are used as values of these points.
The resulting VTK file (which is in ascii encoding) can then be opened and viewed with VTK compatible applications, e.g. ParaView. |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
WriteToVTK, writeVTK
|
| Required Products |
MATLAB
|
| MATLAB release |
MATLAB 7.12 (2011a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com