VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTrackViewCommand.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 ~DtTrackViewCommand();
35 
37  virtual std::string observer();
38 
40  virtual void setObserver(const std::string& newObs);
41 
44  virtual DtVector worldPosition();
45 
48  virtual void setWorldPosition(const DtVector& vec);
49 
53  virtual DtUniqueID trackedEntity() const;
54 
56  virtual void setTrackedEntity( const DtUniqueID& entityElementID );
57 
59  virtual void execute(DtDe& de);
60 
61  protected:
62  std::string myObserver;
65  };
66 
70  {
71  public:
74 
75  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
76  };
77 
78 } //makVrv::
DtUniqueID myTrackedEntity
Definition: DtTrackViewCommand.h:63
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtTrackViewCommandCreator(GlobalIdConvertFunc func)
Definition: DtTrackViewCommand.h:72
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
DtTrackViewCommandCreator creates DtTrackViewCommand.
Definition: DtTrackViewCommand.h:69
DtVector myWorldPos
Definition: DtTrackViewCommand.h:64
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtTrackViewCommand enables or disables tracks.
Definition: DtTrackViewCommand.h:27
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:234
std::string myObserver
Definition: DtTrackViewCommand.h:62
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
Contains makVrv::DtUniqueID type.
virtual ~DtTrackViewCommandCreator()
Definition: DtTrackViewCommand.h:73
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
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)