Rev | Line | |
---|
[250] | 1 | #pragma once |
---|
| 2 | |
---|
[251] | 3 | #include <osg/Notify> |
---|
[250] | 4 | #include <osgDB/FileNameUtils> |
---|
| 5 | #include <osgDB/FileUtils> |
---|
| 6 | #include <osgDB/Registry> |
---|
| 7 | #include <osgDB/ReadFile> |
---|
| 8 | |
---|
[251] | 9 | #include "ModificationVisitor.h" |
---|
[250] | 10 | |
---|
| 11 | class ReaderWriterTerrainMod : public osgDB::ReaderWriter |
---|
| 12 | { |
---|
| 13 | public: |
---|
| 14 | ReaderWriterTerrainMod(); |
---|
| 15 | |
---|
[251] | 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; |
---|
[250] | 18 | |
---|
[253] | 19 | private: |
---|
| 20 | std::string extensionToAdd; |
---|
[250] | 21 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.