|
|
A voxel storing whether it is occupied or free and the object label it is occupied by. More...
#include <VisionX/libraries/VoxelGrids/LabelOccupancy/VoxelGrid.h>
Public Member Functions | |
| Label | getLabel () const |
| Get the label. Voxel must be occupied. | |
| bool | isFree () const |
| Indicate whether this voxel is free (i.e. it is not occupied). | |
| bool | isOccupied () const |
| Indicate whether this voxel is occupied. | |
| void | setFree () |
| Set the voxel to free, i.e. unoccupied. | |
| void | setOccupied (Label label) |
| Set the voxel to occupied and set its label. | |
| Voxel () | |
| Construct an unoccupied voxel. | |
| Voxel (Label label) | |
| Construct an occupied voxel with given label. | |
A voxel storing whether it is occupied or free and the object label it is occupied by.
| Voxel | ( | ) |
Construct an unoccupied voxel.
| bool isFree | ( | ) | const |
Indicate whether this voxel is free (i.e. it is not occupied).
| bool isOccupied | ( | ) | const |
Indicate whether this voxel is occupied.
| void setFree | ( | ) |
Set the voxel to free, i.e. unoccupied.
| void setOccupied | ( | Label | label | ) |
Set the voxel to occupied and set its label.