You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
562 B
C++
30 lines
562 B
C++
#include "FITKAbstractMaterial.h"
|
|
|
|
Interface::FITKAbstractMaterial::FITKAbstractMaterial()
|
|
{
|
|
//构造
|
|
static int ABSMATERALID = 0;
|
|
_materialID = ++ABSMATERALID;
|
|
}
|
|
|
|
Interface::FITKAbstractMaterial::~FITKAbstractMaterial()
|
|
{
|
|
//析构
|
|
}
|
|
|
|
int Interface::FITKAbstractMaterial::getMaterialID() const
|
|
{
|
|
//返回材料ID
|
|
return _materialID;
|
|
}
|
|
|
|
QString Interface::FITKAbstractMaterial::getMaterialDescribe() const
|
|
{
|
|
return _describe;
|
|
}
|
|
|
|
void Interface::FITKAbstractMaterial::setMaterialDescribe(const QString& des)
|
|
{
|
|
_describe = des;
|
|
}
|