Files
OpenSceneGraph/src/osgPlugins/Inventor/ReaderWriterIV.h
Robert Osfield 218c6e8d13 Added Inventor plugin, submitted by Sean Spicer, Written by Vivek (c) Magic-Earth.
To compile in do a setenv/export USE_COIN or USE_INVENTOR.
2003-09-02 21:53:41 +00:00

29 lines
725 B
C++

#ifndef _READERWRITERIV_H_
#define _READERWRITERIV_H_
#include <osgDB/Registry>
#include <osgDB/FileNameUtils>
class ReaderWriterIV : public osgDB::ReaderWriter
{
public:
ReaderWriterIV();
virtual const char* className()
{
return "Inventor Reader";
}
virtual bool acceptsExtension(const std::string& extension)
{
return osgDB::equalCaseInsensitive(extension, "iv") ? true :
osgDB::equalCaseInsensitive(extension, "wrl") ? true : false;
}
virtual ReadResult readNode(const std::string& filename,
const osgDB::ReaderWriter::Options *);
};
#endif