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.
AppFlow/CFDStruct/CFDStructDataManager/CFDStructDataSolverSportsAt...

76 lines
1.9 KiB
C

/**
*/
#ifndef CFDSTRUCTDATASOLVERSPORTSATTRIBUTESMANAGER_H
#define CFDSTRUCTDATASOLVERSPORTSATTRIBUTESMANAGER_H
#include <CFDStructDataManagerBase.h>
#include "CFDStructDataManager_global.h"
class CUIConfig;
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverSportsAttributesItemManager : public CFDStructDataManagerBase
{
Q_OBJECT
public:
explicit CFDStructDataSolverSportsAttributesItemManager(QObject *parent = nullptr);
~CFDStructDataSolverSportsAttributesItemManager();
CUIConfig* getParamUIConfig();
private:
// 生成运动坐标系的界面配置
CUIConfig* genMovingFrameModeUIConfig();
// 生成刚体的界面配置
CUIConfig* genRigidBodyModeUIConfig();
signals:
private:
// 运动名称
QString m_MotionName; // Motion Name
// 运动类型
int m_MotionType; // Motion Type
// 运动方式
QString m_MotionMode; // Motion Mode
// 转轴原点
QString m_RotationAxisOrigin; // Rotation Axis Origin
// 转轴方向
QString m_RotationAxisDirection; // Rotation Axis Direction
// 转速
double m_RotationSpeed; // Rotation Speed in rpm
};
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverSportsAttributesManager : public CFDStructDataManagerBase
{
Q_OBJECT
public:
explicit CFDStructDataSolverSportsAttributesManager(QObject *parent = nullptr);
~CFDStructDataSolverSportsAttributesManager();
CUIConfig* getParamUIConfig();
private:
// // 生成运动坐标系的界面配置
// CUIConfig* genMovingFrameModeUIConfig();
// // 生成刚体的界面配置
// CUIConfig* genRigidBodyModeUIConfig();
virtual void addNewSportAttributesItem();
virtual void deleteSportAttributesItem(int index);
signals:
private:
QVector<CFDStructDataSolverSportsAttributesItemManager*> m_itemList;
};
#endif // CFDSTRUCTDATASOLVERSPORTSATTRIBUTESMANAGER_H