feat (wip): refactor of main func into actual organized classes
This commit is contained in:
1 parent
6dcb8c5385
commit
1c8813de4e
12 files changed
+275
-87
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#ifndef BACKGROUND_H
|
||||
#define BACKGROUND_H
|
||||
|
||||
#include "Layer.h"
|
||||
#include <vtkImageReader2Factory.h>
|
||||
|
||||
class BackgroundImage : public Layer {
|
||||
private:
|
||||
std::string imagePath;
|
||||
vtkSmartPointer<vtkImageReader2Factory> readerFactory;
|
||||
|
||||
void updateImage();
|
||||
|
||||
|
||||
public:
|
||||
BackgroundImage(std::string imagePath);
|
||||
|
||||
std::string getImagePath();
|
||||
void setImagePath(std::string imagePath);
|
||||
};
|
||||
|
||||
#endif
|
||||