|
spatial-dyn
|
#include <graphics.h>
Public Types | |
| enum class | Type { kUndefined , kBox , kCapsule , kCylinder , kSphere , kMesh } |
Public Attributes | |
| Type | type = Type::kUndefined |
| Eigen::Vector3d | scale = Eigen::Vector3d::Ones() |
| double | radius = 0 |
| double | length = 0 |
| std::string | mesh |
Graphics geometry struct.
|
strong |
| double spatial_dyn::Graphics::Geometry::length = 0 |
Type::kCapsule or Type::kCylinder length.
| std::string spatial_dyn::Graphics::Geometry::mesh |
Type::kMesh filename.
| double spatial_dyn::Graphics::Geometry::radius = 0 |
Type::kCapsule or Type::kCylinder or Type::kSphere radius.
| Eigen::Vector3d spatial_dyn::Graphics::Geometry::scale = Eigen::Vector3d::Ones() |
Type::kBox size or Type::kMesh scale.
| Type spatial_dyn::Graphics::Geometry::type = Type::kUndefined |
Geometry type.