VR-Forces 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 
36  virtual ~DtQtWeatherLookModificationOperation() override;
37 
39  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&, std::string&) const override;
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 override;
66 
68  virtual void modifyColorForWeather(
69  const makArchives::DtEnvironmentRecord&, float& r, float& g, float& b, float& a) const override;
70 
71  virtual DtWeatherLookModificationOperation* clone() const override;
72  };
73 
76  {
77  public:
81 
84 
85  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&,
86  std::string& modelDefinitionName, QImage& compositeImage) const override;
87  virtual int highestCloudCoverTypeFromElevationalConfigurationLayers(const makArchives::DtEnvironmentRecord& rec) const;
88 
90  virtual void modifyColorForWeather(
91  const makArchives::DtEnvironmentRecord&, float& r, float& g, float& b, float& a) const override;
92 
93  virtual DtWeatherLookModificationOperation* clone() const override;
94  };
95 
99  {
100  public:
103 
104  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&,
105  std::string& modelDefinitionName, QImage& compositeImage) const override;
106 
108  virtual void modifyColorForWeather(
109  const makArchives::DtEnvironmentRecord&, float& r, float& g, float& b, float& a) const override;
110 
111  virtual DtWeatherLookModificationOperation* clone() const override;
112  };
113 
116  {
117  public:
121 
124 
125  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&,
126  std::string& modelDefinitionName, QImage& compositeImage) const override;
127 
129  virtual void modifyColorForWeather(
130  const makArchives::DtEnvironmentRecord&, float& r, float& g, float& b, float& a) const override;
131 
132  virtual DtWeatherLookModificationOperation* clone() const override;
133  };
134 
137  {
138  public:
141 
142  virtual void modelDefinitionForWeatherLook(const makArchives::DtEnvironmentRecord&,
143  std::string& modelDefinitionName, QImage& compositeImage) const override;
144 
146  virtual void modifyColorForWeather(
147  const makArchives::DtEnvironmentRecord&, float& r, float& g, float& b, float& a) const override;
148 
149  virtual DtWeatherLookModificationOperation* clone() const override;
150  };
151 }
This will only effect the color (alpha) based on weather visibility between 40000m and 0...
Definition: qtWeatherLookModificationOperation.h:98
This class will determine the wind state icon to use.
Definition: qtWeatherLookModificationOperation.h:115
This class will determine the cloud state icon to use.
Definition: qtWeatherLookModificationOperation.h:75
This will effect the image by adding rain drops if the weather type is rain and the intensity > 10%...
Definition: qtWeatherLookModificationOperation.h:136
Record of environment/weather settings Includes precipitation, air, and clouds.
Definition: DtEnvironmentRecord.h:45
#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:76
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)