#include <MaterialTable.h>
|
| MaterialTable () |
|
virtual | ~MaterialTable () |
|
| MaterialTable (const MaterialTable &org) |
| The constructor to do shallow copy. More...
|
|
| MaterialTable (const MaterialTable &org, CloneMap &cloneMap, ContactMaterialCopyFactory factory=nullptr) |
| The constructor to do deep copy with a custom ContactMaterial type. More...
|
|
void | clear () |
|
int | maxMaterialId () const |
|
int | numMaterials () const |
|
Material * | material (int id) const |
|
int | numContactMaterials () const |
|
ContactMaterial * | contactMaterial (int id1, int id2) const |
|
ContactMaterial * | contactMaterial (const std::string &name1, const std::string &name2) const |
|
void | forEachMaterial (std::function< void(int id, Material *material)> func) |
|
void | forEachMaterialPair (std::function< void(int id1, int id2, ContactMaterial *cm)> func) |
|
int | addMaterial (Material *material) |
|
void | setContactMaterial (int id1, int id2, ContactMaterial *cm) |
|
void | merge (MaterialTable *table) |
|
bool | load (const std::string &filename, std::ostream &os=nullout()) |
|
virtual | ~Referenced () |
|
◆ ContactMaterialCopyFactory
◆ MaterialTable() [1/3]
MaterialTable::MaterialTable |
( |
| ) |
|
◆ ~MaterialTable()
MaterialTable::~MaterialTable |
( |
| ) |
|
|
virtual |
◆ MaterialTable() [2/3]
The constructor to do shallow copy.
◆ MaterialTable() [3/3]
◆ addMaterial()
int MaterialTable::addMaterial |
( |
Material * |
material | ) |
|
◆ clear()
void MaterialTable::clear |
( |
| ) |
|
◆ contactMaterial() [1/2]
ContactMaterial * MaterialTable::contactMaterial |
( |
const std::string & |
name1, |
|
|
const std::string & |
name2 |
|
) |
| const |
◆ contactMaterial() [2/2]
ContactMaterial * MaterialTable::contactMaterial |
( |
int |
id1, |
|
|
int |
id2 |
|
) |
| const |
◆ forEachMaterial()
void MaterialTable::forEachMaterial |
( |
std::function< void(int id, Material *material)> |
func | ) |
|
◆ forEachMaterialPair()
void MaterialTable::forEachMaterialPair |
( |
std::function< void(int id1, int id2, ContactMaterial *cm)> |
func | ) |
|
◆ load()
bool MaterialTable::load |
( |
const std::string & |
filename, |
|
|
std::ostream & |
os = nullout() |
|
) |
| |
◆ material()
Material * MaterialTable::material |
( |
int |
id | ) |
const |
◆ maxMaterialId()
int MaterialTable::maxMaterialId |
( |
| ) |
const |
◆ merge()
◆ numContactMaterials()
int MaterialTable::numContactMaterials |
( |
| ) |
const |
◆ numMaterials()
int MaterialTable::numMaterials |
( |
| ) |
const |
◆ setContactMaterial()
void MaterialTable::setContactMaterial |
( |
int |
id1, |
|
|
int |
id2, |
|
|
ContactMaterial * |
cm |
|
) |
| |
The documentation for this class was generated from the following files: