Run-time visualization

Description

Collaboration diagram for Run-time visualization:

Classes

class  chrono::vehicle::ChVehicleVisualSystemIrrlicht
 custom event receiver for chase-cam control More...
 
class  chrono::vehicle::ChVehicleVisualSystemOpenGL
 OpenGL-based Chrono run-time visualization system. 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.
 
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::ChVehicleVisualSystemOpenGL::ChVehicleVisualSystemOpenGL ()
 Construct a vehicle OpenGL visualization system.
 
virtual void chrono::vehicle::ChVehicleVisualSystemOpenGL::Initialize () override
 Initialize the visualization system.
 
virtual void chrono::vehicle::ChVehicleVisualSystemOpenGL::Advance (double step) override
 Advance the dynamics of the chase camera. More...
 
 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
 
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
 
bool chrono::vehicle::ChVehicleVisualSystemVSG::m_vsg_initialized = false
 
ChInteractiveDriverVSGchrono::vehicle::ChVehicleVisualSystemVSG::m_driver
 

Friends

class chrono::vehicle::ChVehicleVisualSystemIrrlicht::ChChaseCameraEventReceiver
 
class chrono::vehicle::ChVehicleVisualSystemIrrlicht::ChInteractiveDriverIRR
 
class chrono::vehicle::ChVehicleVisualSystemIrrlicht::ChSuspensionTestRigInteractiveDriverIRR
 
class chrono::vehicle::ChVehicleVisualSystemOpenGL::ChVehicleKeyboardHandlerOpenGL
 
class chrono::vehicle::ChVehicleVisualSystemVSG::ChInteractiveDriverVSG
 
class chrono::vehicle::ChVehicleVisualSystemVSG::ChVehicleGuiComponentVSG
 
class chrono::vehicle::ChVehicleVisualSystemVSG::ChVehicleKeyboardHandlerVSG
 

Function Documentation

◆ Advance() [1/3]

void chrono::vehicle::ChVehicleVisualSystemVSG::Advance ( double  step)
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/3]

void chrono::vehicle::ChVehicleVisualSystemOpenGL::Advance ( double  step)
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() [3/3]

void chrono::vehicle::ChVehicleVisualSystemIrrlicht::Advance ( double  step)
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.