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.
AppFlowPost/GUIDialog/ClipSliceWidgetSphere.h

120 lines
3.6 KiB
C

/**********************************************************************
* @file ClipSliceWidgetSphere.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*********************************************************************/
#ifndef _ClipSliceWidgetSphere_H
#define _ClipSliceWidgetSphere_H
#include "ClipSliceWidgetBase.h"
namespace Ui{
class ClipSliceWidgetSphere;
}
namespace Interface {
class FITKAbstractCFDPostData;
class PostGraphWidgetSphere;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
class ClipSliceWidgetSphere :public ClipSliceWidgetBase
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
ClipSliceWidgetSphere(ClipSlice widgetType, int currentDataID, int parentDataID, QWidget* parent = nullptr);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
virtual ~ClipSliceWidgetSphere();
/**
* @brief
* @param[i] glyphData
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
virtual void getDataFromWidget(Interface::FITKAbstractCFDPostData* postData) override;
/**
* @brief
* @param[i] glyphData
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
virtual void setDataToWidget(Interface::FITKAbstractCFDPostData* postParentData, Interface::FITKAbstractCFDPostData* postData) override;
protected:
/**
* @brief
* @param[i] event
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-19
*/
void showEvent(QShowEvent* event);
/**
* @brief
* @param[i] event
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-19
*/
void closeEvent(QCloseEvent* event);
/**
* @brief
* @param[i] event
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
void hideEvent(QHideEvent *event);
private slots:
;
/**
* @brief vtk
* @param[i] center
* @param[i] radius
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
void slotVTKWidgetValueChange(double* center, double radius);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
void slotDataChange();
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
Ui::ClipSliceWidgetSphere* _ui = nullptr;
/**
* @brief ID
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
int _parentDataID = -1;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-09
*/
Interface::PostGraphWidgetSphere* _sphereWidget = nullptr;
};
}
#endif