-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathblur.h
More file actions
43 lines (35 loc) · 876 Bytes
/
blur.h
File metadata and controls
43 lines (35 loc) · 876 Bytes
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
/**
* blur.h
*/
#pragma once
#include <vector>
#include <pcl/point_types.h>
namespace pebcl
{
class blur
{
public:
// Constructors for blur
blur();
// Destructor for blur
~blur();
// Functions for saving data
void setRadius(int Radius);
void setLargeRadius(int LargeRadius);
void setBlurredPoints(std::vector<pcl::PointXYZRGB> BlurredPoints);
void setCenter(pcl::PointXYZRGB Center);
void setDistancesFromCenter(std::vector<float> distances);
// Functions for retrieving data
int getRadius();
int getLargeRadius();
std::vector<pcl::PointXYZRGB> getBlurredPoints();
pcl::PointXYZRGB getCenter();
std::vector<float> getDistancesFromCenter();
private:
std::vector<pcl::PointXYZRGB> blurredPoints;
pcl::PointXYZRGB center;
int radius;
int largeRadius;
std::vector<float> pointDistancesFromCenter;
};
}