1 #ifndef COLLISIONDISPLAY_H
2 #define COLLISIONDISPLAY_H
5 #include "qalgorithm.h"
74 virtual void start() = 0;
83 virtual void stop() = 0;
92 virtual void step() = 0;
100 std::queue<int> collisionTimesteps;
103 #endif // COLLISIONDISPLAY_H
virtual void finished()=0
Signals that the display is no longer running.
int getDisplayTimestep()
Returns the display timestep.
Definition: collisiondisplay.cpp:18
The QAlgorithm class is a QT wrapper for Algorithm.
Definition: qalgorithm.h:13
virtual void start()=0
Slot used to initialize the display.
The parent class of 2D and 3D visualization windows.
Definition: collisiondisplay.h:14
CollisionDisplay()
Constructs a CollisionDisplay.
Definition: collisiondisplay.cpp:3
Definition: multiqueue.h:8
virtual void stop()=0
Slot used to stop the display.
void setQAlgorithm(QAlgorithm *qalgorithm)
Gives a pointer to the QAlgorithm to the display.
Definition: collisiondisplay.cpp:27
int getNumCollisions()
Returns the number of collisions seen so far.
Definition: collisiondisplay.cpp:23
virtual void step()=0
Slot used to step the display.
QTimer * getTimer()
Returns a pointer to the timer.
Definition: collisiondisplay.cpp:14