opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
simbody_decoration_generator.h
Go to the documentation of this file.
1#pragma once
2
3#include <functional>
4
5namespace osc { class SceneCache; }
6namespace osc { struct SceneDecoration; }
7namespace SimTK { class DecorativeGeometry; }
8namespace SimTK { class SimbodyMatterSubsystem; }
9namespace SimTK { class State; }
10
11namespace opyn
12{
13 // generates `SceneDecoration`s for the given `SimTK::DecorativeGeometry`
14 // and passes them to the output consumer
17 const SimTK::SimbodyMatterSubsystem&,
18 const SimTK::State&,
19 const SimTK::DecorativeGeometry&,
20 float fixupScaleFactor,
21 const std::function<void(osc::SceneDecoration&&)>& out
22 );
23}
Definition scene_cache.h:25
Definition custom_decoration_generator.h:6
Definition component_registry.h:14
void GenerateDecorations(osc::SceneCache &, const ModelStatePair &, const OpenSimDecorationOptions &, const std::function< void(const OpenSim::Component &, osc::SceneDecoration &&)> &out)
Definition custom_decoration_generator.h:5
Definition scene_decoration.h:15