軟件工程和網(wǎng)絡(luò)工程哪個好合肥網(wǎng)站優(yōu)化seo
文章目錄
- 一、簡介
- 二、實現(xiàn)代碼
- 三、實現(xiàn)效果
- 參考資料
一、簡介
對于網(wǎng)格的每個單形,我們都有一個稱為BitFlags的組件,該組件存儲固定大小的32位向量,用于各種需求。管理這些標(biāo)志的相關(guān)類:
vcg::tri::UpdateFlags
與vcg::tri::UpdateSelection
。主要的標(biāo)記有:刪除標(biāo)記、邊界標(biāo)記、選擇標(biāo)記以及訪問標(biāo)記等等。
二、實現(xiàn)代碼
//VCG
#include <vcg/complex/algorithms/create/platonic.h>
#include <wrap/io_trimesh/import.h>
#include <wrap/io_trimesh/export.h>
#include <vcg/complex/complex.h>//自定義
#include "mesh_type.h"using namespace vcg;
using namespace std;typedef float Scalarm;int main() {//---------------------------讀取數(shù)據(jù)------------------------std::string fileName0 = R"(D:\ComputerLanguage\C+&#