VR-Forces Developer's Guide
 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 
9 
10 #pragma once
11 
12 #include <vrvCore/DtVrvCommand.h>
13 #include <vrvVrl/vrvVrl.h>
14 
15 namespace makVrv
16 {
20  {
21  public:
23  virtual ~DtGroundClampingCommand();
24 
25  virtual bool isEnabled() const;
26  virtual void setEnabled(bool state);
27 
28  virtual bool isLifeformsUpright() const;
29  virtual void setLifeformsUpright(bool state);
30 
31  virtual bool isOrientationClamped() const;
32  virtual void setOrientationClamped(bool state);
33 
34  virtual float range() const;
35  virtual void setRange(const float& newRange);
36 
37  virtual void execute(DtDe& de);
38 
39  protected:
40  bool myState;
43  float myRange;
44  };
45 
49  {
50  public:
53 
54  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
55  };
56 } //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:48
bool myLifeformsUpright
Definition: DtGroundClampingCommand.h:41
DtGroundClampingCommand enables or disables ground clamping.
Definition: DtGroundClampingCommand.h:19
bool myClampOrientation
Definition: DtGroundClampingCommand.h:42
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:277
DtGroundClampingCommandCreator(GlobalIdConvertFunc func)
Definition: DtGroundClampingCommand.h:51
float myRange
Definition: DtGroundClampingCommand.h:43
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:72
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
Contains DLL export macros.
virtual ~DtGroundClampingCommandCreator()
Definition: DtGroundClampingCommand.h:52
bool myState
Definition: DtGroundClampingCommand.h:40

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)