VR-Forces 4.8 Class Documentation
 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) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: $ $Revision: 95512 $ $State: $
7 *******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCore/DtVrvCommand.h>
16 
17 namespace makVrv
18 {
22  {
23  public:
24  DtFogCommand();
25  virtual ~DtFogCommand();
26 
27  virtual float distance() const;
28  virtual void setDistance(const float& d);
29 
30  virtual void execute(DtDe& de);
31 
32  protected:
33  float myDistance;
34 
35  };
36 
40  {
41  public:
43  virtual ~DtFogCommandCreator() {}
44 
45  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
46  };
47 } //makVrv::
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtFogCommandCreator(GlobalIdConvertFunc func)
Definition: DtFogCommand.h:42
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:43
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtFogCommand enables or disables fog.
Definition: DtFogCommand.h:21
float myDistance
Definition: DtFogCommand.h:33
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:234
DtFogCommandCreator creates DtFogCommands.
Definition: DtFogCommand.h:39
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)