30 #ifndef _MIRA_POINTCLOUDFORMAT_H_ 31 #define _MIRA_POINTCLOUDFORMAT_H_ 39 namespace mira {
namespace maps {
66 template <
typename Reflector>
69 r.member(
"Semantic",
semantic,
"The name/semantic of this field (e.g. 'x' for x-coordinate)");
70 r.member(
"Type",
type,
"The data type of the field");
71 r.member(
"Count",
count,
"The number of repetitions of the above data type");
72 r.member(
"Size",
size,
"The total size of this field in bytes");
113 template <
typename Reflector>
116 r.member(
"Fields", fields,
"The data fields");
117 if(!Reflector::isReadOnly::value)
124 void addOtherField(
const std::string& semantic, std::size_t size);
140 void refreshFields();
146 template <
typename Po
intType>
Type
Definition: PointCloudFormat.h:49
Definition: PointCloudFormat.h:91
Definition: PointCloudFormat.h:50
bool isValid() const
Returns true, if this field is valid.
Definition: PointCloudFormat.h:79
uint32 offset
Definition: PointCloudFormat.h:86
Maps export macro declaration.
Type type
Definition: PointCloudFormat.h:83
static const PCDataField::Type type
Definition: PointCloudFormat.h:91
std::string semantic
Definition: PointCloudFormat.h:82
PropertyHint type(const std::string &t)
void reflect(Reflector &r)
Definition: PointCloudFormat.h:67
PCFormat pointCloudFormat()
Definition: PointCloudFormat.h:147
uint32 count
Definition: PointCloudFormat.h:84
Definition: PointCloudFormat.h:55
PCDataField(const std::string &iSemantic, Type iType, std::size_t iCount)
Definition: PointCloudFormat.h:61
Definition: PointCloudFormat.h:45
Definition: PointCloudFormat.h:53
Definition: PointCloudFormat.h:52
#define MIRA_MAPPING_MAPS_EXPORT
Definition: MapsExports.h:44
PCDataField()
Definition: PointCloudFormat.h:60
Definition: PointCloudFormat.h:54
uint32 size
Definition: PointCloudFormat.h:87