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/FITKGeoOCCIOHDF5/FITKOCCHDF5AdaptorBasicGeom...

256 lines
9.1 KiB
C

/*****************************************************************//**
*
* @file FITKOCCHDF5AdaptorBasicGeometryPoint.h
* @brief HDF5 Adaptor BasicGeometryPoint
* @author fulipeng (flipengqd@yeah.net)
* @date 2024-09-09
*
*********************************************************************/
#ifndef __FITKOCCHDF5ADAPTORBASICGEOMETRYPOINT_H__
#define __FITKOCCHDF5ADAPTORBASICGEOMETRYPOINT_H__
#include "FITKGeoOCCIOHDF5API.h"
#include "FITK_Kernel/FITKCore/FITKCoreMacros.h"
#include "FITK_Kernel/FITKAdaptor/FITKIOAdaptorFactory.h"
#include "FITK_Interface/FITKInterfaceIO/FITKAbstractHDF5Writer.h"
#include "FITK_Interface/FITKInterfaceGeoIOHDF5/FITKAbstractHDF5Adaptor.h"
ForwardDeclarNS(Core, FITKAbstractDataObject);
ForwardDeclarNS(Interface, FITKAbsGeoModelPoint);
ForwardDeclarNS(H5, H5File);
ForwardDeclarNS(H5, Group);
ForwardDeclarNS(H5, H5Object);
ForwardDeclarNS(H5, DataType);
namespace IO
{
/**
* @brief HDF5 Adaptor Basic Geometry Point
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
class FITKGEOOCCIOHDF5API FITKOCCHDF5AdaptorBasicGeometryPoint : public FITKAbstractHDF5Adaptor
{
public:
/**
* @brief Construct a new FITKOCCHDF5AdaptorBasicGeometryPoint object
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
explicit FITKOCCHDF5AdaptorBasicGeometryPoint() = default;
virtual ~FITKOCCHDF5AdaptorBasicGeometryPoint() = default;
/**
* @brief
* @return
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
QString getAdaptorClass() override;
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool adaptR() override;
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool adaptW() override;
protected:
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool readBasicGeometry(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool writeBasicGeometry(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool readBasicGeometryPointBase(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool writeBasicGeometryPointBase(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool readBasicGeometryCurveEnd(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool writeBasicGeometryCurveEnd(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool readBasicGeometryCurveEndDistance(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool writeBasicGeometryCurveEndDistance(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool readBasicGeometryCurveRadio(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool writeBasicGeometryCurveRadio(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool readBasicGeometryProjectionOnCurve(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool writeBasicGeometryProjectionOnCurve(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool readBasicGeometryTwoCurveIntersection(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool writeBasicGeometryTwoCurveIntersection(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool readBasicGeometryPointProjectionOnSurface(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool writeBasicGeometryPointProjectionOnSurface(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool readBasicGeometryCurveIntersectionSurface(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief 线
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-10
*/
bool writeBasicGeometryCurveIntersectionSurface(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
};
Register2FITKIOAdaptorFactory(HDF5, Interface::FITKAbsGeoModelPoint, FITKOCCHDF5AdaptorBasicGeometryPoint, 1)
}
#endif