15 #include <osg/observer_ptr>
16 #include <osg/ref_ptr>
18 #include <osgEarth/Map>
49 virtual void onLayerLoaded(osgEarth::MapNode* mapNode,
50 osgEarth::ModelLayer* layer) =0;
52 virtual void onDataLoaded(osgEarth::Map* map,
53 osgEarth::ModelLayer* layer,
54 osg::Node* newData) =0;
66 void setOptimizeStateSharing(
bool value);
67 bool getOptimizeStateSharing()
const;
74 void addModelLayer(osgEarth::ModelLayer* layer);
78 void notifyNewLayer(osgEarth::ModelLayer* layer);
83 void notifyNewData(osgEarth::ModelLayer* layer, osg::Node* data);