Revision 657,
481 bytes
checked in by mattausch, 19 years ago
(diff) |
added ogre dependencies and patched ogre sources
|
Rev | Line | |
---|
[162] | 1 | #ifndef __X3DPARSER_H
|
---|
| 2 | #define __X3DPARSER_H
|
---|
| 3 |
|
---|
[170] | 4 | #include "Parser.h"
|
---|
[261] | 5 | #include "Containers.h"
|
---|
[162] | 6 |
|
---|
[439] | 7 | class ViewCellsManager;
|
---|
[261] | 8 |
|
---|
[162] | 9 | class X3dParser : public Parser
|
---|
| 10 | {
|
---|
| 11 | public:
|
---|
[312] | 12 | X3dParser():Parser(), mViewCellHeight(5.0f) {}
|
---|
[162] | 13 |
|
---|
[657] | 14 | bool ParseFile(const string filename, SceneGraphNode **root, const bool loadPolygonsAsMeshes = false);
|
---|
[439] | 15 | bool ParseFile(const string filename, ViewCellsManager &viewCells);
|
---|
[490] | 16 |
|
---|
| 17 | /// height of a loaded view cell
|
---|
[312] | 18 | float mViewCellHeight;
|
---|
[162] | 19 | };
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.