VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FeatureCustomModelSource.h
Go to the documentation of this file.
1 /* -*-c++-*- */
2 /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
3 * Copyright 2008-2010 Pelican Mapping
4 * http://osgearth.org
5 *
6 * osgEarth is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>
18 */
19 #ifndef OSGEARTH_FEATURES_CUSTOMMODEL_SOURCE_H
20 #define OSGEARTH_FEATURES_CUSTOMMODEL_SOURCE_H 1
21 
23 
24 namespace osgEarth
25 {
26  using namespace osgEarth::Drivers;
27 
29  : public FeatureNodeFactory
30  {
31  public:
33 
34  bool createOrUpdateNode(
35  FeatureCursor* features,
36  const Style& style,
37  const FilterContext& context,
40 
41  public:
43 
44  protected:
45  virtual CustomModelCompiler* createCompiler(const CustomModelCompilerOptions& opts) const;
46  };
47 
50  {
51  public:
53 
54  //const FeatureCustomModelOptions& getOptions() const;
55 
56 #if 0
57  //override
58  osg::Node* createNodeImplementation(
59  const Map* map,
60  ProgressCallback* progress);
61 #endif
62 
63  //override
64  FeatureNodeFactory* createFeatureNodeFactory();
65 
66  protected:
68  virtual ~FeatureCustomModelSource();
69 
70  // override
71  //Status initialize(const osgDB::Options* dbOptions);
72 
73  private:
75 // osg::ref_ptr<const osgDB::Options> _dbOptions;
76  };
77 
78 } // namespace osgEarth
79 
80 #endif // OSGEARTH_FEATURES_CUSTOMMODEL_SOURCE_H
Definition: FeatureCustomModelOptions.h:32
const FeatureCustomModelOptions _options
Definition: FeatureCustomModelSource.h:74
The model source implementation for feature_geom.
Definition: FeatureCustomModelSource.h:49
Definition: CustomModelCompiler.h:34
Definition: FeatureCustomModelSource.h:28
Compiles a collection of features against a style.
Definition: CustomModelCompiler.h:92
#define OSGDB_OSGEARTH_MODEL_FEATURE_CUSTOM_EXPORT
Definition: CustomModelPrereqs.h:13
CustomModelCompilerOptions _options
Definition: FeatureCustomModelSource.h:42

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)