feat: legend

This commit is contained in:
2024-05-30 04:42:45 +02:00
parent cb20cc0bd0
commit 039163e8f0
8 changed files with 188 additions and 12 deletions

View File

@@ -19,6 +19,7 @@
#include "../layers/LColLayer.h"
#include "../layers/LGlyphLayer.h"
#include "../layers/enums.h"
#include "../layers/LegendLayer.h"
using namespace std;
@@ -52,6 +53,10 @@ void MainWindow::setupTechniques() {
technique1->addLayer(bg);
technique2->addLayer(bg);
// add legend layer
technique1->addLayer(new LegendLayer(dataPath + "/legends", "COLGLYPH"));
technique2->addLayer(new LegendLayer(dataPath + "/legends", "GLYPHCOL"));
// add Euler layers
technique1->addLayer(new EColLayer(uvGrid));
technique2->addLayer(new EGlyphLayer(uvGrid));