COGS
Computer Graphics Structures library
PointCloudProperty.h
1 /*
2  Copyright (C) Skeletex Research, s.r.o. - All Rights Reserved
3  Unauthorized copying of this file, via any medium is strictly prohibited
4  Proprietary and confidential
5 */
6 #ifndef COGS_POINT_CLOUD_PROPERTY_H
7 #define COGS_POINT_CLOUD_PROPERTY_H
8 #include <string>
9 #include <COGS/DataType.h>
10 
11 namespace cogs
12 {
15  {
17  using Key = std::string;
21  size_t bytes_per_point{ 0 };
25  void *data{ nullptr };
27  bool HasEquivalentType(const PointCloudProperty &other) const;
28  };
29 }
30 
31 #endif /* !COGS_POINT_CLOUD_PROPERTY_H */
Namespace of "Computer Graphic Structures" library, which implement many core classes and structures...
Definition: AabbHierarchy.h:8
DataType type
Data type of property. Optional.
Definition: PointCloudProperty.h:23
size_t bytes_per_point
Number of bytes for each point.
Definition: PointCloudProperty.h:21
bool HasEquivalentType(const PointCloudProperty &other) const
Compares if this data type is equivalent to other. Data and key are not tested.
Type used to store information about property.
Definition: PointCloudProperty.h:14
std::string Key
Type used to identify cloud property record.
Definition: PointCloudProperty.h:17
DataType
Identifier of data types.
Definition: DataType.h:11
Key key
Unique property identifier.
Definition: PointCloudProperty.h:19
void * data
Pointer to property data buffer.
Definition: PointCloudProperty.h:25