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.
57 lines
1.7 KiB
C++
57 lines
1.7 KiB
C++
/*****************************************************************//**
|
|
* @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__
|