Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00015 #ifndef OPENHRP_MODEL_LOADER_SCENE_INFO_IMPL_H_INCLUDED
00016 #define OPENHRP_MODEL_LOADER_SCENE_INFO_IMPL_H_INCLUDED
00017
00018 #include <string>
00019 #include <hrpCorba/ModelLoader.hh>
00020
00021 #include "ShapeSetInfo_impl.h"
00022
00023 using namespace OpenHRP;
00024
00025
00026 class SceneInfo_impl :
00027 public virtual POA_OpenHRP::SceneInfo,
00028 public virtual ShapeSetInfo_impl
00029 {
00030 public:
00031
00032 SceneInfo_impl(PortableServer::POA_ptr poa);
00033 virtual ~SceneInfo_impl();
00034
00035 virtual char* url();
00036 virtual TransformedShapeIndexSequence* shapeIndices();
00037
00038 void load(const std::string& filename);
00039
00040 protected:
00041
00042 virtual const std::string& topUrl();
00043
00044 private:
00045
00046 std::string url_;
00047 TransformedShapeIndexSequence shapeIndices_;
00048 DblArray12Sequence inlinedShapeTransformMatrices_;
00049
00050 #ifdef OPENHRP_COLLADA_FOUND
00051 friend class SceneInfoCollada_impl;
00052 #endif
00053 };
00054
00055
00056 #endif