initial rough working

This commit is contained in:
robin committed 2024-05-06 11:11:12 +02:00
1 parent d7201962a5
commit 481375a6b7
22 files changed
+131 -159

No files matched your search

+4 -1
View File
@@ -4,6 +4,8 @@
#include "Layer.h"
#include <vtkPolyData.h>
#include "../advection/UVGrid.h"
/** Implements the Layer class for the case of a Eulerian visualization.
* Specifically, this class models the eulerian flow-fields of the simulation using the 'glyph' mark and 'direction' and 'form' channels to denote direction and strength of velocities.
*/
@@ -11,6 +13,7 @@ class EGlyphLayer : public Layer {
private:
vtkSmartPointer<vtkPolyData> data;
vtkSmartPointer<vtkDoubleArray> direction;
std::shared_ptr<UVGrid> uvGrid;
int numLats;
int numLons;
@@ -22,7 +25,7 @@ private:
public:
/** Constructor.
*/
EGlyphLayer();
EGlyphLayer(std::shared_ptr<UVGrid> uvGrid);
/** updates the glyphs to reflect the given timestamp in the dataset.
* @param t : the time at which to fetch the data.
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.