PeriDyno 1.0.0
Loading...
Searching...
No Matches
QtModuleFlowWidget.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Scene Flow Widget
4 Module: PSceneFlowWidget.h
5
6 Copyright (c) Xiaowei He
7 All rights reserved.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12=========================================================================*/
13#pragma once
14
15#include <QWidget>
16
17#include "QtModuleFlowScene.h"
18#include "QtNodeWidget.h"
19
20QT_FORWARD_DECLARE_CLASS(QGridLayout)
21
22namespace Qt
23{
24 class QtModuleFlowWidget : public QWidget
25 {
26 Q_OBJECT
27
28 public:
29 explicit QtModuleFlowWidget(QWidget *parent = nullptr, QtNodeWidget* node_widget = nullptr);
31
32 //void addActor(vtkActor *actor);
34
35 signals:
36
37 public:
38 QGridLayout* mLayout;
39
41 };
42
43}
Scene holds connections and nodes.
QtModuleFlowScene * getModuleFlowScene()
QtModuleFlowWidget(QWidget *parent=nullptr, QtNodeWidget *node_widget=nullptr)
QtModuleFlowScene * mModuleFlow
The model dictates the number of inputs and outputs for the Node.