Description

Classes for adding user data (such as rendering shapes, reference to files) to ChPhysicsItem objects.

#include <ChAsset.h>

Inheritance diagram for chrono::ChAsset:

Public Member Functions

virtual void Update (ChPhysicsItem *updater, const ChCoordsys<> &coords)
 This is called by the owner, i.e. More...
 
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.
 

Member Function Documentation

◆ Update()

virtual void chrono::ChAsset::Update ( ChPhysicsItem updater,
const ChCoordsys<> &  coords 
)
inlinevirtual

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 in chrono::ChRotSpringShape, chrono::ChAssetLevel, chrono::ChEmitterAsset, chrono::ChPointPointDrawing, chrono::fea::ChVisualizationFEAmesh, and chrono::irrlicht::ChIrrNodeAsset.


The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/assets/ChAsset.h
  • /builds/uwsbel/chrono/src/chrono/assets/ChAsset.cpp