34 #ifndef OCTOMAP_OCTREE_DATA_NODE_H 35 #define OCTOMAP_OCTREE_DATA_NODE_H 80 bool createChild(
unsigned int i);
85 bool childExists(
unsigned int i)
const;
94 bool hasChildren()
const;
98 bool collapsible()
const;
101 void deleteChild(
unsigned int i);
136 std::istream& readValue(std::istream &s);
146 std::ostream& writeValue(std::ostream &s)
const;
154 void allocChildren();
166 #include "octomap/OcTreeDataNode.hxx" T value
stored data (payload)
void setValue(T v)
sets value to be stored in the node
T DataType
Make the templated data type available from the outside.
OcTreeDataNode< T > ** children
pointer to array of children, may be NULL