COGS
Computer Graphics Structures library
cogs::PointCloudProperty Struct Reference

Type used to store information about property. More...

Public Types

using Key = std::string
 Type used to identify cloud property record.
 

Public Member Functions

bool HasEquivalentType (const PointCloudProperty &other) const
 Compares if this data type is equivalent to other. Data and key are not tested.
 

Data Fields

Key key
 Unique property identifier.
 
size_t bytes_per_point { 0 }
 Number of bytes for each point.
 
DataType type { DataType::UNKNOWN }
 Data type of property. Optional.
 
void * data { nullptr }
 Pointer to property data buffer.
 

Detailed Description

Type used to store information about property.