|
|
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. More... | |
| bool | isFree () const |
| Indicate whether this voxel is free (i.e. it is not occupied). More... | |
| bool | isOccupied () const |
| Indicate whether this voxel is occupied. More... | |
| void | setFree () |
| Set the voxel to free, i.e. unoccupied. More... | |
| void | setOccupied (Label label) |
| Set the voxel to occupied and set its label. More... | |
| Voxel () | |
| Construct an unoccupied voxel. More... | |
| Voxel (Label label) | |
| Construct an occupied voxel with given label. More... | |
A voxel storing whether it is occupied or free and the object label it is occupied by.
Definition at line 22 of file VoxelGrid.h.
| Voxel | ( | ) |
Construct an unoccupied voxel.
Definition at line 12 of file VoxelGrid.cpp.
Here is the call graph for this function:Construct an occupied voxel with given label.
Definition at line 17 of file VoxelGrid.cpp.
Here is the call graph for this function:| Label getLabel | ( | ) | const |
Get the label. Voxel must be occupied.
Definition at line 35 of file VoxelGrid.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool isFree | ( | ) | const |
Indicate whether this voxel is free (i.e. it is not occupied).
Definition at line 23 of file VoxelGrid.cpp.
Here is the call graph for this function:| bool isOccupied | ( | ) | const |
Indicate whether this voxel is occupied.
Definition at line 29 of file VoxelGrid.cpp.
Here is the caller graph for this function:| void setFree | ( | ) |
Set the voxel to free, i.e. unoccupied.
Definition at line 42 of file VoxelGrid.cpp.
Here is the caller graph for this function:| void setOccupied | ( | Label | label | ) |
Set the voxel to occupied and set its label.
Definition at line 49 of file VoxelGrid.cpp.
Here is the caller graph for this function: