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

57 lines
1.8 KiB
C

/*****************************************************************//**
* @file FITKFluidVTKViewAdaptorMaterialPoints.h
* @brief Adaptor for all material points data.
*
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-30
*********************************************************************/
#ifndef __FITKFLUIDVTKVIEWADAPTORMATERIALPOINTS_H__
#define __FITKFLUIDVTKVIEWADAPTORMATERIALPOINTS_H__
#include "FITKFluidVTKViewAdaptorBase.h"
#include "FITKFluidVTKGraphAdaptorAPI.h"
namespace Exchange
{
/**
* @brief Graph object data adaptor for all material points data.
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-30
*/
class FITKFLUIDGRAPHADAPTORAPI FITKFluidVTKViewAdaptorMaterialPoints : public FITKFluidVTKViewAdaptorBase
{
// Regist
FITKCLASS(Exchange, FITKFluidVTKViewAdaptorMaterialPoints);
public:
/**
* @brief Constructor.
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-30
*/
explicit FITKFluidVTKViewAdaptorMaterialPoints() = default;
/**
* @brief Destructor.
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-30
*/
~FITKFluidVTKViewAdaptorMaterialPoints() = default;
/**
* @brief Execute the data exchange.[override]
* @return Is OK
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-30
*/
bool update() override;
};
// Regist material points manager adaptor
Register2FITKViewAdaptorFactory(MaterialPoints, Interface::FITKZonePointManager, FITKFluidVTKViewAdaptorMaterialPoints);
} // namespace Exchange
#endif // __FITKFLUIDVTKVIEWADAPTORMATERIALPOINTS_H__