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/FITKOCCHDF5AdaptorOperGeome...

199 lines
7.0 KiB
C

/*****************************************************************//**
*
* @file FITKOCCHDF5AdaptorOperGeometryFace.h
* @brief HDF5 Adaptor OperGeometryFace
* @author fulipeng (flipengqd@yeah.net)
* @date 2024-09-13
*
*********************************************************************/
#ifndef __FITKOCCHDF5ADAPTOROPERGEOMETRYFACE_H__
#define __FITKOCCHDF5ADAPTOROPERGEOMETRYFACE_H__
#include "FITKGeoOCCIOHDF5API.h"
#include "FITK_Kernel/FITKCore/FITKCoreMacros.h"
#include "FITKOCCHDF5AdaptorBasicGeometryFace.h"
#include "FITK_Kernel/FITKAdaptor/FITKIOAdaptorFactory.h"
#include "FITK_Interface/FITKInterfaceIO/FITKAbstractHDF5Writer.h"
#include "FITK_Interface/FITKInterfaceGeoIOHDF5/FITKAbstractHDF5Adaptor.h"
ForwardDeclarNS(Core, FITKAbstractDataObject);
ForwardDeclarNS(Interface, FITKAbsGeoModelSurface);
ForwardDeclarNS(Interface, FITKAbsGeoCommand);
ForwardDeclarNS(Interface, FITKAbsGeoModelOperFace);
ForwardDeclarNS(H5, H5File);
ForwardDeclarNS(H5, Group);
ForwardDeclarNS(H5, H5Object);
ForwardDeclarNS(H5, DataType);
namespace IO
{
/**
* @brief HDF5 Adaptor Basic Geometry Face
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-13
*/
class FITKGEOOCCIOHDF5API FITKOCCHDF5AdaptorOperGeometryFace : public FITKOCCHDF5AdaptorBasicGeometryFace
{
public:
/**
* @brief Construct a new FITKOCCHDF5AdaptorOperGeometryFace object
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-13
*/
explicit FITKOCCHDF5AdaptorOperGeometryFace() = default;
virtual ~FITKOCCHDF5AdaptorOperGeometryFace() = default;
/**
* @brief
* @return
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-13
*/
QString getAdaptorClass() override;
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-13
*/
bool adaptR() override;
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-13
*/
bool adaptW() override;
protected:
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool readOperGeometryFace(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool writeOperGeometryFace(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool readOperGeometryRectangularTrimmedSurface(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool writeOperGeometryRectangularTrimmedSurface(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool readOperGeometryOperFaceBase(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool writeOperGeometryOperFaceBase(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool readOperGeometryOperFaceFillGaps(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool writeOperGeometryOperFaceFillGaps(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool readOperGeometryOperFaceFillHoles(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool writeOperGeometryOperFaceFillHoles(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool readOperGeometryOperFaceDeleteFloatingEdge(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
/**
* @brief
* @param comm
* @param h5Group
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-12
*/
bool writeOperGeometryOperFaceDeleteFloatingEdge(Interface::FITKAbsGeoCommand* comm, H5::Group& h5Group);
};
Register2FITKIOAdaptorFactory(HDF5, Interface::FITKAbsGeoModelSurface, FITKOCCHDF5AdaptorOperGeometryFace, 1)
Register2FITKIOAdaptorFactory(HDF5, Interface::FITKAbsGeoModelOperFace, FITKOCCHDF5AdaptorOperGeometryFace, 2)
}
#endif