Ignore:
Timestamp:
May 31, 2012, 10:11:55 PM (12 years ago)
Author:
Torben Dannhauer
Message:

Dist-Plugin compiles, but not yet tested

File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/ReaderWriterDist.h

    r366 r367  
    88#include <osgDB/Registry>
    99#include <osgDB/ReadFile>
     10#include <osgDB/WriteFile>
     11#include <stdlib.h>
    1012
    11 #include "ModificationVisitor.h"
    1213
    1314class ReaderWriterDist : public osgDB::ReaderWriter
     
    1718
    1819        virtual const char* className() const { return "distortion set loader"; };
    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;
     20        Options* prepareReading( ReadResult& result, std::string& fileName, std::ios::openmode& mode, const Options* options ) const;
     21        Options* prepareWriting( WriteResult& result, const std::string& fileName, std::ios::openmode& mode, const Options* options ) const;
     22        virtual ReadResult readObject( const std::string& file, const osgDB::ReaderWriter::Options* options) const;     // passes the call to the stream function
     23        virtual ReadResult readObject( std::istream& fin, const osgDB::ReaderWriter::Options* options ) const;  // passes the call to the readwriter defined in the ctor
     24    virtual WriteResult writeObject( const osg::Object& object, const std::string& fileName, const osgDB::ReaderWriter::Options* options ) const;       // passes the call to the stream function
     25    virtual WriteResult writeObject( const osg::Object& object, std::ostream& fout, const osgDB::ReaderWriter::Options* options ) const;        // passes the call to the readwriter defined in the ctor
    2326
    2427
Note: See TracChangeset for help on using the changeset viewer.