-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.cpp
81 lines (69 loc) · 2.65 KB
/
main.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#include "Test.h"
int main(int argc,char** argv){
// surface skinning
//Test::test_circle_skinning();
//Test::test_venus_skinning();
//Test::test_venus_skinning_helper_points();
//Test::test_Bsurface_skinning();
//Test::test_chess_skinning();
//Test::test_ring_skinning();
//Test::test_helicoidal_skinning();
//Test::test_bonnet_skinning();
//Test::test_door_skinning();
//Test::test_face_skinning();
// volume skinning
//Test::test_sample_VolumeSkinning("tooth", 3);
//Test::test_sample_VolumeSkinning("venus", 3e-3);
//Test::test_sample_VolumeSkinning("isis", 5e-3);
//Test::test_sample_VolumeSkinning("isis", 1e-2);
//Test::test_sample_VolumeSkinning("moai", 0.04, 5, 'u');
//Test::test_sample_VolumeSkinning("head", 0.01);
//Test::test_VolumeSkinning("tooth", 3);
//Test::test_VolumeSkinning("venus", 3e-3);
//Test::test_VolumeSkinning("isis", 5e-3);
//Test::test_VolumeSkinning("isis", 1e-2);
//Test::test_VolumeSkinning("moai", 0.04);
//Test::test_VolumeSkinning("moai_new", 0.03);
//Test::test_VolumeSkinning("moai_fitbspline", 0.04);
//Test::test_VolumeSkinning("Ssolid", 0.05);
//Test::test_VolumeSkinning("head", 0.01);
//Test::test_VolumeSkinning("duck", 2);
//Test::test_VolumeSkinning("duck_new", 2);
// draw curve, surface, volume
//Test::test_nurbs();
//Test::test_TsplineVolume("duck_new", true);
//Test::test_TsplineVolume("tooth", false);
//Test::test_TsplineVolume("Ssolid", true);
//Test::test_TsplineVolume("moai_new", true);
Test::test_BsplineVolume("tooth", 0.02, true);
//Test::test_BsplineVolume("venus", 0.01, true);
//Test::test_BsplineVolume("moai", 0.02, true);
//Test::test_BsplineVolume("balljoint", 0.01, true);
//Test::test_BsplineVolume("isis", 0.01, true);
//Test::test_BsplineVolume("head", 0.02, true);
//Test::test_BsplineVolume("head", 0.02, true);
//Test::test_BsplineVolume("multiVolume_4", 0.02, true);
//Test::test_BsplineVolume("moai_new", 0.02, true);
//Test::test_BsplineVolume("duck", 0.02, true);
//Test::test_BsplineVolume("duck_new", 0.02, true);
//Test::test_Mesh();
//Test::test_DrawMultiVolume();
// helper function
//Test::test_nurbscurve_interpolate_optimize();
//Test::test_tspline_normal();
//Test::test_getsurface_fromvolume();
//Test::test_fitbsplinesolid("Ssolid", 0.05);
//Test::test_fitbsplinesolid("moai_fitbspline", 0.04);
//Test::test_sample_fitbsplinesolid("moai", 0.04);
//Test::test_Nurbs_curvature();
//Test::test_TsplineSimplify();
//Test::test_load_nurbs_surface();
//Test::test_save_nurbs_surface();
//Test::test_save_quadObj();
//Test::test_DerOfNurbs();
//Test::test_Lspia();
//Test::test_Array();
//Test::test_Basis();
//Test::test_Derivative();
return 0;
}