bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
wheel_odometry::InsetCamera Class Reference

A camera on a robot whose view is drawn in the top left corner of the window. It only shows the scene; mouse and keyboard still move the main camera. More...

#include <irrlicht_scene.h>

Public Member Functions

 InsetCamera (chrono::irrlicht::ChVisualSystemIrrlicht &vis, real_t fov, int width, int height, const std::string &label="robot camera")
void draw (const chrono::ChVector3d &eye, const chrono::ChVector3d &target)
 Render the scene into the corner, from eye looking at target, both in world coordinates. Call this between Render() and EndScene().

Detailed Description

A camera on a robot whose view is drawn in the top left corner of the window. It only shows the scene; mouse and keyboard still move the main camera.

Constructor & Destructor Documentation

◆ InsetCamera()

bitsim::utils::render::InsetCamera::InsetCamera ( chrono::irrlicht::ChVisualSystemIrrlicht & vis,
real_t fov,
int width,
int height,
const std::string & label = "robot camera" )
Parameters
visThe visual system, after Initialize()
fovThe vertical field of view [rad]
widthThe width of the inset [pixels]
heightThe height of the inset [pixels]
labelWhat to write under the inset

Member Function Documentation

◆ draw()

void bitsim::utils::render::InsetCamera::draw ( const chrono::ChVector3d & eye,
const chrono::ChVector3d & target )

Render the scene into the corner, from eye looking at target, both in world coordinates. Call this between Render() and EndScene().


The documentation for this class was generated from the following files: