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_Interface/FITKInterfaceIOHDF5/FITKInterfaceHDF5AdaptorSur...

91 lines
2.6 KiB
C

/**
*
* @file FITKInterfaceHDF5AdaptorSurface.h
* @brief HDF5Set
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*
*/
#ifndef _FITKINTERFACEHDF5ADAPTORSURFACE_H__
#define _FITKINTERFACEHDF5ADAPTORSURFACE_H__
#include "FITKInterfaceIOHDF5API.h"
#include "FITKAbstractHDF5Adaptor.h"
#include "FITK_Kernel/FITKAdaptor/FITKIOAdaptorFactory.h"
namespace Interface
{
class FITKComponentManager;
class FITKMeshSurface;
}
namespace IO
{
/**
* @brief HDF5 Surface
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
class FITKINTERFACEHDF5IOAPI FITKInterfaceHDF5AdaptorSurface : public FITKAbstractHDF5Adaptor
{
public:
explicit FITKInterfaceHDF5AdaptorSurface() = default;
virtual ~FITKInterfaceHDF5AdaptorSurface() = default;
/**
* @brief
* @return
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
QString getAdaptorClass() override;
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
bool adaptR() override;
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
bool adaptW() override;
virtual bool surfR(Interface::FITKMeshSurface* surfaceData, H5::Group & h5Group);
bool nodeTypeR(Interface::FITKMeshSurface* surfaceData, H5::Group& h5Group);
bool elementTypeR(Interface::FITKMeshSurface* surfaceData, H5::Group& h5Group);
virtual bool surfW(Interface::FITKMeshSurface* surfaceData, H5::Group & h5Group);
bool nodeTypeW(Interface::FITKMeshSurface* surfaceData, H5::Group & h5Group);
bool elementTypeW(Interface::FITKMeshSurface* surfaceData, H5::Group & h5Group);
protected:
/**
* @brief instance
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
QString instanceName;
/**
* @brief
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
bool _isTrans{ false };
};
Register2FITKIOAdaptorFactory(HDF5, Interface::FITKMeshSurface, FITKInterfaceHDF5AdaptorSurface)
} // namespace IO
#endif // _FITKABSTRACTHDF5ADAPTORSET_H__