scenario_simulator_v2 C++ API
|
#include <box.hpp>
Public Member Functions | |
Box (float depth, float width, float height, const geometry_msgs::msg::Pose &pose) | |
~Box ()=default | |
Public Member Functions inherited from simple_sensor_simulator::primitives::Primitive | |
Primitive (std::string type, const geometry_msgs::msg::Pose &pose) | |
virtual | ~Primitive ()=default |
unsigned int | addToScene (RTCDevice device, RTCScene scene) |
std::vector< Vertex > | getVertex () const |
std::vector< Triangle > | getTriangles () const |
std::vector< geometry_msgs::msg::Point > | get2DConvexHull () const |
std::vector< geometry_msgs::msg::Point > | get2DConvexHull (const geometry_msgs::msg::Pose &sensor_pose) const |
std::optional< double > | getMax (const math::geometry::Axis &axis) const |
std::optional< double > | getMin (const math::geometry::Axis &axis) const |
std::optional< double > | getMax (const math::geometry::Axis &axis, const geometry_msgs::msg::Pose &sensor_pose) const |
std::optional< double > | getMin (const math::geometry::Axis &axis, const geometry_msgs::msg::Pose &sensor_pose) const |
Public Attributes | |
const float | depth |
const float | width |
const float | height |
Public Attributes inherited from simple_sensor_simulator::primitives::Primitive | |
const std::string | type |
const geometry_msgs::msg::Pose | pose |
Additional Inherited Members | |
Protected Member Functions inherited from simple_sensor_simulator::primitives::Primitive | |
std::vector< Vertex > | transform () const |
std::vector< Vertex > | transform (const geometry_msgs::msg::Pose &sensor_pose) const |
Protected Attributes inherited from simple_sensor_simulator::primitives::Primitive | |
std::vector< Vertex > | vertices_ |
std::vector< Triangle > | triangles_ |
|
explicit |
|
default |
const float simple_sensor_simulator::primitives::Box::depth |
const float simple_sensor_simulator::primitives::Box::height |
const float simple_sensor_simulator::primitives::Box::width |