VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
makVrf::DtQtWeatherLookModificationOperation Class Reference

This class will be the interface for deciding what icons or colors to display for weather areas. More...

Inheritance diagram for makVrf::DtQtWeatherLookModificationOperation:
Inheritance graph
[legend]

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::DtDemyDe

Detailed Description

This class will be the interface for deciding what icons or colors to display for weather areas.

Constructor & Destructor Documentation

makVrf::DtQtWeatherLookModificationOperation::DtQtWeatherLookModificationOperation ( makVrv::DtDe de)

CTOR.

makVrf::DtQtWeatherLookModificationOperation::DtQtWeatherLookModificationOperation ( const DtQtWeatherLookModificationOperation orig)
virtual makVrf::DtQtWeatherLookModificationOperation::~DtQtWeatherLookModificationOperation ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtQtWeatherLookModificationOperation::modelDefinitionForWeatherLook ( const makArchives::DtEnvironmentRecord ,
std::string &   
) const
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.

virtual void makVrf::DtQtWeatherLookModificationOperation::modelDefinitionForWeatherLook ( const makArchives::DtEnvironmentRecord ,
std::string &  modelDefinitionName,
QImage &  compositeImage 
) const
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.

virtual void makVrf::DtQtWeatherLookModificationOperation::composeImage ( const std::string &  imageName,
std::string &  modelDefinition,
QImage &  compositeImage 
) const
protectedvirtual

Composes the image (assumed .svg file if no extension is given) and modifies the model def name appropriately.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)