forked from i-RIC/iriclib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiriclib_pointmap.h
More file actions
47 lines (38 loc) · 818 Bytes
/
iriclib_pointmap.h
File metadata and controls
47 lines (38 loc) · 818 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
44
45
46
47
#ifndef IRICLIB_POINTMAP_H
#define IRICLIB_POINTMAP_H
#include "iriclib_global.h"
#include <vector>
namespace iRICLib {
class IRICLIBDLL PointMapTriangle {
public:
PointMapTriangle();
int index1;
int index2;
int index3;
};
class IRICLIBDLL PointMapBreakline {
public:
std::vector<int> indices;
};
class IRICLIBDLL PointMap {
public:
enum ValueType {
vtInt = 0,
vtReal = 1
};
PointMap();
~PointMap();
int pointCount;
ValueType valueType;
std::vector<double> x;
std::vector<double> y;
std::vector<double> realValue;
std::vector<int> intValue;
std::vector<PointMapTriangle> triangles;
std::vector<PointMapBreakline> breaklines;
int load(const char* filename);
int save(const char* filename);
void clear();
};
}
#endif // IRICLIB_POINTMAP_H