16 #include <osg/NodeVisitor>
17 #include <boost/unordered_map.hpp>
28 typedef boost::unordered_map<std::string,osg::ref_ptr<DtOsgFileCache::TextureCollection> >
TextureMap;
29 typedef std::vector<std::pair<std::string,DtOsgFileCache::TextureCollection* > >
TextureList;
35 const std::string& parentFilePath,
36 bool replaceTexturesWithLoadOnDemandImages,
37 bool compressTextures,
38 bool followProxyNodes);
41 virtual void apply(osg::Geode& geode);
44 virtual void apply(osg::Node& node);
47 virtual void apply(osg::StateSet& stateset);
50 virtual void apply(osg::ProxyNode& node);
61 osg::ref_ptr<osg::Texture> findDuplicateTexture(
osg::Texture& texture);
63 void processTexture(
osg::Texture &texture,
const osg::Image* img );