feat: legend
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user