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