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/GraphDataProvider/GraphMarkProvider.h

97 lines
2.9 KiB
C

/*****************************************************************//**
* @file GraphMarkProvider.h
* @brief
*
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-26
*********************************************************************/
#ifndef __GRAPHMARKPROVIDER_H__
#define __GRAPHMARKPROVIDER_H__
#include "GraphProviderBase.h"
#include "GraphDataProviderAPI.h"
#include <QHash>
// 前置声明
namespace GraphData
{
/**
* @brief
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-26
*/
class GRAPHDATAPROVIDERAPI GraphMarkProvider : public GraphProviderBase
{
Q_OBJECT
// 友元,防止外部手动创建或析构。
friend class GraphProviderManager;
public:
/**
* @brief
* @return
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-26
*/
QList<Exchange::FITKFluidVTKGraphObject3D*> getCurrentGraphObjs() override;
/**
* @brief []
* @return
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-26
*/
QString getClassName() override;
/**
* @brief
* @param type
* @return
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-26
*/
Exchange::FITKFluidVTKGraphObject3D* getGraphObjectByType(int type);
/**
* @brief ID
* @param dataObjIdID
* @return
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-30
*/
Exchange::FITKFluidVTKGraphObject3D* getMaterialPointsGraphObject();
private:
/**
* @brief
* @param graphWidget
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-26
*/
GraphMarkProvider(Comp::FITKGraph3DWindowVTK* graphWidget);
/**
* @brief
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-26
*/
~GraphMarkProvider();
private:
/**
* @brief
* @author ChengHaotian (yeguangbaozi@foxmail.com)
* @date 2024-07-26
*/
QHash<int, Exchange::FITKFluidVTKGraphObject3D*> m_tempTypeObjHash;
};
} // namespace GraphData
#endif // __GRAPHMARKPROVIDER_H__