Quick Structured Mesh Generator

版本 1.0.0.0 (4.6 KB) 作者: Tolga Birdal
Fast generation of structured meshes given the vertices (MEX!). Interpolation/resizing of the mesh.
1.5K 次下载
更新时间 2011/7/28

查看许可证

This is a very simple m file. It creates a structured mesh out of the given 3D vertices or a depth map and utilizes the same technique for resizing the mesh.

The code is heavily commented, so you will be able to find all the details of implementation within the code.

Description:
This function creates a structured mesh out of ordered vertices.
It's useful for dealing with depth maps and treating them as meshes. Kinect or ToF cameras would be an option. gen_structured_mesh is a C mex file doing the actual meshing. It doesnt' produce sorted vertex-face list, so if we really require sorting, we should do it separately (a sample which does the sorting is also included). To display the mesh, I make use of Dr. Vladimir Bondarenk's drawMesh function.

Usage:
The code itself includes the test function. Just run it without any parameters.

Copyright (c) 2011, Tolga Birdal <http://www.tbirdal.me>

引用格式

Tolga Birdal (2024). Quick Structured Mesh Generator (https://www.mathworks.com/matlabcentral/fileexchange/32372-quick-structured-mesh-generator), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0