OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
EntityVisUnstructuredScalarSurface.h
Go to the documentation of this file.
1#pragma once
2#pragma warning(disable : 4251)
3
4#include "EntityVis2D3D.h"
5#include "EntityResultBase.h"
6#include "OldTreeIcon.h"
9
10#include <list>
11
12class __declspec(dllexport) EntityVisUnstructuredScalarSurface : public EntityVis2D3D
13{
14public:
15 EntityVisUnstructuredScalarSurface(ot::UID ID, EntityBase* parent, EntityObserver* obs, ModelState* ms, ClassFactoryHandler* factory, const std::string& owner);
16 virtual ~EntityVisUnstructuredScalarSurface();
17
18 virtual std::string getClassName(void) override { return "EntityVisUnstructuredScalarSurface"; };
19
20 virtual bool updateFromProperties(void) override;
21
22 virtual void createProperties(void);
23 virtual bool updatePropertyVisibilities(void);
24
25protected:
26 virtual int getSchemaVersion(void) override { return 1; };
27 virtual void AddStorageData(bsoncxx::builder::basic::document& storage);
28 virtual void readSpecificDataFromDataBase(bsoncxx::document::view& doc_view, std::map<ot::UID, EntityBase*>& entityMap) override;
29
30private:
31 PropertyBundleScaling propertyBundleScaling;
32 PropertyBundleVisUnstructuredScalarSurface propertyBundleVisUnstructuredScalarSurface;
33 // Temporary
34 //EntityResultBase *source;
35};
36
37
38
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27