PeriDyno
1.0.0
Loading...
Searching...
No Matches
D:
Peridyno
peridyno
src
Rendering
GUI
QtGUI
NodeEditor
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
20
QT_FORWARD_DECLARE_CLASS(QGridLayout)
21
22
namespace
Qt
23
{
24
class
QtModuleFlowWidget
:
public
QWidget
25
{
26
Q_OBJECT
27
28
public
:
29
explicit
QtModuleFlowWidget
(QWidget *parent =
nullptr
,
QtNodeWidget
* node_widget =
nullptr
);
30
~QtModuleFlowWidget
();
31
32
//void addActor(vtkActor *actor);
33
QtModuleFlowScene
*
getModuleFlowScene
() {
return
mModuleFlow
; }
34
35
signals:
36
37
public
:
38
QGridLayout*
mLayout
;
39
40
QtModuleFlowScene
*
mModuleFlow
=
nullptr
;
41
};
42
43
}
QtModuleFlowScene.h
QtNodeWidget.h
Qt::QtModuleFlowScene
Scene holds connections and nodes.
Definition
QtModuleFlowScene.h:17
Qt::QtModuleFlowWidget::~QtModuleFlowWidget
~QtModuleFlowWidget()
Definition
QtModuleFlowWidget.cpp:46
Qt::QtModuleFlowWidget::getModuleFlowScene
QtModuleFlowScene * getModuleFlowScene()
Definition
QtModuleFlowWidget.h:33
Qt::QtModuleFlowWidget::mLayout
QGridLayout * mLayout
Definition
QtModuleFlowWidget.h:38
Qt::QtModuleFlowWidget::QtModuleFlowWidget
QtModuleFlowWidget(QWidget *parent=nullptr, QtNodeWidget *node_widget=nullptr)
Definition
QtModuleFlowWidget.cpp:14
Qt::QtModuleFlowWidget::mModuleFlow
QtModuleFlowScene * mModuleFlow
Definition
QtModuleFlowWidget.h:40
Qt::QtNodeWidget
The model dictates the number of inputs and outputs for the Node.
Definition
QtNodeWidget.h:22
Qt
Definition
QtFieldData.h:9
Generated by
1.13.2