-
Notifications
You must be signed in to change notification settings - Fork 0
/
ACloud.h
44 lines (37 loc) · 929 Bytes
/
ACloud.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
#pragma once
#define NOMINMAX
#include <Windows.h>
#include <pcl/io/pcd_io.h>
#include <pcl/io/ply_io.h>
#include <pcl/point_types.h>
#include <pcl/visualization/cloud_viewer.h>
#include <pcl/kdtree/kdtree_flann.h>
#include <pcl/features/normal_3d.h>
#include <pcl/surface/gp3.h>
#include <pcl/surface/poisson.h>
#include <pcl/surface/texture_mapping.h>
#include <pcl/filters/voxel_grid.h>
//#include "AIO.h"
namespace Arash
{
namespace Cloud
{
class ACloud
{
public:
ACloud();
~ACloud();
typedef pcl::PointXYZ PointType;
typedef pcl::PointNormal PointNT;
pcl::PointCloud<PointType>::Ptr cloud;
pcl::PointCloud<PointNT>::Ptr normal;
ACloud *Clone();
void Release();
int LoadPCD(std::string file_name);
int LoadPLY(std::string file_name);
void Merge(ACloud *input_cloud);
void Translate(float x, float y, float z);
void Rotate(float t_x, float t_y, float t_z);
};
}
}