chrono::postprocess::ChPostProcessBase Class Referenceabstract

Description

Base class for post processing implementations.

#include <ChPostProcessBase.h>

Inheritance diagram for chrono::postprocess::ChPostProcessBase:
Collaboration diagram for chrono::postprocess::ChPostProcessBase:

Public Member Functions

 ChPostProcessBase (ChSystem *system)
 
virtual void SetSystem (ChSystem *system)
 
virtual ChSystemGetSystem ()
 
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

ChSystemmSystem
 

Member Function Documentation

◆ ExportData()

virtual void chrono::postprocess::ChPostProcessBase::ExportData ( const std::string &  filename)
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::ChBlender, and chrono::postprocess::ChPovRay.

◆ ExportScript()

virtual void chrono::postprocess::ChPostProcessBase::ExportScript ( const std::string &  filename)
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::ChBlender, and chrono::postprocess::ChPovRay.


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