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.
56 lines
1.7 KiB
C++
56 lines
1.7 KiB
C++
/**********************************************************************
|
|
* @file PostGraphObjectAgent.h
|
|
* @brief 后处理渲染对象代理类(添加代理类是为了让系统的管理类识别)
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-09-06
|
|
*********************************************************************/
|
|
#ifndef _PostGraphObjectAgent_H
|
|
#define _PostGraphObjectAgent_H
|
|
|
|
#include "PostGraphAdaptorAPI.h"
|
|
#include "FITK_Kernel/FITKCore/FITKAbstractDataObject.h"
|
|
|
|
namespace Interface
|
|
{
|
|
class PostGraphObjectBase;
|
|
/**
|
|
* @brief 后处理渲染对象代理类
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-09-06
|
|
*/
|
|
class PostGraphAdaptorAPI PostGraphObjectAgent : public Core::FITKAbstractDataObject
|
|
{
|
|
Q_OBJECT;
|
|
public:
|
|
/**
|
|
* @brief 构造函数
|
|
* @param[i] postData 后处理实际渲染对象
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-09-06
|
|
*/
|
|
explicit PostGraphObjectAgent(PostGraphObjectBase* postData);
|
|
/**
|
|
* @brief 析构函数
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-09-06
|
|
*/
|
|
~PostGraphObjectAgent();
|
|
/**
|
|
* @brief 获取实际渲染对象
|
|
* @return PostGraphObjectBase* 实际渲染对象
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-09-06
|
|
*/
|
|
PostGraphObjectBase* getGraphObject();
|
|
protected:
|
|
/**
|
|
* @brief 实际渲染对象
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-09-06
|
|
*/
|
|
PostGraphObjectBase* _postData = nullptr;
|
|
};
|
|
}
|
|
|
|
#endif
|