9 #ifndef OCTOMAP_OCTREE_DATA_NODE_H 10 #define OCTOMAP_OCTREE_DATA_NODE_H 88 bool createChild(
unsigned int i);
91 bool childExists(
unsigned int i)
const;
100 bool hasChildren()
const;
104 bool collapsible()
const;
107 void deleteChild(
unsigned int i);
142 std::istream& readValue(std::istream &s);
152 std::ostream& writeValue(std::ostream &s)
const;
160 void allocChildren();
172 #include "mrpt/otherlibs/octomap/OcTreeDataNode.hxx"
OctoMap: A probabilistic, flexible, and compact 3D mapping library for robotic systems.
OcTreeDataNode< T > ** children
pointer to array of children, may be NULL
bool operator==(const CArray< T, N > &x, const CArray< T, N > &y)
void setValue(T v)
sets value to be stored in the node
T value
stored data (payload)
Basic node in the OcTree that can hold arbitrary data of type T in value.
T DataType
Make the templated data type available from the outside.