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.

86 lines
2.3 KiB
C

/**********************************************************************
* @file PostGraphWidgetBox.h
* @brief VTK
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-09
*********************************************************************/
#ifndef _PostGraphWidgetBox_H_
#define _PostGraphWidgetBox_H_
#include <QObject>
#include "PostGraphAdaptorAPI.h"
class vtkBoxWidget2;
namespace Interface
{
class PostGraphWidgetBoxCallBack;
class FITKVKTBoxRepresentaion;
/**
* @brief VTK
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-09
*/
class PostGraphAdaptorAPI PostGraphWidgetBox : public QObject
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] widget
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-09
*/
PostGraphWidgetBox(QWidget* widget);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-09
*/
~PostGraphWidgetBox();
/**
* @brief
* @param[i] bounds [6]
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*/
void setValue(double* bounds);
/**
* @brief
* @param[i] isShow
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
void setIsShow(bool isShow);
signals:
;
/**
* @brief
* @param[i] bounds [6]
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*/
void sigValueChange(double* bounds);
private:
/**
* @brief VTK
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
vtkBoxWidget2* _widget = nullptr;
/**
* @brief VTK
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-19
*/
FITKVKTBoxRepresentaion* _representation = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
PostGraphWidgetBoxCallBack* _callBack = nullptr;
};
}
#endif