35 #ifndef RIEGL_RDB_POINTCLOUD_GRAPHNODE_HPP 36 #define RIEGL_RDB_POINTCLOUD_GRAPHNODE_HPP 51 namespace pointcloud {
78 typedef std::uint32_t
ID;
88 operator ID()
const {
return id; }
104 struct hash<
riegl::rdb::pointcloud::GraphNode>
108 return std::hash<std::uint64_t>()(
109 (std::uint64_t(node.
id) << 32) | std::uint64_t(node.
revision)
115 #endif // RIEGL_RDB_POINTCLOUD_GRAPHNODE_HPP ID id
unique node identifier (zero is invalid)
PointCount pointCountNode
number of points in this node (see notes about LOD)
std::size_t operator()(const riegl::rdb::pointcloud::GraphNode &node) const
RIEGL Laser Measurement Systems GmbH, Austria.
std::vector< GraphNode > children
list of child nodes (without grandchildren)
bool operator==(const GraphNode &n1, const GraphNode &n2)
PointCount pointCountTotal
total number of points in all leaf nodes of the branch
Transaction::ID revision
ID of last transaction that has modified any attribute of this branch.