VR-Forces Developer's Guide
 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 
9 
10 #pragma once
11 
12 #include <vrvCore/DtVrvCommand.h>
13 
14 #include <vrvCore/DtUniqueID.h>
15 
16 #include <matrix/vlTaitBryan.h>
17 #include <matrix/vlVector.h>
18 
19 namespace makVrv
20 {
21 
25  {
26  public:
29 
31  virtual ~DtTetherTrackViewCommand();
32 
34  virtual std::string observer();
35 
37  virtual void setObserver(const std::string& newObs);
38 
41  virtual DtVector offset() const;
42 
48  virtual void setOffset(const DtVector& vec);
49 
51  virtual DtTaitBryan offsetOrientation() const;
52 
56  virtual void setOffsetOrientation(const DtTaitBryan& ori);
57 
59  virtual DtUniqueID attachedEntity() const;
60 
62  virtual void setAttachedEntity(const DtUniqueID& entityId);
63 
67  virtual DtUniqueID trackedEntity() const;
68 
70  virtual void setTrackedEntity(const DtUniqueID& entityId);
71 
73  virtual void execute(DtDe& de);
74 
75  protected:
76  std::string myObserver;
77  DtVector myOffset;
78  DtTaitBryan myOffsetOri;
81  };
82 
86  {
87  public:
90 
91  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
92  };
93 
94 } //makVrv::
DtVector myOffset
Definition: DtTetherTrackViewCommand.h:77
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:79
virtual ~DtTetherTrackViewCommandCreator()
Definition: DtTetherTrackViewCommand.h:89
DtTaitBryan myOffsetOri
Definition: DtTetherTrackViewCommand.h:78
DtTetherTrackViewCommandCreator creates DtTetherTrackViewCommands.
Definition: DtTetherTrackViewCommand.h:85
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtUniqueID myTrackedEntity
Definition: DtTetherTrackViewCommand.h:80
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:277
DtTetherTrackViewCommandCreator(GlobalIdConvertFunc func)
Definition: DtTetherTrackViewCommand.h:88
std::string myObserver
Definition: DtTetherTrackViewCommand.h:76
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:76
DtTetherTrackViewCommand enables tether track mode.
Definition: DtTetherTrackViewCommand.h:24
voidpf uLong offset
Definition: ioapi.h:42
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)