VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtWeatherLookModificationOperation.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 
17 namespace makVrv
18 {
19  class DtDe;
20 }
21 
22 class QImage;
23 
24 namespace makVrf
25 {
26 
29  {
30  public:
34 
37 
39  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&, std::string&) const;
40 
43  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&,
44  std::string& modelDefinitionName, QImage& compositeImage) const = 0;
45 
46  protected:
48  virtual void composeImage(const std::string& imageName, std::string& modelDefinition, QImage& compositeImage) const;
49 
50  };
51 
55  {
56  public:
60 
63 
64  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&,
65  std::string& modelDefinitionName, QImage& compositeImage) const;
66 
68  virtual void modifyColorForWeather(const makArchives::DtEnvironmentRecord&, float& r, float& g, float& b, float& a) const;
69 
70  virtual DtWeatherLookModificationOperation* clone() const;
71  };
72 
75  {
76  public:
80 
83 
84  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&,
85  std::string& modelDefinitionName, QImage& compositeImage) const;
86  virtual int highestCloudCoverTypeFromElevationalConfigurationLayers(const makArchives::DtEnvironmentRecord& rec) const;
87 
89  virtual void modifyColorForWeather(const makArchives::DtEnvironmentRecord&, float& r, float& g, float& b, float& a) const;
90 
91  virtual DtWeatherLookModificationOperation* clone() const;
92  };
93 
97  {
98  public:
101 
102  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&,
103  std::string& modelDefinitionName, QImage& compositeImage) const;
104 
106  virtual void modifyColorForWeather(const makArchives::DtEnvironmentRecord&, float& r, float& g, float& b, float& a) const;
107 
108  virtual DtWeatherLookModificationOperation* clone() const;
109  };
110 
113  {
114  public:
118 
121 
122  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&,
123  std::string& modelDefinitionName, QImage& compositeImage) const;
124 
126  virtual void modifyColorForWeather(const makArchives::DtEnvironmentRecord&, float& r, float& g, float& b, float& a) const;
127 
128  virtual DtWeatherLookModificationOperation* clone() const;
129  };
130 
133  {
134  public:
137 
138  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&,
139  std::string& modelDefinitionName, QImage& compositeImage) const;
140 
142  virtual void modifyColorForWeather(const makArchives::DtEnvironmentRecord&, float& r, float& g, float& b, float& a) const;
143 
144  virtual DtWeatherLookModificationOperation* clone() const;
145  };
146 }
This will only effect the color (alpha) based on weather visibility between 40000m and 0...
Definition: qtWeatherLookModificationOperation.h:96
This class will determine the wind state icon to use.
Definition: qtWeatherLookModificationOperation.h:112
This class will determine the cloud state icon to use.
Definition: qtWeatherLookModificationOperation.h:74
This will effect the image by adding rain drops if the weather type is rain and the intensity > 10%...
Definition: qtWeatherLookModificationOperation.h:132
Record of environment/weather settings Includes precipitation, air, and clouds.
Definition: DtEnvironmentRecord.h:36
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:20
This class will be the interface for deciding what icons or colors to display for weather areas...
Definition: qtWeatherLookModificationOperation.h:28
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
This class will be the interface for deciding what icons or colors to display for weather areas...
Definition: weatherLookModificationOperation.h:24
This class will determine the visibility backdrop (0 - 20 = low, 20 - 75 = medium, 75+ = high). The percentage is based on an upper limit of 40000m.
Definition: qtWeatherLookModificationOperation.h:54

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)