Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 package org.ros.android.view.visualization.shape;
00018
00019 import org.ros.android.view.visualization.Color;
00020
00026 public class RobotShape extends TriangleFanShape {
00027
00028 private static final Color COLOR = Color.fromHexAndAlpha("ffa800", 1.0f);
00029 private static final float VERTICES[] = {
00030 0.0f, 0.0f, 0.0f,
00031 -0.1f, 0.0f, 0.0f,
00032 -0.2f, -0.05f, 0.0f,
00033 -0.2f, -0.2f, 0.0f,
00034 0.2f, 0.0f, 0.0f,
00035 -0.2f, 0.2f, 0.0f,
00036 -0.2f, 0.05f, 0.0f,
00037 -0.1f, 0.0f, 0.0f
00038 };
00039
00040 public RobotShape() {
00041 super(VERTICES, COLOR);
00042 }
00043 }