Magnum/DartIntegration/ConvertShapeNode.h file

Struct Magnum::DartIntegration::ShapeData, function Magnum::DartIntegration::convertShapeNode()

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::DartIntegration
Integration with DART Dynamic Animation and Robotics Toolkit.

Classes

struct Magnum::DartIntegration::ShapeData
Shape data.

Enums

enum class ConvertShapeType: UnsignedInt { Material = 1 << 0, Primitive = 1 << 1, Mesh = 1 << 2, All = Material|Primitive|Mesh }
Shape convert type.

Typedefs

using ConvertShapeTypes = Containers::EnumSet<ConvertShapeType>
Shape convert types.

Functions

auto convertShapeNode(dart::dynamics::ShapeNode& shapeNode, ConvertShapeTypes convertTypes, Trade::AbstractImporter* importer = nullptr) -> Containers::Optional<ShapeData>
Convert dart::dynamics::ShapeNode to meshes and material data.