VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDetachViewCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/DtVrvCommand.h>
13 #include <matrix/vlVector.h>
14 
15 namespace makVrv
16 {
21  {
22  public:
24  virtual ~DtDetachViewCommand();
25 
26  virtual std::string observer();
27  virtual void setObserver(const std::string& newObs);
28 
29  virtual void execute(DtDe& de);
30 
31  protected:
32  std::string myObserver;
33  };
34 
38  {
39  public:
42 
43  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
44  };
45 
46 } //makVrv::
47 
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtDetachViewCommandCreator creates DtDetachViewCommands.
Definition: DtDetachViewCommand.h:37
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
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::string myObserver
Definition: DtDetachViewCommand.h:32
virtual ~DtDetachViewCommandCreator()
Definition: DtDetachViewCommand.h:41
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:277
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
DtDetachViewCommandCreator(GlobalIdConvertFunc func)
Definition: DtDetachViewCommand.h:40
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
DtDetachViewCommand detaches the observer (if attached) and leaves it at the current position and ori...
Definition: DtDetachViewCommand.h:20
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)