-
Notifications
You must be signed in to change notification settings - Fork 5
/
DepthMapPoint.cpp
49 lines (35 loc) · 1.01 KB
/
DepthMapPoint.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
////////////////////////////////////////////////////////////////////////////////////
// Copyright © Charalambos "Charis" Poullis, [email protected] //
// This work can only be used under an exclusive license of the author. //
////////////////////////////////////////////////////////////////////////////////////
#ifndef __DEPTH_MAP_POINT_CPP__
#define __DEPTH_MAP_POINT_CPP__
#include "SurfacePoint.h"
DepthMapPoint::DepthMapPoint() {
}
DepthMapPoint::DepthMapPoint(Vector3f const &_point, Vector2i const &_index) {
point = _point;
index = _index;
}
DepthMapPoint::~DepthMapPoint() {
}
Vector3f DepthMapPoint::getPoint() const {
return point;
}
Vector2i DepthMapPoint::getIndex() const {
return index;
}
void DepthMapPoint::setPoint(Vector3f const &_point) {
point = _point;
return;
}
void DepthMapPoint::setIndex(Vector2i const &_index) {
index = _index;
return;
}
void DepthMapPoint::set(Vector3f const &_point, Vector2i const &_index) {
point = _point;
index = _index;
return;
}
#endif