$search
00001 00002 package edu.tum.cs.ias.knowrob.vis.items; 00003 00004 import javax.vecmath.Matrix4d; 00005 import javax.vecmath.Vector3d; 00006 00007 import edu.tum.cs.ias.knowrob.vis.Canvas; 00008 00009 public class Pose extends Item { 00010 00011 public Pose(float m00, float m01, float m02, float m03, float m10, 00012 float m11, float m12, float m13, float m20, float m21, float m22, 00013 float m23, float m30, float m31, float m32, float m33, float xdim, 00014 float ydim, float zdim) { 00015 00016 super(m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33, xdim, ydim, zdim); 00017 } 00018 public Pose(Matrix4d pose, Vector3d dim){ 00019 super(pose, dim); 00020 } 00021 00022 @Override 00023 public void drawIt(Canvas c) { 00024 00025 c.ellipse(0,0,xdim,xdim); 00026 00027 c.translate(xdim/2,0,0.05f); 00028 00029 c.fill(10,10,10); 00030 c.triangle(-xdim/4, -ydim/4, xdim/4, 0, -xdim/4, ydim/4); 00031 00032 00033 } 00034 }