OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
EntityVisUnstructuredScalarVolume.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"
10
11#include <list>
12
13class __declspec(dllexport) EntityVisUnstructuredScalarVolume : public EntityVis2D3D
14{
15public:
16 EntityVisUnstructuredScalarVolume(ot::UID ID, EntityBase* parent, EntityObserver* obs, ModelState* ms, ClassFactoryHandler* factory, const std::string& owner);
17 virtual ~EntityVisUnstructuredScalarVolume();
18
19 virtual std::string getClassName(void) override { return "EntityVisUnstructuredScalarVolume"; };
20
21 virtual bool updateFromProperties(void) override;
22
23 virtual void createProperties(void);
24 virtual bool updatePropertyVisibilities(void);
25
26protected:
27 virtual int getSchemaVersion(void) override { return 1; };
28 virtual void AddStorageData(bsoncxx::builder::basic::document& storage);
29 virtual void readSpecificDataFromDataBase(bsoncxx::document::view& doc_view, std::map<ot::UID, EntityBase*>& entityMap) override;
30
31private:
32 PropertyBundlePlane propertyBundlePlane;
33 PropertyBundleScaling propertyBundleScaling;
34 PropertyBundleVisUnstructuredScalar propertyBundleVisUnstructuredScalar;
35 // Temporary
36 //EntityResultBase *source;
37};
38
39
40
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27