OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
VtkDriverGeneric.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <ctime>
5
6#include "VtkDriver.h"
7
9{
10public:
12 virtual ~VtkDriverGeneric();
13
14 virtual void setProperties(EntityVis2D3D *visEntity) override;
15 virtual std::string buildSceneNode(DataSourceManagerItem *dataItem) override;
16
17private:
18 enum tType {ARROWS, CONTOUR, CARPET, ISOLINES};
19
20 void setVisualizationType(tType type) { visualizationType = type; }
21 void setNormal(double nx, double ny, double nz) { normal[0] = nx; normal[1] = ny; normal[2] = nz; };
22 void setCenter(double cx, double cy, double cz) { center[0] = cx; center[1] = cy; center[2] = cz; };
23
24 std::string dataName;
25 tType visualizationType;
26 double normal[3];
27 double center[3];
28};
Definition DataSourceManagerItem.h:17
Definition VtkDriverGeneric.h:9
virtual void setProperties(EntityVis2D3D *visEntity) override
Definition VtkDriverGeneric.cpp:67
virtual std::string buildSceneNode(DataSourceManagerItem *dataItem) override
Definition VtkDriverGeneric.cpp:142
virtual ~VtkDriverGeneric()
Definition VtkDriverGeneric.cpp:62
VtkDriverGeneric()
Definition VtkDriverGeneric.cpp:55
Definition VtkDriver.h:11