meshlab Data Structure

Two cents on the basic types inside MeshLab, whose declaration are in meshmodel.h:

  • the basic document type is a MeshDocument that is basically a list of MeshModel.
  • each MeshModel corresponds to one layer and contains a vcg mesh of type CMeshO
  • CMeshO is the vcg mesh type (a vcg::trimesh ) that you should provide to the various vcg Algorithms and from which you should get FaceIterators, VertexIterators and others types...

So for example when you open a file, a new MeshDocument is created, with a single layer that contains the loaded mesh. Some filters can create or destroy layers, for example the sampling filters usually create a new layer containing the sampled point clouds. Filters can work or on a single layer or on all the layers.

It is very important that filters keep coherent and updated the set of elements that are currently active for a given mesh, like for example colors, curvature, adjacency etc.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值