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/OperatorsGUI/OperGraphEvent3D.h

83 lines
2.3 KiB
C

/*****************************************************************//**
* @file OperGraphEvent3D.h
* @brief
*
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-06-12
*********************************************************************/
#ifndef __OPERGRAPHEVENT3D_H__
#define __OPERGRAPHEVENT3D_H__
#include "OperatorsInterface/GraphEventOperator.h"
// 前置声明
namespace Comp
{
class FITKGraph3DWindowVTK;
}
namespace Exchange
{
class FITKFluidVTKGraphObject3D;
}
namespace GUIOper
{
/**
* @brief
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-06-12
*/
class OperGraphEvent3D : public EventOper::GraphEventOperator
{
Q_OBJECT
protected:
/**
* @brief
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-06-12
*/
explicit OperGraphEvent3D() = default;
/**
* @brief []
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-06-12
*/
virtual ~OperGraphEvent3D() = default;
/**
* @brief
* @return
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-06-12
*/
Comp::FITKGraph3DWindowVTK* getGraphWidget();
/**
* @brief
* @param obj
* @param graphWidget
* @param fitView[]
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-06-12
*/
void addGraphObjectToWidget(Exchange::FITKFluidVTKGraphObject3D* obj, Comp::FITKGraph3DWindowVTK* graphWidget, bool fitView = false);
/**
* @brief ID
* @param dataObjIdID
* @return
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-30
*/
QList<Exchange::FITKFluidVTKGraphObject3D*> getGraphObjectsByDataId(int dataObjId);
};
} // namespace GUIOper
#endif // __OPERGRAPHEVENT3D_H__