-
Notifications
You must be signed in to change notification settings - Fork 8
/
PCReconstruct.pro
146 lines (129 loc) · 3.75 KB
/
PCReconstruct.pro
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#-------------------------------------------------
#
# Project created by QtCreator 2019-09-28T10:50:52
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = PCReconstruct
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += EIGEN_NO_MALLOC
DEFINES += EIGEN_NO_DEBUG
DEFINES += _USE_MATH_DEFINES
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
CONFIG += c++11
PRECOMPILED_HEADER = stable.h
SOURCES += \
BoundBox.cpp \
Cloud.cpp \
CloudWorker.cpp \
GLWidget.cpp \
MainWindow.cpp \
MessageLogger.cpp \
Window.cpp \
dialogs/BoundBoxDialog.cpp \
dialogs/DecimateDialog.cpp \
dialogs/NormalsDialog.cpp \
dialogs/OptionsDialog.cpp \
dialogs/RandomSurfDialog.cpp \
dialogs/ReconstructDialog.cpp \
dialogs/SparsifyDialog.cpp \
dialogs/get_field.cpp \
dictionarylearning/MatchingPursuit.cpp \
dictionarylearning/OrthogonalPursuit.cpp \
dictionarylearning/cosine_transform.cpp \
dictionarylearning/ksvd.cpp \
dictionarylearning/ksvd_dct2D.cpp \
main.cpp \
utils/Plane.cpp \
utils/cloud_normal.cpp \
utils/pt_to_pt_distsq.cpp \
utils/rotations.cpp
HEADERS += \
BoundBox.h \
Cloud.h \
CloudWorker.h \
Cover-Tree/CoverTreePoint.h \
Cover-Tree/Cover_Tree.h \
GLWidget.h \
MainWindow.h \
MessageLogger.h \
Window.h \
alignment.h \
constants.h \
dialogs/BoundBoxDialog.h \
dialogs/DecimateDialog.h \
dialogs/NormalsDialog.h \
dialogs/OptionsDialog.h \
dialogs/RandomSurfDialog.h \
dialogs/ReconstructDialog.h \
dialogs/SparsifyDialog.h \
dialogs/get_field.h \
dictionarylearning/MatchingPursuit.h \
dictionarylearning/OrthogonalPursuit.h \
dictionarylearning/cosine_transform.h \
dictionarylearning/ksvd.h \
dictionarylearning/ksvd_dct2D.h \
stable.h \
\ \
utils/Plane.h \
utils/cloud_normal.h \
utils/ensure_buffer_size.h \
utils/pt_to_pt_distsq.h \
utils/rotations.h
FORMS +=
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
INCLUDEPATH += $$PWD/'../../lib/PCL 1.9.1/include/pcl-1.9' \
$$PWD/'../../lib/eigen3' \
$$PWD/'../../lib/Boost/include/boost-1_68' \
$$PWD/'../../lib/OpenNI2/Include' \
$$PWD/'../../lib/FLANN/include' \
$$PWD/'Cover-Tree' \
$$PWD/'dialogs' \
$$PWD/'dictionarylearning' \
$$PWD/'utils'
LIBS += -L$$PWD/'../../lib/PCL 1.9.1/lib/'
CONFIG( debug, debug|release ) {
## debug
LIBS += \
-lpcl_common_debug \
-lpcl_filters_debug \
-lpcl_kdtree_debug \
-lpcl_search_debug \
-lpcl_io_debug \
-lpcl_io_ply_debug
}
else {
# release
LIBS += \
-lpcl_common_release \
-lpcl_filters_release \
-lpcl_kdtree_release \
-lpcl_search_release \
-lpcl_io_release \
-lpcl_io_ply_release
}
LIBS += -L$$PWD/'../../lib/Boost/lib/'
LIBS += -L$$PWD/'../../lib/OpenNI2/Lib/' -lOpenNI2
RESOURCES += \
PCReconstruct.qrc
msvc{
QMAKE_CXXFLAGS += -openmp
}
gcc{
QMAKE_CXXFLAGS += -fopenmp -Wno-attributes -Wno-unused-parameter
QMAKE_CXXFLAGS += -Wno-ignored-attributes
QMAKE_LFLAGS += -fopenmp
LIBS += -fopenmp
}