Changeset 366 for experimental/distortionNG/ReaderWriterDist.h
- Timestamp:
- May 13, 2012, 6:21:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/ReaderWriterDist.h
r365 r366 1 1 #pragma once 2 3 2 4 3 5 #include <osg/Notify> … … 14 16 ReaderWriterDist(); 15 17 16 virtual const char* className() const { return " terrain modification pseudo-loader"; };18 virtual const char* className() const { return "distortion set loader"; }; 17 19 virtual ReadResult readNode( const std::string& file, const osgDB::ReaderWriter::Options* options) const; 20 virtual ReadResult readNode( std::istream& fin, const osgDB::ReaderWriter::Options* options ) const; 21 virtual WriteResult writeNode( const osg::Node& node, const std::string& fileName, const osgDB::ReaderWriter::Options* options ) const; 22 virtual WriteResult writeNode( const osg::Node& node, std::ostream& fout, const osgDB::ReaderWriter::Options* options ) const; 23 18 24 19 25 private: 20 26 std::string extensionToAdd; 27 28 osg::ref_ptr<osgDB::Options> readOptions; 29 osg::ref_ptr<osgDB::Options> writeOptions; 30 osg::ref_ptr<osgDB::ReaderWriter> rw; 21 31 };
Note: See TracChangeset
for help on using the changeset viewer.