VR-Forces 4.10 Class Documentation
 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>
20 
21 namespace makVrf
22 {
24  {
25  public:
27  virtual ~DtEnvironmentalCopyObject();
28 
29  public:
31  virtual DtGeodeticCoord calculateCenter() const;
32 
34  {
35  return myFacade;
36  }
37 
40  {
41  return myFacade;
42  }
43 
44  protected:
47  virtual void write(std::ostringstream& str, const makVrv::DtVrlinkSimulatedBaseState* data, makVrv::DtUniqueID id);
48  virtual void write(std::ostringstream& str, const DtVrlinkSimulatedEnvironmentProcess* data, makVrv::DtUniqueID id);
49 
52  virtual void read(std::istringstream& str, makVrv::DtVrlinkSimulatedBaseState* data);
53  virtual void read(std::istringstream& str, DtVrlinkSimulatedEnvironmentProcess* data);
54 
55  virtual makVrv::DtVrlinkSimulatedBaseState* createReadableStateData() const;
56 
57  protected:
63  };
64 
67  {
68  public:
71 
73  virtual void createFacade(const DtGeodeticCoord& origin);
74 
76  virtual void setOrigin(const DtGeodeticCoord&);
77 
79  virtual DtVector origin() const;
80 
81  protected:
82  virtual void createObject(const DtVector& center);
83 
84  protected:
86  };
87 
90  {
91  public:
94 
96  virtual void createFacade(const DtGeodeticCoord& origin);
97 
98 
100  virtual void setOrigin(const DtGeodeticCoord&);
101 
103  virtual DtVector origin() const;
104 
105  protected:
106  virtual void createObject(const DtVector& center);
107 
108  virtual void setupOffsets(const DtGeodeticCoord&);
109  virtual bool preserveOffsets() const;
110 
111  virtual void copy(makVrv::DtSimEntry* simEntry);
112 
113  protected:
115  };
116 
120  {
121  public:
122  virtual DtCopyObject* create(makVrv::DtDe&);
123  };
124 
128  {
129  public:
130  virtual DtCopyObject* create(makVrv::DtDe&);
131  };
132 }
Definition: environmentalFacadeCollection.h:66
DtChangeWeatherCommand myWeatherCommand
Definition: environmentalCopyObject.h:61
voidpf uLong int origin
Definition: ioapi.h:42
virtual DtVrfObjectFacadeInterface * facade() const
Returns the facade.
Definition: environmentalCopyObject.h:39
Class used to create point facades for paste.
Definition: environmentalCopyObject.h:66
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.
Definition: copyObject.h:370
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Creator used to create copy classes.
Definition: environmentalCopyObject.h:127
DtEnvironmentalFacadeCollection * myFacade
Definition: environmentalCopyObject.h:58
bool myIsCloudLayer
Definition: environmentalCopyObject.h:60
Definition: vrfObjectFacadeInterface.h:47
Class used to create shape facades for paste.
Definition: environmentalCopyObject.h:89
DtVector myPosition
Definition: environmentalCopyObject.h:85
Creator used to create copy classes.
Definition: environmentalCopyObject.h:119
Definition: copyObject.h:124
A DtSimCommand subclass which specifies a change to the cloud layer settings for the specified cloud ...
Definition: changeCloudLayerCommand.h:25
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:33
DtVector myPosition
Definition: environmentalCopyObject.h:114
Definition: environmentalCopyObject.h:23
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtChangeCloudLayerCommand myCloudLayerCommand
Definition: environmentalCopyObject.h:62
bool myIsWeather
Definition: environmentalCopyObject.h:59

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)