#include <Render_XmlSceneLoader.h>
Public Member Functions | |
bool | ReadFile (const char *fileName, OVR::Render::RenderDevice *pRender, OVR::Render::Scene *pScene, OVR::Array< Ptr< CollisionModel > > *pColisions, OVR::Array< Ptr< CollisionModel > > *pGroundCollisions) |
XmlHandler () | |
~XmlHandler () | |
Protected Member Functions | |
void | ParseVectorString (const char *str, OVR::Array< OVR::Vector3f > *array, bool is2element=false) |
Private Attributes | |
int | collisionModelCount |
char | filePath [250] |
int | groundCollisionModelCount |
int | modelCount |
OVR::Array< Ptr< Model > > | Models |
tinyxml2::XMLDocument * | pXmlDocument |
int | textureCount |
OVR::Array< Ptr< Texture > > | Textures |
Definition at line 42 of file Render_XmlSceneLoader.h.
Definition at line 33 of file Render_XmlSceneLoader.cpp.
Definition at line 38 of file Render_XmlSceneLoader.cpp.
void OVR::Render::XmlHandler::ParseVectorString | ( | const char * | str, |
OVR::Array< OVR::Vector3f > * | array, | ||
bool | is2element = false |
||
) | [protected] |
Definition at line 345 of file Render_XmlSceneLoader.cpp.
bool OVR::Render::XmlHandler::ReadFile | ( | const char * | fileName, |
OVR::Render::RenderDevice * | pRender, | ||
OVR::Render::Scene * | pScene, | ||
OVR::Array< Ptr< CollisionModel > > * | pColisions, | ||
OVR::Array< Ptr< CollisionModel > > * | pGroundCollisions | ||
) |
Definition at line 43 of file Render_XmlSceneLoader.cpp.
int OVR::Render::XmlHandler::collisionModelCount [private] |
Definition at line 64 of file Render_XmlSceneLoader.h.
char OVR::Render::XmlHandler::filePath[250] [private] |
Definition at line 59 of file Render_XmlSceneLoader.h.
int OVR::Render::XmlHandler::groundCollisionModelCount [private] |
Definition at line 65 of file Render_XmlSceneLoader.h.
int OVR::Render::XmlHandler::modelCount [private] |
Definition at line 62 of file Render_XmlSceneLoader.h.
OVR::Array<Ptr<Model> > OVR::Render::XmlHandler::Models [private] |
Definition at line 63 of file Render_XmlSceneLoader.h.
Definition at line 58 of file Render_XmlSceneLoader.h.
int OVR::Render::XmlHandler::textureCount [private] |
Definition at line 60 of file Render_XmlSceneLoader.h.
OVR::Array<Ptr<Texture> > OVR::Render::XmlHandler::Textures [private] |
Definition at line 61 of file Render_XmlSceneLoader.h.