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_Component/FITKGeoCompOCC/FITKOCCModelSimpleShape.h

104 lines
3.0 KiB
C++

#ifndef __FITK_OCC_MODEL_SIMPLESHAPE_H__
#define __FITK_OCC_MODEL_SIMPLESHAPE_H__
#include "FITKAbstractOCCModel.h"
#include "FITK_Interface/FITKInterfaceGeometry/FITKAbsGeoModelBox.h"
#include "FITK_Interface/FITKInterfaceGeometry/FITKAbsGeoModelCylinder.h"
#include "FITK_Interface/FITKInterfaceGeometry/FITKAbsGeoModelSphere.h"
namespace OCC
{
/**
* @brief 长方体
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
class FITKGeoCompOCCAPI FITKOCCModelBox :public Interface::FITKAbsGeoModelBox,
public OCCShapeAgent
{
// FITKCLASS(OCC, FITKAbstractOCCModel);
public:
/**
* @brief Construct a new FITKOCCModelBox object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
explicit FITKOCCModelBox();
/**
* @brief Destroy the FITKOCCModelBox object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
virtual ~FITKOCCModelBox() = default;
/**
* @brief 更新模型
* @return true 更新成功
* @return false 更新失败
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
virtual bool update() override;
};
class FITKGeoCompOCCAPI FITKOCCModelCylinder : public Interface::FITKAbsGeoModelCylinder,
public OCCShapeAgent
{
// FITKCLASS(OCC, FITKAbstractOCCModel);
public:
/**
* @brief Construct a new FITKOCCModelBox object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
explicit FITKOCCModelCylinder();
/**
* @brief Destroy the FITKOCCModelBox object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
virtual ~FITKOCCModelCylinder() = default;
/**
* @brief 更新模型
* @return true 更新成功
* @return false 更新失败
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
virtual bool update() override;
};
class FITKGeoCompOCCAPI FITKOCCModelSphere : public Interface::FITKAbsGeoModelSphere,
public OCCShapeAgent
{
// FITKCLASS(OCC, FITKAbstractOCCModel);
public:
/**
* @brief Construct a new FITKOCCModelBox object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
explicit FITKOCCModelSphere();
/**
* @brief Destroy the FITKOCCModelBox object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
virtual ~FITKOCCModelSphere() = default;
/**
* @brief 更新模型
* @return true 更新成功
* @return false 更新失败
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
virtual bool update() override;
};
}
#endif