Description
Base class for post processing implementations.
#include <ChPostProcessBase.h>
Public Member Functions | |
ChPostProcessBase (ChSystem *system) | |
virtual void | SetSystem (ChSystem *system) |
virtual ChSystem * | GetSystem () |
virtual void | ExportScript (const std::string &filename)=0 |
This function is used to export the script that will be used (by POV, by Matlab or other scripted tools) to process all the exported data. More... | |
virtual void | ExportData (const std::string &filename)=0 |
This function is used at each timestep to export data formatted in a way that it can be load with the processing script. More... | |
Protected Attributes | |
ChSystem * | mSystem |
Member Function Documentation
◆ ExportData()
|
pure virtual |
This function is used at each timestep to export data formatted in a way that it can be load with the processing script.
The user should call this function in the while() loop of the simulation, once per frame. (Must be implemented by children classes)
Implemented in chrono::postprocess::ChPovRay.
◆ ExportScript()
|
pure virtual |
This function is used to export the script that will be used (by POV, by Matlab or other scripted tools) to process all the exported data.
(Must be implemented by children classes)
Implemented in chrono::postprocess::ChPovRay.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_postprocess/ChPostProcessBase.h