NodeHandle
-
class
ooc::NodeHandle A handle for a point cloud node. A
NodeHandleis unique per point cloud tree. That is, if two handles belong to the same point cloud root, they will not compare equal.
Methods
-
ooc::NodeHandle::NodeHandle(uint32_t node_file_id, uint32_t node_file_offset) private
-
ooc::NodeHandle::NodeHandle() Constructs an invalid node handle of indeterminate state.
-
ooc::NodeHandle::NodeHandle(NodeData const &node_data) Constructs a node handle that is identical to node_data
Parameters
node_data: The node handle to copy
-
size_t
ooc::NodeHandle::Hash() const const
-
bool
ooc::NodeHandle::operator==(NodeHandle const &other) const const
Tests whether or not two node handles are equal.
Parameters
other: The node handle to compare against.Returns
true if other equals *this, false otherwise.
-
bool
ooc::NodeHandle::operator!=(NodeHandle const &other) const const
Tests whether or not two node handles are unequal.
Parameters
other: The node handle to compare against.Returns
true if other is unequal to *this, false otherwise.
-
bool
ooc::NodeHandle::operator<(NodeHandle const &other) const const
Puts a strict ordering on node handles.
Parameters
other: The node handle to compare against.Returns
true if other compares less than *this. Returns false otherwise.
-
static NodeHandle
ooc::NodeHandle::Invalid() static
Returns a node handle that represents an invalid node handle. The node handle returned by this function can be used as a representative invalid value. This value can be compared against other handles via the equality operators.
Variables
-
uint32_t
ooc::NodeHandle::node_file_id private
uint32_t
-
uint32_t
ooc::NodeHandle::node_file_offset private
uint32_t