chrono::ChParticleCloud::ColorCallback Class Referenceabstract

Description

Class to be used as a callback interface for dynamic coloring of particles in a cloud.

#include <ChParticleCloud.h>

Inheritance diagram for chrono::ChParticleCloud::ColorCallback:

Public Member Functions

virtual ChColor get (unsigned int n, const ChParticleCloud &cloud) const =0
 Return the color for the given particle.
 

Member Function Documentation

◆ get()

virtual ChColor chrono::ChParticleCloud::ColorCallback::get ( unsigned int n,
const ChParticleCloud & cloud ) const
pure virtual

Return the color for the given particle.

Implemented in chrono::HeightColorCallback.


The documentation for this class was generated from the following file:
  • C:/M/B/src/chrono-9.0.1/src/chrono/physics/ChParticleCloud.h