chrono::ChVisualMaterial Class Reference

Description

Class for setting a color (used by ChVisualization)

#include <ChVisualMaterial.h>

Inheritance diagram for chrono::ChVisualMaterial:
Collaboration diagram for chrono::ChVisualMaterial:

Public Member Functions

 ChVisualMaterial ()
 Constructors.
 
void SetAmbientColor (ChVector< float > rgb)
 Setting function.
 
void SetDiffuseColor (ChVector< float > rgb)
 
void SetSpecularColor (ChVector< float > rgb)
 
void SetSpecularExponent (float exponent)
 
void SetTransparency (float tr)
 
void SetKdTexture (std::string filename)
 
void SetNormalMapTexture (std::string filename)
 
void SetFresnelExp (float exp)
 
void SetFresnelMax (float max)
 
void SetFresnelMin (float min)
 
void SetRoughness (float r)
 
ChVector< float > GetAmbientColor ()
 
ChVector< float > GetDiffuseColor ()
 
ChVector< float > GetSpecularColor ()
 
float GetSpecularExponent ()
 
float GetTransparency ()
 
std::string GetKdTexture ()
 
std::string GetNormalMapTexture ()
 
float GetFresnelExp ()
 
float GetFresnelMax ()
 
float GetFresnelMin ()
 
float GetRoughness ()
 
- Public Member Functions inherited from chrono::ChAsset
virtual void Update (ChPhysicsItem *updater, const ChCoordsys<> &coords)
 This is called by the owner, i.e. More...
 
virtual void ArchiveOUT (ChArchiveOut &marchive)
 Method to allow serialization of transient data to archives.
 
virtual void ArchiveIN (ChArchiveIn &marchive)
 Method to allow de serialization of transient data from archives.
 

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