Rev | Line | |
---|
[104] | 1 | #ifndef _IoManager_H__
|
---|
| 2 | #define _IoManager_H__
|
---|
| 3 |
|
---|
| 4 | #include <OgrePrerequisites.h>
|
---|
| 5 | #include <OgreMath.h>
|
---|
| 6 | #include <Ogre.h>
|
---|
[105] | 7 | #include <OgreSceneNode.h>
|
---|
[104] | 8 |
|
---|
| 9 | class IoManager
|
---|
| 10 | {
|
---|
| 11 | public:
|
---|
| 12 | IoManager(Ogre::String fileName);
|
---|
| 13 |
|
---|
| 14 | void Write();
|
---|
[105] | 15 | void AddNode(Ogre::SceneNode *node);
|
---|
[104] | 16 |
|
---|
[105] | 17 | std::vector<Ogre::Vector3> mPositions;
|
---|
| 18 | std::vector<Ogre::Quaternion> mOrientations;
|
---|
| 19 |
|
---|
[104] | 20 | protected:
|
---|
| 21 | std::ofstream mFile;
|
---|
| 22 | };
|
---|
| 23 |
|
---|
| 24 | #endif // IoManager |
---|
Note: See
TracBrowser
for help on using the repository browser.