Changeset 13041 for OpenSceneGraph/trunk/include/osgDB/Input
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgDB/Input (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgDB/Input
r10990 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 2 2 * 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 5 5 * (at your option) any later version. The full license is in LICENSE file 6 6 * included with this distribution, and on the openscenegraph.org website. 7 * 7 * 8 8 * This library is distributed in the hope that it will be useful, 9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * OpenSceneGraph Public License for more details. 12 12 */ … … 249 249 Input(); 250 250 virtual ~Input(); 251 251 252 252 void setOptions(const Options* options) { _options = options; } 253 253 const Options* getOptions() const { return _options.get(); } … … 268 268 virtual osg::Node* readNode(const std::string& fileName); 269 269 virtual osg::Shader* readShader(const std::string& fileName); 270 270 271 271 virtual osg::Object* getObjectForUniqueID(const std::string& uniqueID); 272 272 virtual void registerUniqueIDForObject(const std::string& uniqueID,osg::Object* obj); … … 294 294 295 295 private: 296 296 297 297 typedef std::map< std::string, osg::ref_ptr<osg::Object> > UniqueIDToObjectMapping; 298 298 UniqueIDToObjectMapping _uniqueIDToObjectMap; 299 299 300 300 osg::ref_ptr<const Options> _options; 301 301
