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/FITK_Interface/FITKInterfaceGeometry/FITKAbsGeoModelOperCompound.h

98 lines
2.9 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*****************************************************************//**
* @file FITKAbsGeoModelOperCompound.h
* @brief 复合体操作抽象类。
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*********************************************************************/
#ifndef FITKABSGEOMODELOPERCOMPOUND_H
#define FITKABSGEOMODELOPERCOMPOUND_H
#include "FITKAbsGeoModelSolid.h"
#include "FITKInterfaceGeometryAPI.h"
namespace Interface
{
/**
* @brief 复合体操作抽象类。
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*/
class FITKInterfaceGeometryAPI FITKAbsGeoModelOperCompound : public FITKAbsGeoCommand
{
public:
/**
* @brief 构造函数。
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*/
FITKAbsGeoModelOperCompound() = default;
/**
* @brief 析构函数。[虚函数]
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*/
virtual ~FITKAbsGeoModelOperCompound() = default;
/**
* @brief 获取几何命令类型。[重写]
* @return 命令类型
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*/
FITKGeoEnum::FITKGeometryComType getGeometryCommandType() override;
/**
* @brief 设置复合对象数据ID。
* @param cmdId模型数据ID
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*/
void setInputCmdId(Interface::VirtualShape* cmdId);
/**
* @brief 获取复合对象的数据ID。
* @return 模型数据ID
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*/
Interface::VirtualShape* getInputCmdId();
/**
* @brief 设置操作的复合对象中的s。
* @param cmdIdsID列表
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*/
void setShapeCmdIds(QList<Interface::VirtualShape *> cmdIds);
/**
* @brief 获取 操作的复合对象中的IDs。
* @return 边虚拓扑ID列表
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*/
QList<Interface::VirtualShape*> getShapeCmdIds();
protected:
/**
* @brief 复合对象的数据。
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*/
Interface::VirtualShape* m_solidCmdId{};
/**
* @brief 添加或删除 复合对象中的数据对象。
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-06
*/
QList<Interface::VirtualShape *> m_solidCmdIds{};
};
}
#endif // !FITKABSGEOMODELOPERCOMPOUND_H