chrono::fsi::ParticleHeightColorCallback Class Reference

Description

Predefined SPH coloring based on particle height.

#include <ChFsiVisualization.h>

Inheritance diagram for chrono::fsi::ParticleHeightColorCallback:
Collaboration diagram for chrono::fsi::ParticleHeightColorCallback:

Public Member Functions

 ParticleHeightColorCallback (double hmin, double hmax, const ChVector3d &up=ChVector3d(0, 0, 1))
 
 ParticleHeightColorCallback (const ChColor &base_color, double hmin, double hmax, const ChVector3d &up=ChVector3d(0, 0, 1))
 
virtual ChColor get (unsigned int n) const override
 

Additional Inherited Members

- Public Attributes inherited from chrono::fsi::ChFsiVisualization::ParticleColorCallback
sph::Real3 * pos
 
sph::Real3 * vel
 
sph::Real3 * prop
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_fsi/sph/visualization/ChFsiVisualization.h