OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
VtkDriver.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include "OldTreeIcon.h"
5#include <ctime>
6
7class EntityVis2D3D;
9
11{
12public:
13 VtkDriver();
14 virtual ~VtkDriver();
15
16 virtual void setProperties(EntityVis2D3D *visEntity) = 0;
17 virtual std::string buildSceneNode(DataSourceManagerItem *dataItem) = 0;
18
19 std::list<ot::UID> GetUpdateTopoEntityID() { return updateTopoEntityID; }
20 std::list<ot::UID> GetUpdateTopoEntityVersion() { return updateTopoEntityVersion; }
22
23protected:
24 void reportTime(const std::string &message, std::time_t &timer);
25
26 std::list<ot::UID> updateTopoEntityID;
27 std::list<ot::UID> updateTopoEntityVersion;
29};
Definition DataSourceManagerItem.h:17
Definition VtkDriver.h:11
std::list< ot::UID > GetUpdateTopoEntityID()
Definition VtkDriver.h:19
std::list< ot::UID > updateTopoEntityID
Definition VtkDriver.h:26
VtkDriver()
Definition VtkDriver.cpp:55
std::list< bool > updateTopoForceVisibility
Definition VtkDriver.h:28
std::list< bool > GetUpdateTopoEntityForceVisible()
Definition VtkDriver.h:21
void reportTime(const std::string &message, std::time_t &timer)
Definition VtkDriver.cpp:65
virtual ~VtkDriver()
Definition VtkDriver.cpp:60
virtual std::string buildSceneNode(DataSourceManagerItem *dataItem)=0
std::list< ot::UID > updateTopoEntityVersion
Definition VtkDriver.h:27
virtual void setProperties(EntityVis2D3D *visEntity)=0
std::list< ot::UID > GetUpdateTopoEntityVersion()
Definition VtkDriver.h:20