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.
135 lines
3.7 KiB
C++
135 lines
3.7 KiB
C++
#ifndef FITKOCCTRANSFORMATION_H
|
|
#define FITKOCCTRANSFORMATION_H
|
|
|
|
#include "FITKAbstractOCCModel.h"
|
|
#include "FITK_Interface/FITKInterfaceGeometry/FITKAbsGeoTransformation.h"
|
|
|
|
namespace OCC {
|
|
|
|
class FITKGeoCompOCCAPI FITKOCCModelTransform :
|
|
public Interface::FITKAbsGeoModelTransform, public OCCShapeAgent
|
|
{
|
|
public:
|
|
/**
|
|
* @brief 构造函数.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
FITKOCCModelTransform();
|
|
/**
|
|
* @brief 析构函数.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
~FITKOCCModelTransform() override = default;
|
|
/**
|
|
* @brief 更新模型.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
virtual bool update() override;
|
|
};
|
|
|
|
|
|
class FITKGeoCompOCCAPI FITKOCCModelTransformByTwoPoints :
|
|
public Interface::FITKAbsGeoModelTransformByTwoPoints, public OCCShapeAgent
|
|
{
|
|
public:
|
|
/**
|
|
* @brief 构造函数.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
FITKOCCModelTransformByTwoPoints();
|
|
/**
|
|
* @brief 析构函数.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
~FITKOCCModelTransformByTwoPoints() override = default;
|
|
/**
|
|
* @brief 更新模型.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
virtual bool update() override;
|
|
};
|
|
|
|
|
|
class FITKGeoCompOCCAPI FITKOCCModelTransformByDirAndDis :
|
|
public Interface::FITKAbsGeoModelTransformByDirAndDis, public OCCShapeAgent
|
|
{
|
|
public:
|
|
/**
|
|
* @brief 构造函数.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
FITKOCCModelTransformByDirAndDis();
|
|
/**
|
|
* @brief 析构函数.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
~FITKOCCModelTransformByDirAndDis() override = default;
|
|
/**
|
|
* @brief 更新模型.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
virtual bool update() override;
|
|
};
|
|
|
|
|
|
class FITKGeoCompOCCAPI FITKOCCModelRotate :
|
|
public Interface::FITKAbsGeoModelRotate, public OCCShapeAgent
|
|
{
|
|
public:
|
|
/**
|
|
* @brief 构造函数.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
FITKOCCModelRotate();
|
|
/**
|
|
* @brief 析构函数.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
~FITKOCCModelRotate() override = default;
|
|
/**
|
|
* @brief 更新模型.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
virtual bool update() override;
|
|
};
|
|
|
|
|
|
class FITKGeoCompOCCAPI FITKOCCModelScale :
|
|
public Interface::FITKAbsGeoModelScale, public OCCShapeAgent
|
|
{
|
|
public:
|
|
/**
|
|
* @brief 构造函数.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
FITKOCCModelScale();
|
|
/**
|
|
* @brief 析构函数.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
~FITKOCCModelScale() override = default;
|
|
/**
|
|
* @brief 更新模型.
|
|
* @author YanZhiHui (chanyuantiandao@126.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
virtual bool update() override;
|
|
};
|
|
}
|
|
|
|
#endif // FITKOCCTRANSFORMATION_H
|