openPSTD  2.0
Open source simulation for sound propagation in urban environments
Public Member Functions | Protected Member Functions | List of all members
OpenPSTD::GUI::Viewer2D Class Reference
Inheritance diagram for OpenPSTD::GUI::Viewer2D:
Inheritance graph
Collaboration diagram for OpenPSTD::GUI::Viewer2D:
Collaboration graph

Public Member Functions

 Viewer2D (QWidget *parent=0)
 
virtual QSize sizeHint () const override
 
virtual QSize minimumSizeHint () const override
 
void UpdateFromModel (std::shared_ptr< Model > const &model)
 
void SetOperationRunner (std::shared_ptr< OperationRunner > operationRunner)
 

Protected Member Functions

virtual void resizeGL (int w, int h) override
 
virtual void initializeGL () override
 
virtual void paintGL () override
 
virtual void mousePressEvent (QMouseEvent *mouseEvent) override
 
virtual void mouseReleaseEvent (QMouseEvent *mouseEvent) override
 
virtual void mouseMoveEvent (QMouseEvent *mouseEvent) override
 
virtual void wheelEvent (QWheelEvent *qWheelEvent) override
 

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