/*****************************************************************//** * @file FITKFluidVTKViewAdaptorModel.h * @brief Adaptor for 'model' data. * * @author ChengHaotian (yeguangbaozi@foxmail.com) * @date 2024-06-11 *********************************************************************/ #ifndef __FITKFLUIDVTKVIEWADAPTORMODEL_H__ #define __FITKFLUIDVTKVIEWADAPTORMODEL_H__ #include "FITKFluidVTKViewAdaptorBase.h" #include "FITKFluidVTKGraphAdaptorAPI.h" namespace Exchange { /** * @brief Graph object data adaptor for 'model' data. * @author ChengHaotian (yeguangbaozi@foxmail.com) * @date 2024-06-11 */ class FITKFLUIDGRAPHADAPTORAPI FITKFluidVTKViewAdaptorModel : public FITKFluidVTKViewAdaptorBase { // Regist FITKCLASS(Exchange, FITKFluidVTKViewAdaptorModel); public: /** * @brief Constructor. * @author ChengHaotian (yeguangbaozi@foxmail.com) * @date 2024-06-11 */ explicit FITKFluidVTKViewAdaptorModel() = default; /** * @brief Destructor. * @author ChengHaotian (yeguangbaozi@foxmail.com) * @date 2024-06-11 */ ~FITKFluidVTKViewAdaptorModel() = default; /** * @brief Execute the data exchange.[override] * @return Is OK * @author ChengHaotian (yeguangbaozi@foxmail.com) * @date 2024-06-11 */ bool update() override; }; // Regist model adaptor Register2FITKViewAdaptorFactory(GeoModel, Interface::FITKAbsGeoCommand, FITKFluidVTKViewAdaptorModel); } // namespace Exchange #endif // __FITKFLUIDVTKVIEWADAPTORMODEL_H__