VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtFollowViewCommand.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 #include <vrvCore/DtUniqueID.h>
14 #include <matrix/vlTaitBryan.h>
15 #include <matrix/vlVector.h>
16 
17 namespace makVrv
18 {
22  {
23  public:
26 
28  virtual ~DtFollowViewCommand();
29 
31  virtual std::string observer();
32 
34  virtual void setObserver(const std::string& newObs);
35 
38  virtual DtVector offset() const;
39 
47  virtual void setOffset(const DtVector& vec);
48 
51  virtual DtTaitBryan offsetOrientation() const;
52 
57  virtual void setOffsetOrientation(const DtTaitBryan& ori);
58 
60  virtual DtUniqueID attachedEntity() const;
61 
63  virtual void setAttachedEntity(const DtUniqueID& entityId);
64 
66  virtual void execute(DtDe& de);
67 
68  protected:
69  std::string myObserver;
71  DtTaitBryan myOffsetOri;
73  };
74 
78  {
79  public:
82 
83  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
84  };
85 
86 } //makVrv::
DtFollowViewCommand enables follow mode on the named observer.
Definition: DtFollowViewCommand.h:21
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtUniqueID myAttachedEntity
Definition: DtFollowViewCommand.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
DtFollowViewCommandCreator creates DtFollowViewCommands.
Definition: DtFollowViewCommand.h:77
DtTaitBryan myOffsetOri
Definition: DtFollowViewCommand.h:71
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::string myObserver
Definition: DtFollowViewCommand.h:69
virtual ~DtFollowViewCommandCreator()
Definition: DtFollowViewCommand.h:81
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
DtFollowViewCommandCreator(GlobalIdConvertFunc func)
Definition: DtFollowViewCommand.h:80
DtVector myOffset
Definition: DtFollowViewCommand.h:70
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:70
voidpf uLong offset
Definition: ioapi.h:42
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)