feat: date legend
This commit is contained in:
1 parent
039163e8f0
commit
c825e63762
7 files changed
+99
-39
No files matched your search
@@ -20,6 +20,7 @@
|
||||
#include "../layers/LGlyphLayer.h"
|
||||
#include "../layers/enums.h"
|
||||
#include "../layers/LegendLayer.h"
|
||||
#include "../layers/TimeLayer.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -57,6 +58,11 @@ void MainWindow::setupTechniques() {
|
||||
technique1->addLayer(new LegendLayer(dataPath + "/legends", "COLGLYPH"));
|
||||
technique2->addLayer(new LegendLayer(dataPath + "/legends", "GLYPHCOL"));
|
||||
|
||||
// add date/time layer
|
||||
auto tm = new TimeLayer();
|
||||
technique1->addLayer(tm);
|
||||
technique1->addLayer(tm);
|
||||
|
||||
// add Euler layers
|
||||
technique1->addLayer(new EColLayer(uvGrid));
|
||||
technique2->addLayer(new EGlyphLayer(uvGrid));
|
||||
|
||||