![]() |
VR-Forces 4.5 Class Documentation
|
This class will be the interface for deciding what icons or colors to display for weather areas. More...

Public Member Functions | |
| DtQtWeatherLookModificationOperation (makVrv::DtDe &de) | |
| CTOR. | |
| DtQtWeatherLookModificationOperation (const DtQtWeatherLookModificationOperation &orig) | |
| virtual | ~DtQtWeatherLookModificationOperation () |
| DTOR. | |
| virtual void | modelDefinitionForWeatherLook (const makArchives::DtEnvironmentRecord &, std::string &) const |
| Returns the model definition to use for display in the weather area. Calls class with a new QImage of the default size. | |
| virtual void | modelDefinitionForWeatherLook (const makArchives::DtEnvironmentRecord &, std::string &modelDefinitionName, QImage &compositeImage) const =0 |
| Creates the composite image used for displaying an icon. | |
Public Member Functions inherited from makVrf::DtWeatherLookModificationOperation | |
| DtWeatherLookModificationOperation (makVrv::DtDe &de) | |
| CTOR. | |
| DtWeatherLookModificationOperation (const DtWeatherLookModificationOperation &orig) | |
| virtual | ~DtWeatherLookModificationOperation () |
| DTOR. | |
| virtual DtWeatherLookModificationOperation * | clone () const =0 |
| Copy of this class. | |
| virtual void | modifyColorForWeather (const makArchives::DtEnvironmentRecord &, float &r, float &g, float &b, float &a) const =0 |
| Returns (in the supplied base color) the color to use for the fill of the weather area. | |
Protected Member Functions | |
| virtual void | composeImage (const std::string &imageName, std::string &modelDefinition, QImage &compositeImage) const |
| Composes the image (assumed .svg file if no extension is given) and modifies the model def name appropriately. | |
Additional Inherited Members | |
Protected Attributes inherited from makVrf::DtWeatherLookModificationOperation | |
| makVrv::DtDe & | myDe |
This class will be the interface for deciding what icons or colors to display for weather areas.
| makVrf::DtQtWeatherLookModificationOperation::DtQtWeatherLookModificationOperation | ( | makVrv::DtDe & | de | ) |
CTOR.
| makVrf::DtQtWeatherLookModificationOperation::DtQtWeatherLookModificationOperation | ( | const DtQtWeatherLookModificationOperation & | orig | ) |
|
virtual |
DTOR.
|
virtual |
Returns the model definition to use for display in the weather area. Calls class with a new QImage of the default size.
Implements makVrf::DtWeatherLookModificationOperation.
|
pure virtual |
Creates the composite image used for displaying an icon.
Also modified the model definition name to point to that image. Note that many operations can modify the name or image
Implemented in makVrf::DtQtPrecipitationWeatherLookModificationOperation, makVrf::DtQtWindStateWeatherLookModificationOperation, makVrf::DtQtVisibilityWeatherLookModificationOperation, makVrf::DtQtCloudStateWeatherLookModificationOperation, and makVrf::DtQtVisibilityStateWeatherLookModificationOperation.
|
protectedvirtual |
Composes the image (assumed .svg file if no extension is given) and modifies the model def name appropriately.