chrono::vsg3d::ChGuiComponentVSG Class Referenceabstract

Description

Base class for a GUI component for the VSG run-time visualization system.

#include <ChGuiComponentVSG.h>

Inherited by chrono::fsi::sph::FSIStatsVSG, chrono::vehicle::ChSTRGuiComponentVSG, chrono::vehicle::ChTTRGuiComponentVSG, chrono::vehicle::ChVehicleGuiComponentVSG, chrono::vsg3d::ChBaseGuiComponentVSG, chrono::vsg3d::ChCameraGuiComponentVSG, and chrono::vsg3d::ChColorbarGuiComponentVSG.

Public Member Functions

virtual void render ()=0
 Specify the ImGui elements to be rendered for this GUI component.
 
void SetVisibility (bool visible)
 Set visibility for this GUI component.
 
void ToggleVisibility ()
 Toggle GUI visibility for this GUI component.
 
bool IsVisible () const
 Return boolean indicating whether or not this GUI component visible.
 

Static Public Member Functions

static void DrawGauge (float val, float v_min, float v_max)
 Utility function to draw a gauge.
 

Protected Attributes

bool m_visible
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_vsg/ChGuiComponentVSG.h