PeriDyno 1.2.1
Loading...
Searching...
No Matches
WMainWindow Class Reference

#include <WMainWindow.h>

Inheritance diagram for WMainWindow:
Collaboration diagram for WMainWindow:

Public Member Functions

 WMainWindow ()
 
 ~WMainWindow ()
 
void setScene (std::shared_ptr< dyno::SceneGraph > scene)
 
std::shared_ptr< dyno::SceneGraphgetScene ()
 
void createRightPanel ()
 
void updateCanvas ()
 
void updateNodeGraphics ()
 
void onKeyWentDown (const Wt::WKeyEvent &event)
 
WSimulationCanvassimCanvas ()
 
WtNodeFlowWidgetgetFlowWidget ()
 

Public Attributes

std::shared_ptr< WNodeDataModelmNodeDataModel
 
std::shared_ptr< WModuleDataModelmModuleDataModel
 
std::shared_ptr< WParameterDataNodemParameterDataNode
 

Private Member Functions

void initNavigationBar (Wt::WBorderLayout *)
 
void initCenterContainer (Wt::WBorderLayout *)
 
void initRightPanel (Wt::WContainerWidget *)
 
void initAddNodePanel (Wt::WPanel *parent)
 
std::unique_ptr< Wt::WWidget > initNodeGraphics ()
 
std::unique_ptr< Wt::WWidget > initPython ()
 
std::unique_ptr< Wt::WWidget > initSample ()
 
std::unique_ptr< Wt::WWidget > initSave ()
 
std::unique_ptr< Wt::WWidget > initLog ()
 
std::unique_ptr< Wt::WWidget > initModuleGraphics ()
 

Private Attributes

int viewportHeight
 
int viewportWidth
 
std::shared_ptr< dyno::SceneGraphmScene = nullptr
 
std::shared_ptr< dyno::NodemActiveNode = nullptr
 
WSimulationCanvasmSceneCanvas
 
WSimulationControlcontrolContainer
 
WtNodeFlowWidgetmNodeFlowWidget
 
WtModuleFlowWidgetmModuleFlowWidget
 
WPythonWidgetpythonWidget = new WPythonWidget()
 
std::unique_ptr< WNodeGraphicsnodeGraphicsWidget
 
std::unique_ptr< WModuleGraphicsmoduleGraphicsWidget
 
Wt::WContainerWidget * rightWidget
 
Wt::WTabWidget * tab
 
int Initial_x = 0
 
int Initial_y = 0
 

Detailed Description

Definition at line 25 of file WMainWindow.h.

Constructor & Destructor Documentation

◆ WMainWindow()

WMainWindow::WMainWindow ( )

Definition at line 31 of file WMainWindow.cpp.

Here is the call graph for this function:

◆ ~WMainWindow()

WMainWindow::~WMainWindow ( )

Definition at line 57 of file WMainWindow.cpp.

Member Function Documentation

◆ createRightPanel()

void WMainWindow::createRightPanel ( )

Definition at line 80 of file WMainWindow.cpp.

Here is the call graph for this function:

◆ getFlowWidget()

WtNodeFlowWidget * WMainWindow::getFlowWidget ( )
inline

Definition at line 45 of file WMainWindow.h.

◆ getScene()

std::shared_ptr< dyno::SceneGraph > WMainWindow::getScene ( )

Definition at line 75 of file WMainWindow.cpp.

Here is the caller graph for this function:

◆ initAddNodePanel()

void WMainWindow::initAddNodePanel ( Wt::WPanel * parent)
private

Definition at line 159 of file WMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initCenterContainer()

void WMainWindow::initCenterContainer ( Wt::WBorderLayout * layout)
private

Definition at line 122 of file WMainWindow.cpp.

Here is the caller graph for this function:

◆ initLog()

std::unique_ptr< Wt::WWidget > WMainWindow::initLog ( )
private

Definition at line 458 of file WMainWindow.cpp.

Here is the caller graph for this function:

◆ initModuleGraphics()

std::unique_ptr< Wt::WWidget > WMainWindow::initModuleGraphics ( )
private

Definition at line 329 of file WMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initNavigationBar()

void WMainWindow::initNavigationBar ( Wt::WBorderLayout * layout)
private

Definition at line 112 of file WMainWindow.cpp.

Here is the caller graph for this function:

◆ initNodeGraphics()

std::unique_ptr< Wt::WWidget > WMainWindow::initNodeGraphics ( )
private

Definition at line 266 of file WMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initPython()

std::unique_ptr< Wt::WWidget > WMainWindow::initPython ( )
private

Definition at line 391 of file WMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initRightPanel()

void WMainWindow::initRightPanel ( Wt::WContainerWidget * parent)
private

Definition at line 139 of file WMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initSample()

std::unique_ptr< Wt::WWidget > WMainWindow::initSample ( )
private

Definition at line 408 of file WMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initSave()

std::unique_ptr< Wt::WWidget > WMainWindow::initSave ( )
private

Definition at line 443 of file WMainWindow.cpp.

Here is the caller graph for this function:

◆ onKeyWentDown()

void WMainWindow::onKeyWentDown ( const Wt::WKeyEvent & event)

Definition at line 104 of file WMainWindow.cpp.

Here is the caller graph for this function:

◆ setScene()

void WMainWindow::setScene ( std::shared_ptr< dyno::SceneGraph > scene)

Definition at line 62 of file WMainWindow.cpp.

Here is the caller graph for this function:

◆ simCanvas()

WSimulationCanvas * WMainWindow::simCanvas ( )
inline

Definition at line 43 of file WMainWindow.h.

◆ updateCanvas()

void WMainWindow::updateCanvas ( )

Definition at line 85 of file WMainWindow.cpp.

Here is the caller graph for this function:

◆ updateNodeGraphics()

void WMainWindow::updateNodeGraphics ( )

Definition at line 95 of file WMainWindow.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ controlContainer

WSimulationControl* WMainWindow::controlContainer
private

Definition at line 75 of file WMainWindow.h.

◆ Initial_x

int WMainWindow::Initial_x = 0
private

Definition at line 86 of file WMainWindow.h.

◆ Initial_y

int WMainWindow::Initial_y = 0
private

Definition at line 87 of file WMainWindow.h.

◆ mActiveNode

std::shared_ptr<dyno::Node> WMainWindow::mActiveNode = nullptr
private

Definition at line 72 of file WMainWindow.h.

◆ mModuleDataModel

std::shared_ptr<WModuleDataModel> WMainWindow::mModuleDataModel

Definition at line 50 of file WMainWindow.h.

◆ mModuleFlowWidget

WtModuleFlowWidget* WMainWindow::mModuleFlowWidget
private

Definition at line 77 of file WMainWindow.h.

◆ mNodeDataModel

std::shared_ptr<WNodeDataModel> WMainWindow::mNodeDataModel

Definition at line 49 of file WMainWindow.h.

◆ mNodeFlowWidget

WtNodeFlowWidget* WMainWindow::mNodeFlowWidget
private

Definition at line 76 of file WMainWindow.h.

◆ moduleGraphicsWidget

std::unique_ptr<WModuleGraphics> WMainWindow::moduleGraphicsWidget
private

Definition at line 80 of file WMainWindow.h.

◆ mParameterDataNode

std::shared_ptr<WParameterDataNode> WMainWindow::mParameterDataNode

Definition at line 51 of file WMainWindow.h.

◆ mScene

std::shared_ptr<dyno::SceneGraph> WMainWindow::mScene = nullptr
private

Definition at line 71 of file WMainWindow.h.

◆ mSceneCanvas

WSimulationCanvas* WMainWindow::mSceneCanvas
private

Definition at line 74 of file WMainWindow.h.

◆ nodeGraphicsWidget

std::unique_ptr<WNodeGraphics> WMainWindow::nodeGraphicsWidget
private

Definition at line 79 of file WMainWindow.h.

◆ pythonWidget

WPythonWidget* WMainWindow::pythonWidget = new WPythonWidget()
private

Definition at line 78 of file WMainWindow.h.

◆ rightWidget

Wt::WContainerWidget* WMainWindow::rightWidget
private

Definition at line 82 of file WMainWindow.h.

◆ tab

Wt::WTabWidget* WMainWindow::tab
private

Definition at line 84 of file WMainWindow.h.

◆ viewportHeight

int WMainWindow::viewportHeight
private

Definition at line 68 of file WMainWindow.h.

◆ viewportWidth

int WMainWindow::viewportWidth
private

Definition at line 69 of file WMainWindow.h.


The documentation for this class was generated from the following files: