Go to the documentation of this file.
7 #ifndef __POINT_TYPE_H__
8 #define __POINT_TYPE_H__
56 unsigned int getType(
unsigned int type);
80 T*
createPoint(
unsigned int i,
unsigned int index = 0);
106 bool hasType(
unsigned int type);
121 unsigned int counter = 0;
137 p[counter++] = P.
type;
140 memcpy(&
p[counter], P.
rgb, 3);
147 p[counter++] = index;
156 unsigned int counter = 0;
171 P.
type =
p[counter++];
174 memcpy(P.
rgb, &
p[counter], 3);
186 unsigned int counter = 0;
189 for(
unsigned int j = 0; j < 3; ++j)
190 p[counter++] = (*
m_xyz)[i][j];
203 p[counter++] = (
m_type? (*m_type)[i]: 0);
207 memcpy(&
p[counter], (*
m_rgb)[i], 3);
215 p[counter++] = index;
Basic DataPointer class and its derivates SingleArray and TripleArray.
Representation of a 3D point.
static const unsigned int USE_DEVIATION
unsigned int getPointDim()
static const unsigned int USE_AMPLITUDE
unsigned int getAmplitude()
static const unsigned int USE_TYPE
static PointType deserialize(std::ifstream &f)
static const unsigned int USE_TIME
T * createPoint(const Point &P, unsigned int index=0)
double z
z coordinate in 3D space
void serialize(std::ofstream &f)
static const unsigned int USE_NONE
static const unsigned int USE_HEIGHT
double x
x coordinate in 3D space
DataReflectance * m_reflectance
DataAmplitude * m_amplitude
static const unsigned int USE_COLOR
DataDeviation * m_deviation
unsigned int getDeviation()
double y
y coordinate in 3D space
Representation of a point in 3D space.
static const unsigned int USE_INDEX
unsigned int getReflectance()
unsigned int toFlags() const
static const unsigned int USE_REFLECTANCE
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24