-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmain.cpp
25 lines (21 loc) · 1.15 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
#include <iostream>
#include "preprocess.cpp"
int main() {
// -----------------------------------------------------------------------------------------------------------------
// define global variables
int roof_idx;
int ground_idx;
std::string file_in = "./data/pointclouds/VRR.pcd"; // file name of the input PCD file
std::string file_out_A = "./data/pointclouds/VRR_out_A.ply"; // file name of the output PLY (ASCII) file
std::string file_out_B = "./data/pointclouds/VRR_out_B.ply"; // file name of the output PLY (Binary) file
// -----------------------------------------------------------------------------------------------------------------
// preprocess the point cloud data
preprocess_pts(file_in, roof_idx, ground_idx);
// -----------------------------------------------------------------------------------------------------------------
// visualize the point cloud data
// TODO: visualize_pts();
// -----------------------------------------------------------------------------------------------------------------
// the other visualization methods
// TODO: voxelization;
// TODO: meshing;
}