renamed and stuff

This commit is contained in:
robin
2024-05-06 16:45:56 +02:00
parent 3c64364482
commit 59bd2f5a73
35 changed files with 35 additions and 35 deletions

View File

@@ -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