VR-Forces 4.1 Class Documentation
DtStealthMtlFileReader.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtStealthMtlFileReader.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtStealthMtlFileReader_H_
14 #define DtStealthMtlFileReader_H_
15 
16 #include <vrvTerrain/vrvTerrain.h>
17 
18 #include <vlutil/vlString.h>
19 #include <matrix/vlTaitBryan.h>
20 #include <vlutil/vlList.h>
21 
22 struct mgrec;
23 class DtlObjPtr;
24 class DtVector;
25 class DtMtlEnvironment;
26 
27 namespace makVrv
28 {
33  {
34  public:
35 
37  virtual ~DtStealthMtlFileReader();
38 
39  virtual bool load(const char* filename);
40  virtual bool load(DtMtlEnvironment* mtlenv);
41 
42  virtual const DtString& type() const;
43  virtual const DtString& origin() const;
44  virtual const DtList& filenames() const;
45  virtual const DtString* mapDatum() const;
46 
47  virtual double* startAltitude() const;
48  virtual DtVector* startPosition() const;
49  virtual DtTaitBryan* startOrientation() const;
50  virtual DtString* mapName() const;
51  virtual bool loadAsynchronous() const;
52 
53  protected:
54 
55  virtual void clear();
56 
57  virtual bool lookupParameters(DtMtlEnvironment* mtlenv);
58  virtual int lookupType(DtMtlEnvironment* mtlenv);
59  virtual int lookupOrigin(DtMtlEnvironment* mtlenv);
60  virtual int lookupFilenames(DtMtlEnvironment* mtlenv);
61  virtual int getPathPatchLists(const DtlObjPtr& l);
62  virtual int getPathPatchList(const DtlObjPtr& l);
63  virtual int addListOfPatches(const char* pathstr, const DtlObjPtr& l);
64 
65 
66  public:
67 
68  static void registerMtlParameters(DtMtlEnvironment* mtlenv);
69 
70  protected:
71 
76 
77  double* myStartAltitude;
79  DtTaitBryan* myStartOri;
84  };
85 }
86 
87 #endif
88 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)