renamed and stuff
This commit is contained in:
1 parent
3c64364482
commit
59bd2f5a73
35 files changed
+35
-35
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#ifndef TIMERCALLBACKCOMMAND_H
|
||||
#define TIMERCALLBACKCOMMAND_H
|
||||
|
||||
#include <vtkCallbackCommand.h>
|
||||
#include "../Program.h"
|
||||
|
||||
class TimerCallbackCommand : public vtkCallbackCommand {
|
||||
public:
|
||||
TimerCallbackCommand();
|
||||
static TimerCallbackCommand* New(Program *program);
|
||||
void Execute(vtkObject* caller, unsigned long eventId, void* vtkNotUsed(callData)) override;
|
||||
|
||||
void setProgram(Program *program);
|
||||
void setPaused(const bool val);
|
||||
|
||||
void setDt(int dt);
|
||||
|
||||
private:
|
||||
int time;
|
||||
int dt;
|
||||
int maxTime;
|
||||
bool paused;
|
||||
Program *program;
|
||||
};
|
||||
|
||||
#endif
|
||||