#include <ArmarXSimulation/components/LaserScannerSimulation/OccupancyGrid.h>
|
float | computeDistance (Eigen::Vector2f pos, Eigen::Vector2f dir) |
|
Eigen::Vector2f | getCentralPosition (std::size_t indexX, std::size_t indexY) const |
|
void | init (std::size_t gridSizeX, std::size_t gridSizeY, float originX, float originY, float gridStepSize) |
|
bool | isInBounds (float posX, float posY) const |
|
bool | isOccupied (float posX, float posY) const |
|
bool | isOccupied (std::size_t indexX, std::size_t indexY) const |
|
void | setOccupied (std::size_t indexX, std::size_t indexY, bool posOccupied) |
|
Definition at line 32 of file OccupancyGrid.h.
◆ computeDistance()
float computeDistance |
( |
Eigen::Vector2f |
pos, |
|
|
Eigen::Vector2f |
dir |
|
) |
| |
|
inline |
◆ getCentralPosition()
Eigen::Vector2f getCentralPosition |
( |
std::size_t |
indexX, |
|
|
std::size_t |
indexY |
|
) |
| const |
|
inline |
◆ init()
void init |
( |
std::size_t |
gridSizeX, |
|
|
std::size_t |
gridSizeY, |
|
|
float |
originX, |
|
|
float |
originY, |
|
|
float |
gridStepSize |
|
) |
| |
|
inline |
◆ isInBounds()
◆ isOccupied() [1/2]
◆ isOccupied() [2/2]
bool isOccupied |
( |
std::size_t |
indexX, |
|
|
std::size_t |
indexY |
|
) |
| const |
|
inline |
◆ setOccupied()
void setOccupied |
( |
std::size_t |
indexX, |
|
|
std::size_t |
indexY, |
|
|
bool |
posOccupied |
|
) |
| |
|
inline |
◆ occupied
boost::dynamic_bitset<std::size_t> occupied |
◆ originX
◆ originY
◆ sizeX
◆ sizeY
◆ stepSize
The documentation for this struct was generated from the following file: