VR-Forces 4.8 Class Documentation
 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 /*******************************************************************************
6 ** $RCSfile: $ $Revision: 95512 $ $State: $
7 *******************************************************************************/
8 
12 
13 
14 #pragma once
15 
16 #include <vrvCore/DtVrvCommand.h>
17 
18 #include <vrvCore/DtUniqueID.h>
19 
20 #include <matrix/vlTaitBryan.h>
21 #include <matrix/vlVector.h>
22 
23 namespace makVrv
24 {
28  {
29  public:
31  virtual ~DtTetherViewCommand();
32 
34  virtual std::string observer();
35 
37  virtual void setObserver(const std::string& newObs);
38 
41  virtual DtVector offset() const;
42 
46  virtual void setOffset(const DtVector& vec);
47 
49  virtual DtTaitBryan offsetOrientation() const;
50 
52  virtual void setOffsetOrientation(const DtTaitBryan& ori);
53 
56  virtual DtTaitBryan orientation() const;
57 
63  virtual void setOrientation(const DtTaitBryan& ori);
64 
66  virtual DtUniqueID attachedEntity() const;
67 
69  virtual void setAttachedEntity(const DtUniqueID& entityId);
70 
72  virtual void execute(DtDe& de);
73 
74  protected:
75  std::string myObserver;
77  DtTaitBryan myOrientation;
79  };
80 
84  {
85  public:
88 
89  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
90  };
91 
92 } //makVrv::
virtual ~DtTetherViewCommandCreator()
Definition: DtTetherViewCommand.h:87
DtUniqueID myAttachedEntity
Definition: DtTetherViewCommand.h:78
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtTetherViewCommand enables tether mode.
Definition: DtTetherViewCommand.h:27
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:75
DtVector myOffset
Definition: DtTetherViewCommand.h:76
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:234
DtTaitBryan myOrientation
Definition: DtTetherViewCommand.h:77
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.
Definition: DtDe.h:69
DtTetherViewCommandCreator(GlobalIdConvertFunc func)
Definition: DtTetherViewCommand.h:86
voidpf uLong offset
Definition: ioapi.h:42
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
DtTetherViewCommandCreator creates DtTetherViewCommand.
Definition: DtTetherViewCommand.h:83

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)