scenario_simulator_v2 C++ API
Public Member Functions | Public Attributes | List of all members
simple_sensor_simulator::primitives::Box Class Reference

#include <box.hpp>

Inheritance diagram for simple_sensor_simulator::primitives::Box:
Inheritance graph
[legend]
Collaboration diagram for simple_sensor_simulator::primitives::Box:
Collaboration graph
[legend]

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< VertexgetVertex () const
 
std::vector< TrianglegetTriangles () 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< Vertextransform () const
 
std::vector< Vertextransform (const geometry_msgs::msg::Pose &sensor_pose) const
 
- Protected Attributes inherited from simple_sensor_simulator::primitives::Primitive
std::vector< Vertexvertices_
 
std::vector< Triangletriangles_
 

Constructor & Destructor Documentation

◆ Box()

simple_sensor_simulator::primitives::Box::Box ( float  depth,
float  width,
float  height,
const geometry_msgs::msg::Pose &  pose 
)
explicit

◆ ~Box()

simple_sensor_simulator::primitives::Box::~Box ( )
default

Member Data Documentation

◆ depth

const float simple_sensor_simulator::primitives::Box::depth

◆ height

const float simple_sensor_simulator::primitives::Box::height

◆ width

const float simple_sensor_simulator::primitives::Box::width

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