feat: legend
This commit is contained in:
1 parent
cb20cc0bd0
commit
039163e8f0
8 files changed
+188
-12
No files matched your search
@@ -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));
|
||||
|
||||