Angular bin structure for rasterization-based collision detection. More...
#include <CollisionDetection.h>
Public Member Functions | |
| AngularBins (int theta_div, int phi_div) | |
| bool | isCovered (int theta, int phi) const |
| void | setCovered (int theta, int phi, float depth) |
| void | clear () |
Data Fields | |
| int | theta_divisions |
| Number of azimuthal divisions (around cone axis) | |
| int | phi_divisions |
| Number of polar divisions (from apex to cone edge) | |
| float | angular_resolution |
| Steradians per bin. | |
| std::vector< uint8_t > | coverage_bits |
| Packed coverage bits [theta][phi]. | |
| std::vector< float > | depth_values |
| Depth values for covered bins only. | |
Angular bin structure for rasterization-based collision detection.
Definition at line 51 of file CollisionDetection.h.
|
inline |
Definition at line 60 of file CollisionDetection.h.
|
inline |
Definition at line 79 of file CollisionDetection.h.
|
inline |
Definition at line 68 of file CollisionDetection.h.
|
inline |
Definition at line 73 of file CollisionDetection.h.
| float CollisionDetection::AngularBins::angular_resolution |
Steradians per bin.
Definition at line 54 of file CollisionDetection.h.
| std::vector<uint8_t> CollisionDetection::AngularBins::coverage_bits |
Packed coverage bits [theta][phi].
Definition at line 57 of file CollisionDetection.h.
| std::vector<float> CollisionDetection::AngularBins::depth_values |
Depth values for covered bins only.
Definition at line 58 of file CollisionDetection.h.
| int CollisionDetection::AngularBins::phi_divisions |
Number of polar divisions (from apex to cone edge)
Definition at line 53 of file CollisionDetection.h.
| int CollisionDetection::AngularBins::theta_divisions |
Number of azimuthal divisions (around cone axis)
Definition at line 52 of file CollisionDetection.h.