VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
environmentalCopyObject.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include <vrfGuiCore/vrfGuiCore.h>
15 #include <vrfGuiCore/copyObject.h>
19 
20 namespace makVrf
21 {
23  {
24  public:
26  virtual ~DtEnvironmentalCopyObject();
27 
28  public:
30  virtual DtGeodeticCoord calculateCenter() const;
31 
33  {
34  return myFacade;
35  }
36 
39  {
40  return myFacade;
41  }
42 
43  protected:
46  virtual void write(std::ostringstream& str, const makVrv::DtVrlinkSimulatedBaseState* data, makVrv::DtUniqueID id);
47  virtual void write(std::ostringstream& str, const DtVrlinkSimulatedEnvironmentProcess* data, makVrv::DtUniqueID id);
48 
51  virtual void read(std::istringstream& str, makVrv::DtVrlinkSimulatedBaseState* data);
52  virtual void read(std::istringstream& str, DtVrlinkSimulatedEnvironmentProcess* data);
53 
54  virtual makVrv::DtVrlinkSimulatedBaseState* createReadableStateData() const;
55 
56  protected:
60  };
61 
64  {
65  public:
68 
70  virtual void createFacade(const DtGeodeticCoord& origin);
71 
73  virtual void setOrigin(const DtGeodeticCoord&);
74 
76  virtual DtVector origin() const;
77 
78  protected:
79  virtual void createObject(const DtVector& center);
80 
81  protected:
83  };
84 
87  {
88  public:
91 
93  virtual void createFacade(const DtGeodeticCoord& origin);
94 
95 
97  virtual void setOrigin(const DtGeodeticCoord&);
98 
100  virtual DtVector origin() const;
101 
102  protected:
103  virtual void createObject(const DtVector& center);
104 
105  virtual void setupOffsets(const DtGeodeticCoord&);
106  virtual bool preserveOffsets() const;
107 
108  virtual void copy(makVrv::DtSimEntry* simEntry);
109 
110  protected:
112  };
113 
117  {
118  public:
119  virtual DtCopyObject* create(makVrv::DtDe&);
120  };
121 
125  {
126  public:
127  virtual DtCopyObject* create(makVrv::DtDe&);
128  };
129 }
class DtEnvironmentalFacadeCollection
Definition: environmentalFacadeCollection.h:77
DtChangeWeatherCommand myWeatherCommand
Definition: environmentalCopyObject.h:59
voidpf uLong int origin
Definition: ioapi.h:42
virtual DtVrfObjectFacadeInterface * facade() const
Returns the facade.
Definition: environmentalCopyObject.h:38
Class used to create point facades for paste.
Definition: environmentalCopyObject.h:63
A DtSimEntry is a container of DtSimState&#39;s and represents the total state of an simulation object...
Definition: DtSimEntry.h:27
Creator used to create copy classes. Subclass to implement create() method to return object used for ...
Definition: copyObject.h:374
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Creator used to create copy classes. Subclass to implement create() method to return object used for ...
Definition: environmentalCopyObject.h:124
DtEnvironmentalFacadeCollection * myFacade
Definition: environmentalCopyObject.h:57
Definition: vrfObjectFacadeInterface.h:54
Class used to create shape facades for paste.
Definition: environmentalCopyObject.h:86
DtVector myPosition
Definition: environmentalCopyObject.h:82
Creator used to create copy classes. Subclass to implement create() method to return object used for ...
Definition: environmentalCopyObject.h:116
Definition: copyObject.h:124
A DtSimCommand subclass which specifies a change to the weather settings for the specified weather ar...
Definition: changeWeatherCommand.h:29
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtEnvironmentalFacadeCollection * facade()
Definition: environmentalCopyObject.h:32
DtVector myPosition
Definition: environmentalCopyObject.h:111
Definition: environmentalCopyObject.h:22
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
bool myIsWeather
Definition: environmentalCopyObject.h:58

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)