chrono::irrlicht::ChIrrNodeAsset Class Reference


Class for adding Irrlicht visualization to a ChPhysicsItem.

This must be added as an 'asset' to the item (ex., a ChBody).

#include <ChIrrNodeAsset.h>

Inheritance diagram for chrono::irrlicht::ChIrrNodeAsset:
Collaboration diagram for chrono::irrlicht::ChIrrNodeAsset:

Public Member Functions

irr::scene::ISceneNode * GetIrrlichtNode ()
void Bind (std::shared_ptr< ChPhysicsItem > aitem, ChIrrAppInterface &aapp)
void UnBind ()
virtual void Update (ChPhysicsItem *updater, const ChCoordsys<> &coords)
 This is called by the owner, i.e. More...
- Public Member Functions inherited from chrono::ChAsset
virtual void ArchiveOUT (ChArchiveOut &marchive)
 Method to allow serialization of transient data to archives.
virtual void ArchiveIN (ChArchiveIn &marchive)
 Method to allow de serialization of transient data from archives.

Protected Attributes


Member Function Documentation

◆ Update()

virtual void chrono::irrlicht::ChIrrNodeAsset::Update ( ChPhysicsItem updater,
const ChCoordsys<> &  coords 

This is called by the owner, i.e.

a ChPhysicsItem. Note that the ChAssets can be shared between owners, so an asset might receive different updates from different 'updater's each with different 'coords'.

Reimplemented from chrono::ChAsset.

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