VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHideModelOnAttachCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
10 
11 #pragma once
12 
13 #include <vrvCore/DtVrvCommand.h>
14 
15 #include <matrix/vlTaitBryan.h>
16 #include <matrix/vlVector.h>
17 
18 namespace makVrv
19 {
24  {
25  public:
27  virtual ~DtHideModelOnAttachCommand();
28 
29  virtual std::string observer();
30  virtual void setObserver(const std::string& newObs);
31 
32  virtual bool hideModelOnAttach() const;
33  virtual void setHideModelOnAttach( bool hideOnAttach );
34 
35  virtual void execute(DtDe& de);
36 
37  protected:
38  std::string myObserver;
40  };
41 
45  {
46  public:
48  : DtVrvCommandCreator(func)
49  {
50  }
52  {
53  }
54 
55  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
56 
57  private:
59 
60  };
61 
62 } //makVrv::
63 
virtual ~DtHideModelOnAttachCommandCreator()
Definition: DtHideModelOnAttachCommand.h:51
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtHideModelOnAttachCommandCreator(GlobalIdConvertFunc func)
Definition: DtHideModelOnAttachCommand.h:47
DtHideModelOnAttachCommand toggles the hideModelOnAttach setting on an observer (or all observers if ...
Definition: DtHideModelOnAttachCommand.h:23
DtHideModelOnAttachCommandCreator creates DtHideModelOnAttachCommands.
Definition: DtHideModelOnAttachCommand.h:44
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
std::string myObserver
Definition: DtHideModelOnAttachCommand.h:38
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:277
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
bool myHideModelOnAttach
Definition: DtHideModelOnAttachCommand.h:39
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)