chrono::synchrono::SynRigidTerrain Class Reference
Description
Class that wraps and synchronizes rigid terrain between Chrono Systems.
#include <SynRigidTerrain.h>
Inheritance diagram for chrono::synchrono::SynRigidTerrain:
Collaboration diagram for chrono::synchrono::SynRigidTerrain:
Public Member Functions | |
SynRigidTerrain (std::shared_ptr< vehicle::RigidTerrain > terrain=nullptr) | |
SynRigidTerrain (ChSystem *system, const std::string &filename) | |
virtual void | ProcessMessage (SynMessage *message) override |
Processes incoming message - nothing to be synced for rigid terrain. | |
virtual void | GenerateMessagesToSend (std::vector< SynMessage * > &messages, int rank) override |
Generate outgoing message - nothing to be synced for rigid terrain. | |
void | SetTerrain (std::shared_ptr< vehicle::RigidTerrain > terrain) |
Set the terrain. | |
virtual std::shared_ptr< vehicle::ChTerrain > | GetTerrain () override |
Get the terrain. | |
std::shared_ptr< vehicle::RigidTerrain > | GetRigidTerrain () |
Public Member Functions inherited from chrono::synchrono::SynTerrain | |
virtual void | Advance (double step) |
Update the state of the terrain system at the specified time. | |
virtual void | Synchronize (double time) |
Advance the state of the terrain system by the specified duration. | |
double | GetHeight (const ChVector<> &loc) |
Get the terrain height below the specified location. | |
Additional Inherited Members | |
Static Public Member Functions inherited from chrono::synchrono::SynTerrain | |
static rapidjson::Document | ParseTerrainFileJSON (const std::string &filename) |
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_synchrono/terrain/SynRigidTerrain.h
- /builds/uwsbel/chrono/src/chrono_synchrono/terrain/SynRigidTerrain.cpp