SceneInfo_impl.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008, AIST, the University of Tokyo and General Robotix Inc.
3  * All rights reserved. This program is made available under the terms of the
4  * Eclipse Public License v1.0 which accompanies this distribution, and is
5  * available at http://www.eclipse.org/legal/epl-v10.html
6  * Contributors:
7  * National Institute of Advanced Industrial Science and Technology (AIST)
8  */
9 
15 #ifndef OPENHRP_MODEL_LOADER_SCENE_INFO_IMPL_H_INCLUDED
16 #define OPENHRP_MODEL_LOADER_SCENE_INFO_IMPL_H_INCLUDED
17 
18 #include <string>
19 #include <hrpCorba/ModelLoader.hh>
20 
21 #include "ShapeSetInfo_impl.h"
22 
23 using namespace OpenHRP;
24 
25 
27  public virtual POA_OpenHRP::SceneInfo,
28  public virtual ShapeSetInfo_impl
29 {
30 public:
31 
32  SceneInfo_impl(PortableServer::POA_ptr poa);
33  virtual ~SceneInfo_impl();
34 
35  virtual char* url();
36  virtual TransformedShapeIndexSequence* shapeIndices();
37 
38  void load(const std::string& filename);
39 
40 protected:
41 
42  virtual const std::string& topUrl();
43 
44 private:
45 
46  std::string url_;
47  TransformedShapeIndexSequence shapeIndices_;
48  DblArray12Sequence inlinedShapeTransformMatrices_;
49 
50 #ifdef OPENHRP_COLLADA_FOUND
51  friend class SceneInfoCollada_impl;
52 #endif
53 };
54 
55 
56 #endif
char * filename
Definition: cdjpeg.h:133
DblArray12Sequence inlinedShapeTransformMatrices_
TransformedShapeIndexSequence shapeIndices_
std::string url_


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:05