VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTetherLocationTrackViewCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
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:
29 
31  virtual std::string observer();
32 
34  virtual void setObserver(const std::string& newObs);
35 
38  virtual DtVector offset() const;
39 
44  virtual void setOffset(const DtVector& vec);
45 
47  virtual DtUniqueID attachedEntity() const;
48 
50  virtual void setAttachedEntity(const DtUniqueID& entityId);
51 
55  virtual DtVector trackedLocation() const;
56 
58  virtual void setTrackedLocation(const DtVector& location);
59 
61  virtual void execute(DtDe& de);
62 
63  protected:
64  std::string myObserver;
65  DtVector myOffset;
68  };
69 
74  : public DtVrvCommandCreator
75  {
76  public:
78  DtVrvCommandCreator(func) {}
79 
81 
82  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
83  };
84 
85 } //makVrv::
DtUniqueID myAttachedEntity
Definition: DtTetherLocationTrackViewCommand.h:66
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtVector myOffset
Definition: DtTetherLocationTrackViewCommand.h:65
virtual ~DtTetherLocationTrackViewCommandCreator()
Definition: DtTetherLocationTrackViewCommand.h:80
DtTetherLocationTrackViewCommand enables Tether track on the named observer.
Definition: DtTetherLocationTrackViewCommand.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
DtVector myTrackedLocation
Definition: DtTetherLocationTrackViewCommand.h:67
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:277
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
Contains makVrv::DtUniqueID type.
std::string myObserver
Definition: DtTetherLocationTrackViewCommand.h:64
DtTetherLocationTrackViewCommandCreator creates DtTetherLocationTrackViewCommands.
Definition: DtTetherLocationTrackViewCommand.h:73
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
DtTetherLocationTrackViewCommandCreator(GlobalIdConvertFunc func)
Definition: DtTetherLocationTrackViewCommand.h:77
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)