VR-Forces Developer's Guide
 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 
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 ~DtTrackViewCommand();
32 
34  virtual std::string observer();
35 
37  virtual void setObserver(const std::string& newObs);
38 
41  virtual DtVector worldPosition();
42 
45  virtual void setWorldPosition(const DtVector& vec);
46 
50  virtual DtUniqueID trackedEntity() const;
51 
53  virtual void setTrackedEntity( const DtUniqueID& entityElementID );
54 
56  virtual void execute(DtDe& de);
57 
58  protected:
59  std::string myObserver;
62  };
63 
67  {
68  public:
71 
72  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
73  };
74 
75 } //makVrv::
DtUniqueID myTrackedEntity
Definition: DtTrackViewCommand.h:60
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtTrackViewCommandCreator(GlobalIdConvertFunc func)
Definition: DtTrackViewCommand.h:69
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:66
DtVector myWorldPos
Definition: DtTrackViewCommand.h:61
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtTrackViewCommand enables or disables tracks.
Definition: DtTrackViewCommand.h:24
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:277
std::string myObserver
Definition: DtTrackViewCommand.h:59
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
Contains makVrv::DtUniqueID type.
virtual ~DtTrackViewCommandCreator()
Definition: DtTrackViewCommand.h:70
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:72
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)