VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCDBModelSource.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright(c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
11 #include "DtCDBModelOptions.h"
12 
13 namespace makVrv
14 {
15  class DtDe;
16 
17  namespace oe { namespace CDB
18 {
23  class CDBModelSource : public ModelSource
24  {
25  public:
27  CDBModelSource(const ModelSourceOptions& options);
28 
30  Status initialize(const osgDB::Options* dbOptions);
31 
33  osg::Node* createNodeImplementation(const Map* map, ProgressCallback* progress);
34 
35  protected:
36 
38  void ChangeCachePath(std::string& optionString);
39 
44 
46  };
47 
48 } } } // namespace makVrv::oe::CDB
CDB Model Source (Derived from osgearth Model Source) One instance of this class will be instantiate ...
Definition: DtCDBModelSource.h:23
CDBModelSource(const ModelSourceOptions &options)
CTOR.
Used to pass option(s) Used to pass option from the OSG earth file this "cdb" model driver...
Definition: DtCDBModelOptions.h:28
osg::ref_ptr< osgDB::Options > myDbOptions
Database option.
Definition: DtCDBModelSource.h:43
Status initialize(const osgDB::Options *dbOptions)
override init function
CDB model earth file options for &quot;cdb&quot; model driver.
CDBModelOptions myCdbModelOptions
Cdb Model options (form the earth file)
Definition: DtCDBModelSource.h:41
void ChangeCachePath(std::string &optionString)
update the cache path to add the &quot;cacheid&quot; sub folder if it exist
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:70
osg::Node * createNodeImplementation(const Map *map, ProgressCallback *progress)
override create node
DtDe * myDe
Definition: DtCDBModelSource.h:45

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)