chrono::vehicle::ChChassisContactCallback Class Referenceabstract

Description

Callback class for specifying chassis contact geometry.

#include <ChWheeledVehicleAssembly.h>

Public Member Functions

virtual void onCallback (std::shared_ptr< ChBodyAuxRef > chassisBody)=0
 Callback function for attaching contact to the vehicle chassis body. More...
 

Member Function Documentation

virtual void chrono::vehicle::ChChassisContactCallback::onCallback ( std::shared_ptr< ChBodyAuxRef chassisBody)
pure virtual

Callback function for attaching contact to the vehicle chassis body.

A derived class must implement the function onCallback() which must append the contact shape(s) to the provided chassis body. Optionally, this function can first change the collision model type for the provided chassis body (consistent with the system type).

Parameters
chassisBodyPointer to the chassis body