Public Member Functions | Private Member Functions | Private Attributes | List of all members
voxel_grid::VoxelGrid::ClearVoxelInMap Class Reference

Public Member Functions

 ClearVoxelInMap (uint32_t *data, unsigned char *costmap, unsigned int unknown_clear_threshold, unsigned int marked_clear_threshold, unsigned char free_cost=0, unsigned char unknown_cost=255)
 
void operator() (unsigned int offset, unsigned int z_mask)
 

Private Member Functions

bool bitsBelowThreshold (unsigned int n, unsigned int bit_threshold)
 

Private Attributes

unsigned char * costmap_
 
uint32_t * data_
 
unsigned char free_cost_
 
unsigned int marked_clear_threshold_
 
unsigned int unknown_clear_threshold_
 
unsigned char unknown_cost_
 

Detailed Description

Definition at line 349 of file voxel_grid.h.

Constructor & Destructor Documentation

◆ ClearVoxelInMap()

voxel_grid::VoxelGrid::ClearVoxelInMap::ClearVoxelInMap ( uint32_t *  data,
unsigned char *  costmap,
unsigned int  unknown_clear_threshold,
unsigned int  marked_clear_threshold,
unsigned char  free_cost = 0,
unsigned char  unknown_cost = 255 
)
inline

Definition at line 352 of file voxel_grid.h.

Member Function Documentation

◆ bitsBelowThreshold()

bool voxel_grid::VoxelGrid::ClearVoxelInMap::bitsBelowThreshold ( unsigned int  n,
unsigned int  bit_threshold 
)
inlineprivate

Definition at line 383 of file voxel_grid.h.

◆ operator()()

void voxel_grid::VoxelGrid::ClearVoxelInMap::operator() ( unsigned int  offset,
unsigned int  z_mask 
)
inline

Definition at line 361 of file voxel_grid.h.

Member Data Documentation

◆ costmap_

unsigned char* voxel_grid::VoxelGrid::ClearVoxelInMap::costmap_
private

Definition at line 399 of file voxel_grid.h.

◆ data_

uint32_t* voxel_grid::VoxelGrid::ClearVoxelInMap::data_
private

Definition at line 398 of file voxel_grid.h.

◆ free_cost_

unsigned char voxel_grid::VoxelGrid::ClearVoxelInMap::free_cost_
private

Definition at line 401 of file voxel_grid.h.

◆ marked_clear_threshold_

unsigned int voxel_grid::VoxelGrid::ClearVoxelInMap::marked_clear_threshold_
private

Definition at line 400 of file voxel_grid.h.

◆ unknown_clear_threshold_

unsigned int voxel_grid::VoxelGrid::ClearVoxelInMap::unknown_clear_threshold_
private

Definition at line 400 of file voxel_grid.h.

◆ unknown_cost_

unsigned char voxel_grid::VoxelGrid::ClearVoxelInMap::unknown_cost_
private

Definition at line 401 of file voxel_grid.h.


The documentation for this class was generated from the following file:


voxel_grid
Author(s): Eitan Marder-Eppstein, Eric Berger, contradict@gmail.com
autogenerated on Wed Jun 22 2022 02:07:02