VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfVrvOverrides.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 
16 #include <vrvCore/DtDe.h>
17 #include <vrvCore/DtTerrain.h>
19 #include <vrvOsg/DtOsgFileCache.h>
20 
23 {
24 public:
25  DtVrfDe();
26 
27  virtual ~DtVrfDe();
28 
29 protected:
30  virtual void postInitialize();
31 };
32 
35 {
36 public:
39  {
40  public:
42  virtual makVrv::DtDeSharedState* create(makVrv::DtDe& de);
43  };
44 
45  friend class Creator;
46 
47 protected:
50 
52  virtual void initialize();
53 };
54 
57 {
58 public:
61  {
62  public:
64  };
65 
66  friend class Creator;
67 
68 protected:
70 
72  makVrv::DtFeatureLayer& addFeatureLayer(
73  const std::string& featureLayerFilename,
75 };
76 
79 {
80 public:
82 
84 
85  void cleanup();
86 };
87 
89  : public makVrv::DtOsgFileCache
90 {
91 public:
93  {
94  public:
95  makVrv::DtFileCache* create(makVrv::DtDe& de);
96  };
97 
98  friend class Creator;
99 
100  bool needsShaderGeneration(
101  const std::string& filename,
102  const LoadFileOptions& options) const;
103 
104  void encodeOptionsString(
105  const LoadFileOptions& loadFileOptions,
106  osgDB::ReaderWriter::Options& options) const;
107 
108  void decodeOptions(
109  const osgDB::ReaderWriter::Options& options,
110  LoadFileOptions& loadFileOptions) const;
111 
112  osg::ref_ptr<osg::Image> ts_readImageFile(
113  const std::string& inputFilename,
114  const LoadFileOptions& loadFileOptions);
115 
116 protected:
117  explicit DtVrfOsgFileCache(makVrv::DtDe& de);
118 };

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)