-
Notifications
You must be signed in to change notification settings - Fork 10
/
global_types.cpp
62 lines (47 loc) · 1.6 KB
/
global_types.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// This file is part of the implementation of
// Robust Structure Simplification for Hex Re-meshing
// Xifeng Gao, Daniele Panozzo, Wenping Wang, Zhigang Deng, Guoning Chen
// In ACM Transactions on Graphics (Proceedings of SIGGRAPH ASIA 2017)
//
// Copyright (C) 2017 Xifeng Gao<[email protected]>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://mozilla.org/MPL/2.0/.
#pragma once
#include "global_types.h"
//meshes
Mesh_Feature mf;
//local mesh
vector<MatrixXi> LocalMeshTri_F;
vector<MatrixXd> LocalMeshTri_V;
vector<VectorXd> LocalMeshTri_C;
vector<MatrixXi> LocalMeshEs;
//local projection
vector<Feature_Constraints> SeLocalProjection;
//mesh
vector<MatrixXi> MeshTri_F;
vector<MatrixXd> MeshTri_V, MeshTri_N, MeshTri_VN;
vector<VectorXd> MeshTri_C;
vector<MatrixXi> MeshEs;
vector<MatrixXi> SkeletonTri_F;
vector<MatrixXd> SkeletonTri_V;
vector<MatrixXd> SkeletonTri_N;
vector<MatrixXd> SkeletonTri_C;
vector<MatrixXi> FrameTri_F;
vector<MatrixXd> FrameTri_V, FrameTri_N;
vector<VectorXd> FrameTri_C;
vector<MatrixXi> MeshSkeletonTri_F;
vector<MatrixXd> MeshSkeletonTri_V, MeshSkeletonTri_N, MeshSkeletonTri_VN;
vector<VectorXd> MeshSkeletonTri_C;
vector<VectorXd> AOSkeletons;
vector<VectorXd> AOs;
vector<MatrixXi> CollapseTri_F;
vector<MatrixXd> CollapseTri_V, CollapseTri_N;
vector<VectorXd> CollapseTri_C;
char path_out[300];
int32_t GRAIN_SIZE;
MatrixXd tenC, tenC_perm;
double diagonal_len;
Mesh mesh_sheet, mesh_sheetS;
bool HEXAHEDRAL_COLLASPE = false;