Line | |
---|
1 | #pragma once |
---|
2 | |
---|
3 | #include <osg/Notify> |
---|
4 | #include <osgDB/FileNameUtils> |
---|
5 | #include <osgDB/FileUtils> |
---|
6 | #include <osgDB/Registry> |
---|
7 | #include <osgDB/ReadFile> |
---|
8 | |
---|
9 | #include "ModificationVisitor.h" |
---|
10 | |
---|
11 | class ReaderWriterDist : public osgDB::ReaderWriter |
---|
12 | { |
---|
13 | public: |
---|
14 | ReaderWriterDist(); |
---|
15 | |
---|
16 | virtual const char* className() const { return "terrain modification pseudo-loader"; }; |
---|
17 | virtual ReadResult readNode( const std::string& file, const osgDB::ReaderWriter::Options* options) const; |
---|
18 | |
---|
19 | private: |
---|
20 | std::string extensionToAdd; |
---|
21 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.