forked from dream3d/TransformationPhase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TransformationPhaseConstants.h
78 lines (69 loc) · 2.39 KB
/
TransformationPhaseConstants.h
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
78
#pragma once
#include <QtCore/QString>
namespace TransformationPhaseConstants
{
const QString TransformationPhasePluginFile("TransformationPhasePlugin");
const QString TransformationPhasePluginDisplayName("Transformation Phase");
const QString TransformationPhaseBaseName("TransformationPhase");
namespace FilterGroups
{
const QString TransformationPhaseFilters("Transformation Phase");
}
const QString Initiators("Initiators");
const QString HardFeatures("HardFeatures");
const QString SoftFeatures("SoftFeatures");
const QString HardSoftGroups("HardSoftGroups");
const QString SelectedFeatures("SelectedFeatures");
const QString SubsurfaceFeatures("SubsurfaceFeatures");
const QString SurfaceMeshCSLBoundary("SurfaceMeshCSLBoundary");
const QString SurfaceMeshCSLBoundaryIncoherence("SurfaceMeshCSLBoundaryIncoherence");
namespace CSL
{
const float Sigma3 = 3.0f;
const float Sigma5 = 5.0f;
const float Sigma7 = 7.0f;
const float Sigma9 = 9.0f;
const float Sigma11a = 11.0f;
const float Sigma11b = 11.5f;
const float Sigma13a = 13.0f;
const float Sigma13b = 13.5f;
const float Sigma15 = 15.0f;
const float Sigma17a = 17.0f;
const float Sigma17b = 17.5f;
const float Sigma19a = 19.0f;
const float Sigma19b = 19.5f;
const float Sigma21a = 21.0f;
const float Sigma21b = 21.5f;
const float Sigma23 = 23.0f;
const float Sigma25a = 25.0f;
const float Sigma25b = 25.5f;
const float Sigma27a = 27.0f;
const float Sigma27b = 27.5f;
const float Sigma29a = 29.0f;
const float Sigma29b = 29.5f;
}
static const float CSLAxisAngle[21][5] =
{
{3.0f, 60.0f, 1.0f, 1.0f, 1.0f},
{5.0f, 36.87f, 1.0f, 0.0f, 0.0f},
{7.0f, 38.21f, 1.0f, 1.0f, 0.0f},
{9.0f, 38.94f, 1.0f, 1.0f, 0.0f},
{11.0f, 50.48f, 1.0f, 1.0f, 0.0f},
{13.0f, 22.62f, 1.0f, 0.0f, 0.0f},
{13.5f, 27.8f, 1.0f, 1.0f, 1.0f},
{15.0f, 48.19f, 2.0f, 1.0f, 0.0f},
{17.0f, 28.07f, 1.0f, 0.0f, 0.0f},
{17.5f, 61.93f, 2.0f, 2.0f, 1.0f},
{19.0f, 26.53f, 1.0f, 1.0f, 0.0f},
{19.5f, 46.83f, 1.0f, 1.0f, 1.0f},
{21.0f, 21.79f, 1.0f, 1.0f, 1.0f},
{21.5f, 44.4f, 2.0f, 1.0f, 1.0f},
{23.0f, 40.45f, 3.0f, 1.0f, 1.0f},
{25.0f, 16.25f, 1.0f, 0.0f, 0.0f},
{25.5f, 51.68f, 3.0f, 3.0f, 1.0f},
{27.0f, 31.58f, 1.0f, 1.0f, 0.0f},
{27.5f, 35.42f, 2.0f, 1.0f, 0.0f},
{29.0f, 43.61f, 1.0f, 0.0f, 0.0f},
{29.5f, 46.39f, 2.0f, 2.0f, 1.0f}
};
}