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