VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTetherViewCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 
11 #pragma once
12 
13 #include <vrvCore/DtVrvCommand.h>
14 
15 #include <vrvCore/DtUniqueID.h>
16 
17 #include <matrix/vlTaitBryan.h>
18 #include <matrix/vlVector.h>
19 
20 namespace makVrv
21 {
25  {
26  public:
28  virtual ~DtTetherViewCommand();
29 
31  virtual std::string observer();
32 
34  virtual void setObserver(const std::string& newObs);
35 
38  virtual DtVector offset() const;
39 
43  virtual void setOffset(const DtVector& vec);
44 
46  virtual DtTaitBryan offsetOrientation() const;
47 
49  virtual void setOffsetOrientation(const DtTaitBryan& ori);
50 
53  virtual DtTaitBryan orientation() const;
54 
60  virtual void setOrientation(const DtTaitBryan& ori);
61 
63  virtual DtUniqueID attachedEntity() const;
64 
66  virtual void setAttachedEntity(const DtUniqueID& entityId);
67 
69  virtual void execute(DtDe& de);
70 
71  protected:
72  std::string myObserver;
74  DtTaitBryan myOrientation;
76  };
77 
81  {
82  public:
85 
86  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
87  };
88 
89 } //makVrv::
virtual ~DtTetherViewCommandCreator()
Definition: DtTetherViewCommand.h:84
DtUniqueID myAttachedEntity
Definition: DtTetherViewCommand.h:75
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtTetherViewCommand enables tether mode.
Definition: DtTetherViewCommand.h:24
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
std::string myObserver
Definition: DtTetherViewCommand.h:72
DtVector myOffset
Definition: DtTetherViewCommand.h:73
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
DtTaitBryan myOrientation
Definition: DtTetherViewCommand.h:74
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
Contains makVrv::DtUniqueID type.
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
DtTetherViewCommandCreator(GlobalIdConvertFunc func)
Definition: DtTetherViewCommand.h:83
voidpf uLong offset
Definition: ioapi.h:42
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
DtTetherViewCommandCreator creates DtTetherViewCommand.
Definition: DtTetherViewCommand.h:80

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)