VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTetherTrackViewCommand.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 #include <vrvCore/DtUniqueID.h>
18 
19 #include <matrix/vlTaitBryan.h>
20 #include <matrix/vlVector.h>
21 
22 namespace makVrv
23 {
24 
28  {
29  public:
32 
34  virtual ~DtTetherTrackViewCommand();
35 
37  virtual std::string observer();
38 
40  virtual void setObserver(const std::string& newObs);
41 
44  virtual DtVector offset() const;
45 
51  virtual void setOffset(const DtVector& vec);
52 
54  virtual DtTaitBryan offsetOrientation() const;
55 
59  virtual void setOffsetOrientation(const DtTaitBryan& ori);
60 
62  virtual DtUniqueID attachedEntity() const;
63 
65  virtual void setAttachedEntity(const DtUniqueID& entityId);
66 
70  virtual DtUniqueID trackedEntity() const;
71 
73  virtual void setTrackedEntity(const DtUniqueID& entityId);
74 
76  virtual void execute(DtDe& de);
77 
78  protected:
79  std::string myObserver;
81  DtTaitBryan myOffsetOri;
84  };
85 
89  {
90  public:
93 
94  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
95  };
96 
97 } //makVrv::
DtVector myOffset
Definition: DtTetherTrackViewCommand.h:80
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
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtUniqueID myAttachedEntity
Definition: DtTetherTrackViewCommand.h:82
virtual ~DtTetherTrackViewCommandCreator()
Definition: DtTetherTrackViewCommand.h:92
DtTaitBryan myOffsetOri
Definition: DtTetherTrackViewCommand.h:81
DtTetherTrackViewCommandCreator creates DtTetherTrackViewCommands.
Definition: DtTetherTrackViewCommand.h:88
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
DtUniqueID myTrackedEntity
Definition: DtTetherTrackViewCommand.h:83
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:234
DtTetherTrackViewCommandCreator(GlobalIdConvertFunc func)
Definition: DtTetherTrackViewCommand.h:91
std::string myObserver
Definition: DtTetherTrackViewCommand.h:79
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
DtTetherTrackViewCommand enables tether track mode.
Definition: DtTetherTrackViewCommand.h:27
voidpf uLong offset
Definition: ioapi.h:42
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)