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
SceneInfo_impl
Definition: SceneInfo_impl.h:26
SceneInfo_impl::inlinedShapeTransformMatrices_
DblArray12Sequence inlinedShapeTransformMatrices_
Definition: SceneInfo_impl.h:48
OpenHRP
Definition: ConstraintForceSolver.h:19
SceneInfo_impl::shapeIndices_
TransformedShapeIndexSequence shapeIndices_
Definition: SceneInfo_impl.h:47
filename
char * filename
Definition: cdjpeg.h:133
ShapeSetInfo_impl.h
SceneInfoCollada_impl
Definition: SceneInfoCollada_impl.h:46
SceneInfo_impl::url_
std::string url_
Definition: SceneInfo_impl.h:46
ShapeSetInfo_impl
Definition: ShapeSetInfo_impl.h:30


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:04