|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHirrAppInterface.h>

Public Member Functions | |
| ChIrrAppInterface (chrono::ChSystem *mysystem, const wchar_t *title, core::dimension2d< s32 > dimens=core::dimension2d< s32 >(640, 480), bool do_fullscreen=false, bool do_shadows=false) | |
| ~ChIrrAppInterface () | |
| IrrlichtDevice * | GetDevice () |
| IVideoDriver * | GetVideoDriver () |
| ISceneManager * | GetSceneManager () |
| IGUIEnvironment * | GetIGUIEnvironment () |
| chrono::ChSystem * | GetSystem () |
| bool | GetShowInfos () |
| void | SetShowInfos (bool val) |
| void | SetUserEventReceiver (irr::IEventReceiver *mreceiver) |
| void | DrawAll () |
Public Attributes | |
|
chrono::ChSharedPtr < chrono::ChLinkSpring > * | selectedspring |
| chrono::ChSharedBodyPtr * | selectedtruss |
| chrono::ChSharedBodyPtr * | selectedmover |
| chrono::ChVector | selectedpoint |
| double | selecteddist |
| irr::ChIrrAppInterface::ChIrrAppInterface | ( | chrono::ChSystem * | mysystem, | |
| const wchar_t * | title, | |||
| core::dimension2d< s32 > | dimens = core::dimension2d<s32>(640,480), |
|||
| bool | do_fullscreen = false, |
|||
| bool | do_shadows = false | |||
| ) |
Create the IRRLICHT context (device, etc.).
| irr::ChIrrAppInterface::~ChIrrAppInterface | ( | ) |
This safely delete every Irrlicht item (including the scene nodes, so also the encapsulated Chrono bodies will be deleted)
| void irr::ChIrrAppInterface::DrawAll | ( | ) |
Call this important function inside a cycle like while(ChirrAppInterface->GetDevice()->run()) {...} in order to get the redrawing of all 3D shapes and all the GUI elements
CHRONO::ENGINE