VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtFogCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
10 
11 #pragma once
12 
13 #include <vrvCore/DtVrvCommand.h>
14 
15 namespace makVrv
16 {
17 
21  {
22  public:
23  DtFogCommand();
24  virtual ~DtFogCommand();
25 
27  virtual float distance() const;
28 
30  virtual void setDistance(const float& d);
31 
33  virtual float baseMSLAltitude() const;
34 
36  virtual void setBaseMSLAltitude(const float& alt);
37 
45  virtual void execute(DtDe& de);
46 
47  protected:
48  float myDistance;
50 
51  };
52 
56  {
57  public:
59  virtual ~DtFogCommandCreator() {}
60 
61  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
62  };
63 } //makVrv::
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtFogCommandCreator(GlobalIdConvertFunc func)
Definition: DtFogCommand.h:58
boost::function< DtUniqueID(const std::string &)> GlobalIdConvertFunc
typedef for the function that takes a protocol specific id (as a string) and looks up the DtUniqueID ...
Definition: DtVrvCommand.h:40
virtual ~DtFogCommandCreator()
Definition: DtFogCommand.h:59
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points. Coordinates are in local database coordinates The coordinat...
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtFogCommand enables or disables fog.
Definition: DtFogCommand.h:20
float myDistance
Definition: DtFogCommand.h:48
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
DtFogCommandCreator creates DtFogCommands.
Definition: DtFogCommand.h:55
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
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
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
float myBaseMSLAltitude
Definition: DtFogCommand.h:49

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)