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/ClipSliceWidgetCylinder.h

121 lines
3.7 KiB
C

/**********************************************************************
* @file ClipSliceWidgetCylinder.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*********************************************************************/
#ifndef _ClipSliceWidgetCylinder_H
#define _ClipSliceWidgetCylinder_H
#include "ClipSliceWidgetBase.h"
namespace Ui{
class ClipSliceWidgetCylinder;
}
namespace Interface {
class FITKAbstractCFDPostData;
class PostGraphWidgetCylinder;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
class ClipSliceWidgetCylinder :public ClipSliceWidgetBase
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
ClipSliceWidgetCylinder(ClipSlice widgetType, int currentDataID, int parentDataID, QWidget* parent = nullptr);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
virtual ~ClipSliceWidgetCylinder();
/**
* @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 [3]
* @param[i] axis [3]
* @param[i] radius
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-11
*/
void slotVTKWidgetValueChange(double* center, double* axis, double radius);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
void slotDataChange();
private:
/**
* @brief vtk
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
Interface::PostGraphWidgetCylinder* _cylinderWidget = nullptr;
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
Ui::ClipSliceWidgetCylinder* _ui = nullptr;
/**
* @brief ID
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
int _parentDataID = -1;
};
}
#endif