chrono::dem::ParticleHeightColorCallback Class Reference

Description

Predefined particle coloring based on particle height.

#include <ChDemVisualizationVSG.h>

Inheritance diagram for chrono::dem::ParticleHeightColorCallback:
Collaboration diagram for chrono::dem::ParticleHeightColorCallback:

Public Member Functions

 ParticleHeightColorCallback (double hmin, double hmax, const ChVector3d &up=ChVector3d(0, 0, 1))
 
virtual std::string GetTile () const override
 
virtual ChVector2d GetDataRange () const override
 
virtual ChColor GetColor (unsigned int n) const override
 
- Public Member Functions inherited from chrono::dem::ChDemVisualizationVSG::ParticleColorCallback
virtual bool IsBimodal () const
 

Additional Inherited Members

- Public Attributes inherited from chrono::dem::ChDemVisualizationVSG::ParticleColorCallback
ChDemVisualizationVSGm_vsys
 
ChVector3fpos
 
ChVector3fvel
 

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