VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOccupantsVisibleOnEntityCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
10 
11 #pragma once
12 
13 #include <vrvVrl/vrvVrl.h>
14 #include <vrvCore/DtVrvCommand.h>
15 
16 namespace makVrv
17 {
18  class DtSceneObject;
19 
26  {
27  public:
30 
32  virtual DtElementID elementID() const;
33 
37  virtual void setElementID(const DtElementID& entityId);
38 
41  virtual bool occupantsVisibleOnEntity() const;
42 
46  virtual void setOccupantsVisibleOnEntity(bool visible);
47 
50  virtual void execute(DtDe& de);
51 
52  private:
56 
60 
61  protected:
64  };
65 
69  {
70  public:
72  : DtVrvCommandCreator(func)
73  {
74  }
76  {
77  }
78 
79  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
80 
81  private:
83 
87 
91  };
92 
93 } //makVrv::
94 
#define DT_DLL_VRVVRL
Definition: vrvVrl.h:19
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
bool myOccupantsVisibleOnEntity
Definition: DtOccupantsVisibleOnEntityCommand.h:62
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
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
DtElementID myElementID
Definition: DtOccupantsVisibleOnEntityCommand.h:63
DtOccupantsVisibleOnEntityCommandCreator creates DtOccupantsVisibleOnEntityCommands.
Definition: DtOccupantsVisibleOnEntityCommand.h:68
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:277
virtual ~DtOccupantsVisibleOnEntityCommandCreator()
Definition: DtOccupantsVisibleOnEntityCommand.h:75
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
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
DtOccupantsVisibleOnEntityCommand toggles the OccupantsVisibleOnEntity setting for a specific entity...
Definition: DtOccupantsVisibleOnEntityCommand.h:25
DtOccupantsVisibleOnEntityCommandCreator(GlobalIdConvertFunc func)
Definition: DtOccupantsVisibleOnEntityCommand.h:71
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
Contains DLL export macros.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)