PeriDyno 1.0.0
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)
 
WSimulationCanvassimCanvas ()
 

Private Member Functions

void initMenu (Wt::WMenu *)
 
void initLeftPanel (Wt::WContainerWidget *)
 
void start ()
 
void stop ()
 
void step ()
 
void reset ()
 
void updateCanvas ()
 

Private Attributes

WSimulationCanvasmSceneCanvas
 
std::shared_ptr< WNodeDataModelmNodeDataModel
 
std::shared_ptr< WModuleDataModelmModuleDataModel
 
std::shared_ptr< WParameterDataNodemParameterDataNode
 
bool bRunFlag
 
bool mReset
 
std::shared_ptr< dyno::SceneGraphmScene = nullptr
 
std::shared_ptr< dyno::NodemActiveNode
 
Wt::WPushButton * startButton
 

Detailed Description

Definition at line 18 of file WMainWindow.h.

Constructor & Destructor Documentation

◆ WMainWindow()

WMainWindow::WMainWindow ( )

Definition at line 33 of file WMainWindow.cpp.

Here is the call graph for this function:

◆ ~WMainWindow()

WMainWindow::~WMainWindow ( )

Definition at line 62 of file WMainWindow.cpp.

Member Function Documentation

◆ initLeftPanel()

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

Definition at line 120 of file WMainWindow.cpp.

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

◆ initMenu()

void WMainWindow::initMenu ( Wt::WMenu * menu)
private

Definition at line 67 of file WMainWindow.cpp.

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

◆ reset()

void WMainWindow::reset ( )
private

Definition at line 283 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 311 of file WMainWindow.cpp.

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

◆ simCanvas()

WSimulationCanvas * WMainWindow::simCanvas ( )
inline

Definition at line 26 of file WMainWindow.h.

◆ start()

void WMainWindow::start ( )
private

Definition at line 239 of file WMainWindow.cpp.

Here is the caller graph for this function:

◆ step()

void WMainWindow::step ( )
private

Definition at line 270 of file WMainWindow.cpp.

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

◆ stop()

void WMainWindow::stop ( )
private

Definition at line 264 of file WMainWindow.cpp.

Here is the caller graph for this function:

◆ updateCanvas()

void WMainWindow::updateCanvas ( )
private

Definition at line 301 of file WMainWindow.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ bRunFlag

bool WMainWindow::bRunFlag
private

Definition at line 47 of file WMainWindow.h.

◆ mActiveNode

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

Definition at line 51 of file WMainWindow.h.

◆ mModuleDataModel

std::shared_ptr<WModuleDataModel> WMainWindow::mModuleDataModel
private

Definition at line 44 of file WMainWindow.h.

◆ mNodeDataModel

std::shared_ptr<WNodeDataModel> WMainWindow::mNodeDataModel
private

Definition at line 43 of file WMainWindow.h.

◆ mParameterDataNode

std::shared_ptr<WParameterDataNode> WMainWindow::mParameterDataNode
private

Definition at line 45 of file WMainWindow.h.

◆ mReset

bool WMainWindow::mReset
private

Definition at line 48 of file WMainWindow.h.

◆ mScene

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

Definition at line 50 of file WMainWindow.h.

◆ mSceneCanvas

WSimulationCanvas* WMainWindow::mSceneCanvas
private

Definition at line 40 of file WMainWindow.h.

◆ startButton

Wt::WPushButton* WMainWindow::startButton
private

Definition at line 53 of file WMainWindow.h.


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