candlewick 0.1.0
A renderer
Loading...
Searching...
No Matches
LoadPinocchioGeometry.h
Go to the documentation of this file.
1#pragma once
2
3#include "Multibody.h"
4#include "../utils/MeshData.h"
5
6#include <pinocchio/multibody/geometry-object.hpp>
7
8namespace candlewick::multibody {
9
12void loadGeometryObject(const pin::GeometryObject &gobj,
13 std::vector<MeshData> &meshData);
14
15inline std::vector<MeshData>
16loadGeometryObject(const pin::GeometryObject &gobj) {
17 std::vector<MeshData> meshData;
18 loadGeometryObject(gobj, meshData);
19 return meshData;
20}
21
22} // namespace candlewick::multibody
Support for the Pinocchio rigid-body algorithms library and the Coal collision detection library.
Definition Components.h:5
void loadGeometryObject(const pin::GeometryObject &gobj, std::vector< MeshData > &meshData)
Load an invidual Pinocchio GeometryObject's component geometries into an array of MeshData.