GrxHwcItem.java
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  * General Robotix Inc.
8  * National Institute of Advanced Industrial Science and Technology (AIST)
9  */
10 
11 /*
12  * GrxHwclItem.java
13  *
14  * @author Yuichiro Kawasumi (General Robotix, Inc.)
15  * @author Shin'ichiro Nakaoka (AIST)
16  */
17 
18 package com.generalrobotix.ui.item;
19 
20 import jp.go.aist.hrp.simulator.HwcInfo;
22 
23 @SuppressWarnings("serial")
24 public class GrxHwcItem extends GrxShapeTransformItem{
25  //HwcInfo info_;
26 
31  protected GrxHwcItem(String name, GrxPluginManager manager, GrxModelItem model, HwcInfo info) {
32  super(name, manager, model);
33  //info_ = info;
34 
35  setProperty("id", String.valueOf(info.id));
36  translation(info.translation);
37  rotation(info.rotation);
38  setURL(info.url);
39 
40  setIcon("camera.png");
41 
42  int n = info.shapeIndices.length;
43  for(int i=0; i<n; i++)
44  addTransformedShapeIndex(info.shapeIndices[i]);
45  buildShapeTransforms(info.inlinedShapeTransformMatrices);
46 
47  }
48 }
i
png_uint_32 i
Definition: png.h:2732
com.generalrobotix.ui.item.GrxHwcItem
Definition: GrxHwcItem.java:24
com.generalrobotix.ui.item.GrxHwcItem.GrxHwcItem
GrxHwcItem(String name, GrxPluginManager manager, GrxModelItem model, HwcInfo info)
Definition: GrxHwcItem.java:31
jp.go
autoplay.n
n
Definition: autoplay.py:12
jp
com.generalrobotix.ui.item.GrxShapeTransformItem
Definition: GrxShapeTransformItem.java:33
jp.go.aist
jp.go.aist.hrp
name
png_infop png_charpp name
Definition: png.h:2379
com.generalrobotix
com.generalrobotix.ui.GrxPluginManager
プラグイン管理クラス GrxUIの核になるクラス。プラグインのロード等の、初期化を実行する。 プラグインとそのアイテムのマップ(::pluginMap_)、プラグインとその情報のマップ(::pinfoM...
Definition: GrxPluginManager.java:79
com
com.generalrobotix.ui.item.GrxModelItem
item corresponds to a robot model
Definition: GrxModelItem.java:52
jp.go.aist.hrp.simulator
Definition: PathConsumer.java:8
info
backing_store_ptr info
Definition: jmemsys.h:181
com.generalrobotix.ui


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:02