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.
50 lines
1.4 KiB
C++
50 lines
1.4 KiB
C++
/**********************************************************************
|
|
* @file ToolBarFilter.h
|
|
* @brief 过滤器工具条
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-09-10
|
|
*********************************************************************/
|
|
#ifndef _ToolBarFilter_H
|
|
#define _ToolBarFilter_H
|
|
|
|
#include "GUIWidgetAPI.h"
|
|
#include "ToolBarBase.h"
|
|
#include <QComboBox>
|
|
|
|
class QAction;
|
|
|
|
namespace GUI
|
|
{
|
|
class GUIWidgetAPI ToolBarFilter : public ToolBarBase
|
|
{
|
|
Q_OBJECT;
|
|
public:
|
|
ToolBarFilter(QWidget* parent = nullptr);
|
|
~ToolBarFilter();
|
|
/**
|
|
* @brief 根据当前渲染对象修改颜色映射
|
|
* @param[i] objID 渲染对象id
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-09-07
|
|
*/
|
|
virtual void updateCurrentGraphObj(int objID) override;
|
|
private:
|
|
void updateIsoSurf();
|
|
void updateVector();
|
|
void updateClip();
|
|
void updateSlice();
|
|
void updateStreamLine();
|
|
void updateThreshold();
|
|
void updateDeform();
|
|
private:
|
|
QAction* _isoSurfAction = nullptr;
|
|
QAction* _vectorfAction = nullptr;
|
|
QAction* _clipAction = nullptr;
|
|
QAction* _sliceAction = nullptr;
|
|
QAction* _streamlineSurfAction = nullptr;
|
|
QAction* _thresholdAction = nullptr;
|
|
QAction* _deformAction = nullptr;
|
|
};
|
|
}
|
|
|
|
#endif |