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>
18 
19 namespace makVrf
20 {
22  {
23  public:
25  virtual ~DtEnvironmentalCopyObject() override;
26 
27  public:
29  virtual DtGeodeticCoord calculateCenter() const override;
30 
32  {
33  return myFacade;
34  }
35 
37  virtual DtVrfObjectFacadeInterface* facade() const override {
38  return myFacade;
39  }
40 
41  protected:
44  virtual void write(std::ostringstream& str, DtSimObjectReference) override;
45 
48  virtual void readAdditionalData(std::istringstream& str) override;
49 
50  protected:
54  };
55 
58  {
59  public:
61  virtual ~DtEnvironmentalPointCopyObject() override;
62 
64  virtual void createFacade(const DtGeodeticCoord& origin) override;
65 
67  virtual void setOrigin(const DtGeodeticCoord&) override;
68 
70  virtual DtVector origin() const override;
71 
72  protected:
73  virtual void createObject(const DtVector& center) override;
74 
75  protected:
76  DtVector myPosition;
77  };
78 
81  {
82  public:
84  virtual ~DtEnvironmentalShapeCopyObject() override;
85 
87  virtual void createFacade(const DtGeodeticCoord& origin) override;
88 
89 
91  virtual void setOrigin(const DtGeodeticCoord&) override;
92 
94  virtual DtVector origin() const override;
95 
96  protected:
97  virtual void createObject(const DtVector& center) override;
98 
99  virtual void setupOffsets(const DtGeodeticCoord&) override;
100  virtual bool preserveOffsets() const override;
101 
102  protected:
103  DtVector myPosition;
104  };
105 
109  {
110  public:
111  virtual DtCopyObject* create(makVrv::DtDe&) override;
112  };
113 
117  {
118  public:
119  virtual DtCopyObject* create(makVrv::DtDe&) override;
120  };
121 }
class DtEnvironmentalFacadeCollection
Definition: environmentalFacadeCollection.h:76
virtual DtVrfObjectFacadeInterface * facade() const override
Returns the facade.
Definition: environmentalCopyObject.h:37
DtChangeWeatherCommand myWeatherCommand
Definition: environmentalCopyObject.h:53
voidpf uLong int origin
Definition: ioapi.h:42
Class used to create point facades for paste.
Definition: environmentalCopyObject.h:57
Creator used to create copy classes. Subclass to implement create() method to return object used for ...
Definition: copyObject.h:360
#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:116
DtEnvironmentalFacadeCollection * myFacade
Definition: environmentalCopyObject.h:51
Definition: vrfObjectFacadeInterface.h:53
Class used to create shape facades for paste.
Definition: environmentalCopyObject.h:80
DtVector myPosition
Definition: environmentalCopyObject.h:76
Creator used to create copy classes. Subclass to implement create() method to return object used for ...
Definition: environmentalCopyObject.h:108
Definition: copyObject.h:124
A DtSimCommand subclass which specifies a change to the weather settings for the specified weather ar...
Definition: changeWeatherCommand.h:29
DtEnvironmentalFacadeCollection * facade()
Definition: environmentalCopyObject.h:31
DtVector myPosition
Definition: environmentalCopyObject.h:103
Definition: environmentalCopyObject.h:21
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:76
bool myIsWeather
Definition: environmentalCopyObject.h:52

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)