chrono::fsi::ParticleVelocityColorCallback Class Reference

Description

Predefined SPH coloring based on particle velocity.

#include <ChFsiVisualization.h>

Inheritance diagram for chrono::fsi::ParticleVelocityColorCallback:
Collaboration diagram for chrono::fsi::ParticleVelocityColorCallback:

Public Types

enum  Component { X, Y, Z, NORM }
 

Public Member Functions

 ParticleVelocityColorCallback (double vmin, double vmax, Component component=Component::NORM)
 
 ParticleVelocityColorCallback (const ChColor &base_color, double vmin, double vmax, Component component=Component::NORM)
 
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