SPH
|
Main frame of the application. More...
#include <RunPage.h>
Public Member Functions | |
RunPage (wxWindow *window, Controller *controller, GuiSettings &guiSettings) | |
~RunPage () | |
void | refresh () |
void | showTimeLine (const bool show) |
void | runStarted (const Storage &storage, const Path &path) |
void | onTimeStep (const Storage &storage, const Statistics &stats) |
void | onRunEnd () |
bool | close () |
void | setProgress (const Statistics &stats) |
void | newPhase (const std::string &className, const std::string &instanceName) |
void | setColorizerList (Array< SharedPtr< IColorizer >> &&colorizers) |
void | setSelectedParticle (const Particle &particle, const Rgba color) |
void | deselectParticle () |
wxSize | getCanvasSize () const |
Main frame of the application.
Run is coupled with the window; currently there can only be one window and one run at the same time. Run is ended when user closes the window.
RunPage::RunPage | ( | wxWindow * | window, |
Controller * | controller, | ||
GuiSettings & | guiSettings | ||
) |
Definition at line 73 of file RunPage.cpp.
RunPage::~RunPage | ( | ) |
Definition at line 125 of file RunPage.cpp.
bool RunPage::close | ( | ) |
Definition at line 963 of file RunPage.cpp.
void RunPage::deselectParticle | ( | ) |
Definition at line 936 of file RunPage.cpp.
wxSize RunPage::getCanvasSize | ( | ) | const |
Definition at line 941 of file RunPage.cpp.
void RunPage::newPhase | ( | const std::string & | className, |
const std::string & | instanceName | ||
) |
Definition at line 836 of file RunPage.cpp.
void RunPage::onRunEnd | ( | ) |
Definition at line 912 of file RunPage.cpp.
void RunPage::onTimeStep | ( | const Storage & | storage, |
const Statistics & | stats | ||
) |
Definition at line 876 of file RunPage.cpp.
void RunPage::refresh | ( | ) |
Definition at line 840 of file RunPage.cpp.
Definition at line 857 of file RunPage.cpp.
void RunPage::setColorizerList | ( | Array< SharedPtr< IColorizer >> && | colorizers | ) |
Definition at line 919 of file RunPage.cpp.
void RunPage::setProgress | ( | const Statistics & | stats | ) |
Definition at line 826 of file RunPage.cpp.
Definition at line 931 of file RunPage.cpp.
void RunPage::showTimeLine | ( | const bool | show | ) |
Definition at line 844 of file RunPage.cpp.