|
bitsim
Model, simulate, estimate and control robots in C++
|
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(). | |
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.
| bitsim::utils::render::InsetCamera::InsetCamera | ( | chrono::irrlicht::ChVisualSystemIrrlicht & | vis, |
| real_t | fov, | ||
| int | width, | ||
| int | height, | ||
| const std::string & | label = "robot camera" ) |
| vis | The visual system, after Initialize() |
| fov | The vertical field of view [rad] |
| width | The width of the inset [pixels] |
| height | The height of the inset [pixels] |
| label | What to write under the inset |
| 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().