Changeset 13041 for OpenSceneGraph/trunk/include/osgDB/Output
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgDB/Output (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgDB/Output
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 */ … … 32 32 Output(); 33 33 Output(const char* name); 34 34 35 35 virtual ~Output(); 36 36 37 37 38 38 void setOptions(const Options* options); 39 39 const Options* getOptions() const { return _options.get(); } … … 43 43 44 44 void open(const char *name); 45 45 46 46 // comment out temporarily to avoid compilation problems, RO Jan 2002. 47 47 // void open(const char *name,int mode); … … 66 66 void moveIn(); 67 67 void moveOut(); 68 68 69 69 virtual bool writeObject(const osg::Object& obj); 70 70 virtual void writeBeginObject(const std::string& name); … … 84 84 FILENAME_ONLY 85 85 }; 86 86 87 87 inline void setPathNameHint(const PathNameHint pnh) { _pathNameHint = pnh; } 88 88 inline PathNameHint getPathNameHint() const { return _pathNameHint; } … … 115 115 int _indent; 116 116 int _indentStep; 117 117 118 118 int _numIndicesPerLine; 119 119 120 120 typedef std::map<const osg::Object*,std::string> UniqueIDToLabelMapping; 121 121 UniqueIDToLabelMapping _objectToUniqueIDMap; 122 122 123 123 std::string _filename; 124 124 125 125 PathNameHint _pathNameHint; 126 126
