Ignore:
Timestamp:
May 13, 2012, 6:21:34 PM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/ReaderWriterDist.h

    r365 r366  
    11#pragma once
     2
     3
    24
    35#include <osg/Notify>
     
    1416        ReaderWriterDist();
    1517
    16         virtual const char* className() const { return "terrain modification pseudo-loader"; };
     18        virtual const char* className() const { return "distortion set loader"; };
    1719        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
    1824
    1925private:
    2026        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;
    2131};
Note: See TracChangeset for help on using the changeset viewer.