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/FITKFluidVTKGraphAdaptor/FITKFluidVTKViewAdaptorBoun...

57 lines
1.7 KiB
C++

/*****************************************************************//**
* @file FITKFluidVTKViewAdaptorBoundMesh.h
* @brief Adaptor for 'boundrary mesh' data.
*
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-23
*********************************************************************/
#ifndef __FITKFLUIDVTKVIEWADAPTORBOUNDMESH_H__
#define __FITKFLUIDVTKVIEWADAPTORBOUNDMESH_H__
#include "FITKFluidVTKViewAdaptorBase.h"
#include "FITKFluidVTKGraphAdaptorAPI.h"
namespace Exchange
{
/**
* @brief Graph object data adaptor for 'boundrary mesh' data.
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-23
*/
class FITKFLUIDGRAPHADAPTORAPI FITKFluidVTKViewAdaptorBoundMesh : public FITKFluidVTKViewAdaptorBase
{
// Regist
FITKCLASS(Exchange, FITKFluidVTKViewAdaptorBoundMesh);
public:
/**
* @brief Constructor.
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-23
*/
explicit FITKFluidVTKViewAdaptorBoundMesh() = default;
/**
* @brief Destructor.
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-23
*/
~FITKFluidVTKViewAdaptorBoundMesh() = default;
/**
* @brief Execute the data exchange.[override]
* @return Is OK
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-23
*/
bool update() override;
};
// Regist boundary mesh adaptor
Register2FITKViewAdaptorFactory(BoundMesh, Interface::FITKBoundaryMeshVTK, FITKFluidVTKViewAdaptorBoundMesh);
} // namespace Exchange
#endif // __FITKFLUIDVTKVIEWADAPTORBOUNDMESH_H__