|
|
A symmetric view frustum. More...
#include <ArmarXSimulation/components/FakeObjectDetector/VisibilityCheck.h>
Public Member Functions | |
| bool | contains (const Eigen::Vector3f &globalPoint) const |
| Whether a global point lies inside the frustum. | |
| Eigen::Vector3f | position () const |
| Eigen::Vector3f | toViewFrame (const Eigen::Vector3f &globalPoint) const |
| Express a global point in the camera's viewing frame. | |
Public Attributes | |
| Eigen::Matrix4f | cameraPose = Eigen::Matrix4f::Identity() |
| Camera -> global. | |
| Eigen::Vector3f | forwardLocal = Eigen::Vector3f::UnitZ() |
| Viewing axis in the camera's local frame. | |
| float | horizontalFov = 1.0F |
| Full opening angles [rad]. | |
| float | maxDistance = 1e6F |
| float | minDistance = 0.0F |
| Detection range along the viewing axis [mm]. | |
| Eigen::Vector3f | upLocal = -Eigen::Vector3f::UnitY() |
| Up axis in the camera's local frame. | |
| float | verticalFov = 1.0F |
A symmetric view frustum.
The camera looks along forwardLocal in its own frame. ArmarX/Simox render cameras (the *Sim robot nodes) look along +Z with +X pointing up, see VirtualRobot::CoinVisualizationFactory; the defaults reflect that.
Definition at line 77 of file VisibilityCheck.h.
| bool contains | ( | const Eigen::Vector3f & | globalPoint | ) | const |
Whether a global point lies inside the frustum.
Definition at line 102 of file VisibilityCheck.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Eigen::Vector3f position | ( | ) | const |
| Eigen::Vector3f toViewFrame | ( | const Eigen::Vector3f & | globalPoint | ) | const |
Express a global point in the camera's viewing frame.
Definition at line 88 of file VisibilityCheck.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Eigen::Matrix4f cameraPose = Eigen::Matrix4f::Identity() |
Camera -> global.
Definition at line 80 of file VisibilityCheck.h.
| Eigen::Vector3f forwardLocal = Eigen::Vector3f::UnitZ() |
Viewing axis in the camera's local frame.
Definition at line 91 of file VisibilityCheck.h.
| float horizontalFov = 1.0F |
Full opening angles [rad].
Definition at line 83 of file VisibilityCheck.h.
| float maxDistance = 1e6F |
Definition at line 88 of file VisibilityCheck.h.
| float minDistance = 0.0F |
Detection range along the viewing axis [mm].
Definition at line 87 of file VisibilityCheck.h.
| Eigen::Vector3f upLocal = -Eigen::Vector3f::UnitY() |
Up axis in the camera's local frame.
Definition at line 93 of file VisibilityCheck.h.
| float verticalFov = 1.0F |
Definition at line 84 of file VisibilityCheck.h.