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.
|
|
|
|
#include "FITKAbstractModel.h"
|
|
|
|
|
|
|
|
|
|
namespace Interface
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
FITKAbstractModel::~FITKAbstractModel()
|
|
|
|
|
{
|
|
|
|
|
//构造函数,无实际意义
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FITKModelEnum::AbsModelType FITKAbstractModel::getAbsModelType()
|
|
|
|
|
{
|
|
|
|
|
// 返回错误值
|
|
|
|
|
return FITKModelEnum::AbsModelType::AMTNone;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Interface::FITKComponentManager* FITKAbstractModel::getComponentManager()
|
|
|
|
|
{
|
|
|
|
|
return nullptr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool FITKAbstractModel::writeToFile(const QString & file)
|
|
|
|
|
{
|
|
|
|
|
// 返回错误值
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Interface::FITKModelEnum::FITKModelDim FITKAbstractModel::getModelDim()
|
|
|
|
|
{
|
|
|
|
|
return FITKModelEnum::FMDNone;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool FITKAbstractModel::getPointCoor(int pointID, double* coor, int modelIndex /*= 0*/)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void FITKAbstractModel::CopyArray(double* from, double* to, int dim)
|
|
|
|
|
{
|
|
|
|
|
for (int i = 0; i < dim; ++i)
|
|
|
|
|
to[i] = from[i];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|