 |
Voxomap
A C++11 voxel container.
|
Go to the documentation of this file.
7 #include "voxel_octree/ArrayArea.hpp"
13 UserData(
int value = 0) : value(value)
52 voxomap::ArrayArea<UserData>* area = it.getArea();
55 std::cout <<
"x: " << int(it.x) <<
" y: " << int(it.y) <<
" z: " << int(it.z) <<
" value: " << it.voxel->value << std::endl;
iterator findVoxel(T x, T y, T z)
Returns a voxel iterator.
bool removeVoxel(T x, T y, T z, Args &&... args)
Removes a voxel.
std::pair< iterator, bool > addVoxel(T x, T y, T z, Args &&... args)
Add the voxel if not exist.
Node optimized for voxel.
Octree optimized for voxel.
iterator updateVoxel(T x, T y, T z, Args &&... args)
Update the voxel if already exist.