ViennaLS
Loading...
Searching...
No Matches
viennals::MaterialMap Class Reference

#include <lsMaterialMap.hpp>

Public Member Functions

 MaterialMap ()=default
 
 MaterialMap (MaterialMap &)=default
 
 MaterialMap (MaterialMap &&)=default
 
void insertNextMaterial (const int passedMaterialId)
 
void setMaterialId (const std::size_t index, const int materialId)
 
std::size_t getNumberOfLayers () const
 
std::size_t getNumberOfMaterials () const
 
int getMaterialId (const std::size_t index) const
 

Constructor & Destructor Documentation

◆ MaterialMap() [1/3]

viennals::MaterialMap::MaterialMap ( )
default

◆ MaterialMap() [2/3]

viennals::MaterialMap::MaterialMap ( MaterialMap & )
default

◆ MaterialMap() [3/3]

viennals::MaterialMap::MaterialMap ( MaterialMap && )
default

Member Function Documentation

◆ getMaterialId()

int viennals::MaterialMap::getMaterialId ( const std::size_t index) const
inline

◆ getNumberOfLayers()

std::size_t viennals::MaterialMap::getNumberOfLayers ( ) const
inline

◆ getNumberOfMaterials()

std::size_t viennals::MaterialMap::getNumberOfMaterials ( ) const
inline

◆ insertNextMaterial()

void viennals::MaterialMap::insertNextMaterial ( const int passedMaterialId)
inline

◆ setMaterialId()

void viennals::MaterialMap::setMaterialId ( const std::size_t index,
const int materialId )
inline

The documentation for this class was generated from the following file: