VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwDynamicTerrainItem.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 
10 #pragma once
11 
15 #include "readerWriter/rwVector.h"
16 #include <readerWriter/rwReal.h>
17 #include <readerWriter/rwInt.h>
18 #include "vrfutil/rwKeyValueList.h"
19 #include "vrfutil/rwVectorList.h"
21 
25 {
26 public:
27  DtRwDynamicTerrainItem(const DtString& name = DtString::nullString(),
28  DtReaderWriterRegistry* const parentRegistry = NULL);
29 
31  virtual ~DtRwDynamicTerrainItem();
32 
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
38  DtRwDynamicTerrainItem(const DtString& name,
39  const DtRwDynamicTerrainItem& orig,
40  DtReaderWriterRegistry* parentRegistry = NULL);
41 
43  DtRwDynamicTerrainItem(const DtString& name,
44  const DtTerrainGeometryAndData& orig,
45  DtReaderWriterRegistry* parentRegistry = NULL);
46 
50 
51  bool operator==(const DtRwDynamicTerrainItem& rhs) const;
52 
56  virtual const char* readerWriterType() const;
57 
59  virtual void prepareForOutput();
60 
62  virtual void updateAfterInput();
63 
64 protected:
65 
67  virtual void prePutSelf();
68 
70  virtual void postGetSelf();
71 
72 protected:
73 
75 
78 
81 
85 };
86 
88 
89 
bool operator==(const DtReaderWriter &) const
Equivalence operator.
virtual void prePutSelf()
Called before either version of put self (file or environment). Default is no-op. ...
DtRwKeyValueList myDataToSave
Definition: rwDynamicTerrainItem.h:84
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is.
Class which holds a list of string key and string value pairs.
Definition: rwKeyValueList.h:21
Definition: terrainGeometryAndData.h:24
DtRwTemplatedListPtr< DtRwDynamicTerrainItem, true > DtRwDynamicTerrainItemList
Definition: rwDynamicTerrainItem.h:87
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
DtRwInt myPriorityToSave
Definition: rwDynamicTerrainItem.h:82
Definition: readerWriter.h:85
Definition: readerWriterRegistry.h:39
Definition: rwVector.h:23
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwReal myRadiusToSave
Definition: rwDynamicTerrainItem.h:77
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwVectorList myVerticesToSave
Definition: rwDynamicTerrainItem.h:79
DtRwInt myEventNumberToSave
Definition: rwDynamicTerrainItem.h:83
DtRwDynamicTerrainItem holds a the information needed to make a dynamic change to the terrain...
Definition: rwDynamicTerrainItem.h:24
DtRwReal myWidthToSave
Definition: rwDynamicTerrainItem.h:80
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
DtRwInt myGeometryTypeToSave
Definition: rwDynamicTerrainItem.h:74
DtRwVector myLocationToSave
Definition: rwDynamicTerrainItem.h:76
class DtRwVectorList:
Definition: rwVectorList.h:22
File: rwVector.h.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)