VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
terrainMetafileRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2000 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: terrainMfRec.h,v $ $Revision: 1.18 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef terrainMetafileRecord_H_
9 #define terrainMetafileRecord_H_
10 
11 // \file terrainmfRec.h
12 // \brief Contains the DtTerarinMetafileRecord class declaration.
13 
16 #include "geometry/point.h"
18 #include <vlutil/vlFilename.h>
19 #include <iosfwd>
20 
24 {
25 
26 public:
27 
30 
32  virtual ~DtTerrainMetafileRecord();
33 
36 
39 
41  virtual const DtFilename& filename() const;
42  virtual void setFilename(const DtFilename & name);
43 
45  virtual DtConfigCategoryType recordCategory() const;
46 
48  virtual const unsigned int terrainType() const;
49 
51  virtual void resetFileLists();
52 
54  virtual bool get(std::istream& stream);
55 
57  virtual bool processToken(std::istream& stream, DtString& token);
58 
59 protected:
60 
61  virtual bool writeAttributes(std::ostream& stream) const;
62 
63  virtual bool getAttribute(const DtString attrName, DtString& value, unsigned index=0);
64 
65  virtual bool setToken(const DtString& token, const DtString value);
66 
67 protected:
68 
71  static const DtString theZone;
72 
75  static const DtString theOrigin;
76 
77  static const DtString theNumVertices;
78  static const DtString theNumSurfaces;
80 
81  long myZone;
84 
85  DtFilename myFile;
86  unsigned int myTerrainType;
87 };
88 
89 #endif
90 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)