readerwriteriv.h

来自「最新osg包」· C头文件 代码 · 共 30 行

H
30
字号
#ifndef _READERWRITERIV_H_#define _READERWRITERIV_H_#include <osgDB/Registry>#include <osgDB/FileNameUtils>class ReaderWriterIV : public osgDB::ReaderWriter{    public:        ReaderWriterIV();                virtual const char* className() const        {             return "Inventor reader/writer";         }                bool isInventorExtension(const std::string& extension) const        {            return osgDB::equalCaseInsensitive(extension, "iv") ? true : false;        }        virtual ReadResult readNode(const std::string& filename,                                     const osgDB::ReaderWriter::Options *) const;        virtual WriteResult writeNode(const osg::Node& node, const std::string& filename,                                      const osgDB::ReaderWriter::Options* options = NULL) const;};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?