VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGroundClampingCommand.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 #include <vrvVrl/vrvVrl.h>
17 
18 namespace makVrv
19 {
23  {
24  public:
26  virtual ~DtGroundClampingCommand();
27 
28  virtual bool isEnabled() const;
29  virtual void setEnabled(bool state);
30 
31  virtual bool isLifeformsUpright() const;
32  virtual void setLifeformsUpright(bool state);
33 
34  virtual bool isOrientationClamped() const;
35  virtual void setOrientationClamped(bool state);
36 
37  virtual float range() const;
38  virtual void setRange(const float& newRange);
39 
40  virtual void execute(DtDe& de);
41 
42  protected:
43  bool myState;
46  float myRange;
47  };
48 
52  {
53  public:
56 
57  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
58  };
59 } //makVrv::
#define DT_DLL_VRVVRL
Definition: vrvVrl.h:19
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
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
DtGroundClampingCommandCreator creates DtGroundClampingCommands.
Definition: DtGroundClampingCommand.h:51
bool myLifeformsUpright
Definition: DtGroundClampingCommand.h:44
DtGroundClampingCommand enables or disables ground clamping.
Definition: DtGroundClampingCommand.h:22
bool myClampOrientation
Definition: DtGroundClampingCommand.h:45
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:234
DtGroundClampingCommandCreator(GlobalIdConvertFunc func)
Definition: DtGroundClampingCommand.h:54
float myRange
Definition: DtGroundClampingCommand.h:46
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.
Contains DLL export macros.
virtual ~DtGroundClampingCommandCreator()
Definition: DtGroundClampingCommand.h:55
bool myState
Definition: DtGroundClampingCommand.h:43

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)