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.
|
|
|
#ifndef NMWXGRIDVTKCONTAINERWIDGET_H
|
|
|
|
#define NMWXGRIDVTKCONTAINERWIDGET_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include "nmSubWxs_global.h"
|
|
|
|
//#include <vtkSmartPointer.h>
|
|
|
|
|
|
|
|
class QVBoxLayout;
|
|
|
|
|
|
|
|
class NM_SUB_WXS_EXPORT nmWxGridVTKContainerWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit nmWxGridVTKContainerWidget(QWidget *parent = nullptr, QString vtkPath = "");
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
private:
|
|
|
|
void initUI();
|
|
|
|
void initLayout();
|
|
|
|
void initVTKWidget();
|
|
|
|
void initVTKWidgetFromFile();
|
|
|
|
void initVTKGridAndSurfaceWidgetFromFile();
|
|
|
|
void showVTK();
|
|
|
|
private:
|
|
|
|
QVBoxLayout* m_mainLayout;
|
|
|
|
QVBoxLayout* m_frameLaoyt;
|
|
|
|
QString m_sVtkFilePath;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // NMWXGRIDVTKCONTAINERWIDGET_H
|