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/FITKOCCModelExport.h

65 lines
1.8 KiB
C

/*****************************************************************//**
* @file FITKOCCModelExport.h
* @brief OCC
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-08-27
*********************************************************************/
#ifndef _FITKOCCMODEL_EXPORT_H___
#define _FITKOCCMODEL_EXPORT_H___
#include "FITKAbstractOCCModel.h"
#include "FITK_Interface/FITKInterfaceGeometry/FITKAbsGeoModelExport.h"
// 前置声明
class TopoDS_Shape;
namespace OCC
{
/**
* @brief OCC
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-08-27
*/
class FITKGeoCompOCCAPI FITKOCCModelExport : public Interface::FITKAbsGeoModelExport
{
public:
/**
* @brief
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-08-27
*/
explicit FITKOCCModelExport() = default;
/**
* @brief
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-08-27
*/
virtual ~FITKOCCModelExport() = default;
/**
* @brief [][]
* @return
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-08-27
*/
virtual bool update() override;
private:
/**
* @brief
* @param fileName
* @param shapeOCC
* @return
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-08-27
*/
bool wirteFile(QString fileName, TopoDS_Shape & shape);
};
}
#endif