00001
00002
00004
00005 #ifndef LOADER_H
00006 #define LOADER_H
00007
00008 #include "X3DLoader.h"
00009
00010 namespace X3DTK {
00011 namespace X3D {
00012
00013 class Scene;
00014
00017
00018 class Loader
00019 {
00020 public:
00022 Loader();
00024 ~Loader();
00025
00027 inline void setComponentCreator(X3DComponentCreator *component) {_impl->setComponentCreator(component);};
00028
00030 inline X3D::Scene *load(const char *file, bool fileValidation = false) const {return _impl->load(file, fileValidation);};
00031
00032 private:
00033 X3DLoader *_impl;
00034 };
00035
00036 }
00037 }
00038 #endif