opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Namespaces | Functions
open_sim_graphics_helpers.h File Reference
#include <liboscar/graphics/anti_aliasing_level.h>
#include <liboscar/graphics/scene/scene_collision.h>
#include <liboscar/graphics/scene/scene_renderer_params.h>
#include <liboscar/maths/rect.h>
#include <liboscar/maths/vector.h>
#include <functional>
#include <optional>
#include <span>
Include dependency graph for open_sim_graphics_helpers.h:

Go to the source code of this file.

Namespaces

namespace  OpenSim
 
namespace  opyn
 
namespace  osc
 

Functions

osc::SceneRendererParams opyn::CalcSceneRendererParams (const ModelRendererParams &, osc::Vector2 viewportDims, float viewportDevicePixelRatio, osc::AntiAliasingLevel, float fixupScaleFactor)
 
void opyn::GenerateDecorations (osc::SceneCache &, const ModelStatePair &, const OpenSimDecorationOptions &, const std::function< void(const OpenSim::Component &, osc::SceneDecoration &&)> &out)
 
std::optional< osc::SceneCollisionopyn::GetClosestCollision (const osc::BVH &sceneBVH, osc::SceneCache &, std::span< const osc::SceneDecoration > taggedDrawlist, const osc::PolarPerspectiveCamera &, osc::Vector2 mouseScreenPosition, const osc::Rect &viewportScreenRect)