Run-time visualization
Description
Collaboration diagram for Run-time visualization:

Classes | |
class | chrono::vehicle::ChVehicleVisualSystemIrrlicht |
Customized Chrono Irrlicht visualization for vehicle simulations. More... | |
class | chrono::vehicle::ChVehicleVisualSystemVSG |
VSG-based Chrono run-time visualization system. More... | |
class | chrono::vehicle::ChTrackedVehicleVisualSystemIrrlicht |
Customized Chrono Irrlicht visualization system for tracked vehicle simulation. More... | |
class | chrono::vehicle::ChTrackedVehicleVisualSystemVSG |
Customized Chrono::VSG visualization system for tracked vehicle simulation. More... | |
class | chrono::vehicle::ChWheeledVehicleVisualSystemIrrlicht |
Customized Chrono Irrlicht visualization system for wheeled vehicle simulation. More... | |
class | chrono::vehicle::ChWheeledVehicleVisualSystemVSG |
Customized Chrono::VSG visualization system for wheeled vehicle simulation. More... | |
Functions | |
chrono::vehicle::ChVehicleVisualSystemIrrlicht::ChVehicleVisualSystemIrrlicht () | |
Construct a vehicle Irrlicht visualization system. | |
void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::SetJoystickConfigFile (const std::string &filename) |
Set joystick JSON configuration file name. | |
void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::SetJoystickDebug (bool val) |
Enable/disable joystick debugging output (default: false). | |
void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::SetButtonCallback (int button, void(*cbfun)()) |
Feed button number and callback function to implement a custom callback. | |
virtual void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::AttachVehicle (vehicle::ChVehicle *vehicle) override |
Attach a vehicle to this Irrlicht vehicle visualization system. | |
void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::SetHUDLocation (int HUD_x, int HUD_y) |
Set the upper-left point of HUD elements. | |
void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::EnableStats (bool val) |
Turn on/off rendering of stats (HUD). | |
void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::EnableSound (bool sound) |
Turn on/off Irrklang sound generation. More... | |
virtual void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::Initialize () override |
Initialize the visualization system. | |
virtual void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::Render () override |
Render the Irrlicht scene and additional visual elements. | |
virtual void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::Advance (double step) override |
Advance the dynamics of the chase camera. More... | |
virtual void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::renderOtherGraphics () |
Render additional graphics. | |
virtual void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::renderOtherStats (int left, int top) |
Render additional vehicle information. | |
void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::renderLinGauge (const std::string &msg, double factor, bool sym, int xpos, int ypos, int length=120, int height=15) |
void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::renderTextBox (const std::string &msg, int xpos, int ypos, int length=120, int height=15, irr::video::SColor color=irr::video::SColor(255, 20, 20, 20)) |
void | chrono::vehicle::ChVehicleVisualSystemIrrlicht::renderStats () |
chrono::vehicle::ChVehicleVisualSystemVSG::ChVehicleVisualSystemVSG () | |
Construct a vehicle VSG visualization system. | |
virtual void | chrono::vehicle::ChVehicleVisualSystemVSG::Initialize () override |
Initialize the visualization system. | |
virtual void | chrono::vehicle::ChVehicleVisualSystemVSG::Advance (double step) override |
Advance the dynamics of the chase camera. More... | |
virtual void | chrono::vehicle::ChVehicleVisualSystemVSG::AppendGUIStats () |
Variables | |
ChChaseCameraEventReceiver * | chrono::vehicle::ChVehicleVisualSystemIrrlicht::m_camera_control |
event receiver for chase-cam control | |
ChVehicleEventReceiver * | chrono::vehicle::ChVehicleVisualSystemIrrlicht::m_vehicle_control |
event receiver for vehicle control | |
ChJoystickIRR * | chrono::vehicle::ChVehicleVisualSystemIrrlicht::m_joystick |
joystick setup | |
bool | chrono::vehicle::ChVehicleVisualSystemIrrlicht::m_renderStats |
turn on/off rendering of stats | |
int | chrono::vehicle::ChVehicleVisualSystemIrrlicht::m_HUD_x |
x-coordinate of upper-left corner of HUD elements | |
int | chrono::vehicle::ChVehicleVisualSystemIrrlicht::m_HUD_y |
y-coordinate of upper-left corner of HUD elements | |
Function Documentation
◆ Advance() [1/2]
|
overridevirtual |
Advance the dynamics of the chase camera.
The integration of the underlying ODEs is performed using as many steps as needed to advance by the specified duration.
◆ Advance() [2/2]
|
overridevirtual |
Advance the dynamics of the chase camera.
The integration of the underlying ODEs is performed using as many steps as needed to advance by the specified duration.
◆ EnableSound()
void chrono::vehicle::ChVehicleVisualSystemIrrlicht::EnableSound | ( | bool | sound | ) |
Turn on/off Irrklang sound generation.
Note that this has an effect only if Irrklang support was enabled at configuration.