SceneInfo_impl.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008, AIST, the University of Tokyo and General Robotix Inc.
00003  * All rights reserved. This program is made available under the terms of the
00004  * Eclipse Public License v1.0 which accompanies this distribution, and is
00005  * available at http://www.eclipse.org/legal/epl-v10.html
00006  * Contributors:
00007  * National Institute of Advanced Industrial Science and Technology (AIST)
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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:43:56