OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
PropertyBundleDataHandleScaling.h
Go to the documentation of this file.
1#pragma once
3#include "ScalingProperties.h"
4
5class __declspec(dllexport) PropertyBundleDataHandleScaling : public PropertyBundleDataHandle
6{
7public:
8 PropertyBundleDataHandleScaling(EntityBase * thisObject);
9
10 const double GetRangeMin(void) const { return rangeMin; }
11 const double GetRangeMax(void) const { return rangeMax; }
12 const int GetColourResolution(void) const { return colourResolution; }
13 const ScalingProperties::ScalingMethod GetScalingMethod(void) { return scalingMethod; }
14 const ScalingProperties::ScalingFunction GetScalingFunction(void) { return scalingFunction; }
15
16 bool UpdateMinMaxProperties(double minValue, double maxValue);
17 void GetEntityProperties(long long& _UID, long long& Version);
18
19private:
20 EntityBase* thisObject = nullptr;
21
22 ScalingProperties properties;
23 ScalingProperties::ScalingFunction scalingFunction;
24 ScalingProperties::ScalingMethod scalingMethod;
25 double rangeMin=-1.;
26 double rangeMax=-1.;
27 int colourResolution;
28
29 virtual void LoadCurrentData(EntityBase * thisObject) override;
30};