bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
irrlicht_scene.cpp File Reference
#include "bitsim/utils/render/irrlicht_scene.h"
#include "bitsim/utils/render/irrlicht_utils.h"
#include <chrono/assets/ChVisualShapeTriangleMesh.h>
#include <chrono/geometry/ChTriangleMeshConnected.h>
#include <cmath>
#include <filesystem>
#include <iomanip>
#include <sstream>
Include dependency graph for irrlicht_scene.cpp:

Namespaces

namespace  bitsim
namespace  bitsim::utils
namespace  bitsim::utils::render

Functions

void bitsim::utils::render::add_floor_texture (chrono::ChBody &ground, real_t width, real_t height, real_t z, const std::string &texture)
 Put a picture on the ground: a rectangle of width x height [m] centred on the origin of the world, at height z, with the texture on it. The top left corner of the picture is the corner with the smallest x and the largest y, as for sensors::FloorImage.
void bitsim::utils::render::draw_status_bar (chrono::irrlicht::ChVisualSystemIrrlicht &vis, const std::string &text)
 Write text on a light bar along the bottom of the window. Call this between Render() and EndScene().