Export a Matlab surface to an Avizo© (VSG) compatible surface
Usage:
writeAvizoSurf(f,v,filename,colourTissue,colourExterior);
writeAvizoSurf(f,v,filename,colourTissue);
writeAvizoSurf(f,v,filename);
writeAvizoSurf(f,v);
Parameters:
f - triangular faces, n by 3
v - list of vertices, n by 3
filename - the filename for exported surface
- Default value: ExportedEllipsoid.surf
colourTissue - the colour of the surface, e.g. [1 0 0] for red
- Default value: [1 0.8 0.4];
colourExterior - the colour of the background
- Default value: [0.8 0.8 0.8];
Example:
[x, y, z] = ellipsoid(0,0,0,3,4,5,30);
[f,v,~] = surf2patch(x,y,z,z,'triangles');
writeAvizoSurf(f,v,'ExportedEllipsoid.surf',[1 0 0], [0.8 0.8 0.8]);
Author: Sheng Yue
Email: sheng.yue.84@gmail.com
Created: 24 November 2011
Version: 1.0
Cita come
Sheng Yue (2025). Export a Matlab surface to an Avizo© (VSG) compatible surface (https://it.mathworks.com/matlabcentral/fileexchange/33917-export-a-matlab-surface-to-an-avizo-vsg-compatible-surface), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Mathematics > Computational Geometry > Triangulation Representation >
- MATLAB > External Language Interfaces > Other languages > Avizo >
Tag
Riconoscimenti
Ispirato: Export multiple Matlab surfaces to a single Avizo© (VSG) compatible surface
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
