feat (wip): refactor of main func into actual organized classes

This commit is contained in:
djaidjai committed 2024-04-25 21:15:07 +02:00
1 parent 6dcb8c5385
commit 1c8813de4e
12 files changed
+275 -87

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
#ifndef PROGRAM_H
#define PROGRAM_H
#include <vtkRenderWindow.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkRenderer.h>
#include "Layer.h"
class Program {
private:
Layer background;
Layer euler;
Layer lagrange;
vtkSmartPointer<vtkRenderWindow> win;
vtkSmartPointer<vtkRenderWindowInteractor> interact;
void setWinProperties();
public:
// Program();
Program(Layer bg, Layer e, Layer l);
void setBackground(Layer bg);
void setEuler(Layer e);
void setLagrange(Layer l);
// void addInteractionStyle(vtkInteractorStyle style);
void render();
};
#endif
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.