VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSpaceFollowViewCommand.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2011 MAK Technologies, Inc.
3  * All rights reserved.
4  ******************************************************************************/
5 /******************************************************************************
6  * $RCSfile: DtSpaceFollowViewCommand.h $ $Revision: 95512 $ $State: $
7  ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCore/DtVrvCommand.h>
16 #include <vrvCore/DtUniqueID.h>
17 
18 #include <matrix/vlTaitBryan.h>
19 #include <matrix/vlVector.h>
20 
21 namespace makVrv
22 {
23 
27  {
28  public:
29 
32 
34  virtual ~DtSpaceFollowViewCommand();
35 
38 
40  virtual std::string observer() const;
41 
43  virtual void setObserver( const std::string& newObs );
44 
45  virtual DtVector offset() const;
46  virtual void setOffset( const DtVector& vec );
47 
48  virtual DtTaitBryan offsetOrientation() const;
49  virtual void setOffsetOrientation( const DtTaitBryan& ori );
50 
52  virtual DtUniqueID attachedEntity() const;
53 
55  virtual void setAttachedEntity( const DtUniqueID& entityId );
56 
57  virtual DtBoolean localModelScalingEnabled() const;
58  virtual void setLocalModelScalingEnabled( DtBoolean enabled );
59 
60  virtual DtFloat32 localModelScalingAmount() const;
61  virtual void setLocalModelScalingAmount( DtFloat32 amount );
62 
64 
66  virtual void execute( DtDe& de );
67 
68  protected:
69 
70  std::string myObserver;
72  DtTaitBryan myOffsetOri;
76 
77  };
78 
82  : public DtVrvCommandCreator
83  {
84  public:
85 
88 
91 
94  virtual DtVrvCommand* create( vrvControlToolkit::DtVrvControl_v1* control );
95 
96  };
97 
98 } //makVrv::
std::string myObserver
Definition: DtSpaceFollowViewCommand.h:70
DtSpaceFollowViewCommand enables space follow mode on the named observer.
Definition: DtSpaceFollowViewCommand.h:26
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtUniqueID myAttachedEntity
Definition: DtSpaceFollowViewCommand.h:73
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
DtTaitBryan myOffsetOri
Definition: DtSpaceFollowViewCommand.h:72
float DtFloat32
Definition: vrvControlStructTypes.h:35
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
DtFloat32 myLocalModelScalingAmount
Definition: DtSpaceFollowViewCommand.h:75
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:234
DtBoolean myLocalModelScalingEnabled
Definition: DtSpaceFollowViewCommand.h:74
DtSpaceFollowViewCommandCreator creates DtSpaceFollowViewCommands.
Definition: DtSpaceFollowViewCommand.h:81
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
DtVector myOffset
Definition: DtSpaceFollowViewCommand.h:71
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
voidpf uLong offset
Definition: ioapi.h:42
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)