feat: swappable colour schemes

This commit is contained in:
djaidjai committed 2024-05-28 17:59:54 +02:00
1 parent 305a812dfa
commit 23359f9f54
21 files changed
+491 -170

No files matched your search

+4 -4
View File
@@ -19,7 +19,7 @@ private:
/** This attribute models a variable number of vtkRenderers, managed through the abstract Technique class.
*/
std::vector<Technique *> techniques;
int activeIdx;
ActiveTechnique activeTech;
/** The window this program's layers render to.
@@ -72,10 +72,10 @@ public:
*/
void updateData(int t);
// TODO: commenting
void requestRender();
// TODO: using an idx to indicate which technique to use is not ideal; use an enum instead? But then the question is where to put it...
void setActiveTechnique(int idx);
void setActiveTechnique(ActiveTechnique tech);
vtkSmartPointer<vtkCamera> getCamera();
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.