Kettle.java
Go to the documentation of this file.
00001 package edu.tum.cs.ias.knowrob.vis.items;
00002 
00003 import javax.vecmath.Matrix4d;
00004 import javax.vecmath.Vector3d;
00005 
00006 import edu.tum.cs.ias.knowrob.vis.Canvas;
00007 
00008 import javax.vecmath.Vector3f;
00009 
00010 public class Kettle extends Item {
00011 
00012         public Kettle(float m00, float m01, float m02, float m03, float m10,
00013                         float m11, float m12, float m13, float m20, float m21, float m22,
00014                         float m23, float m30, float m31, float m32, float m33, float xdim,
00015                         float ydim, float zdim) {
00016                 
00017                 super(m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31,
00018                                 m32, m33, xdim, ydim, zdim);
00019         }
00020         
00021         public Kettle(Matrix4d pose, Vector3d dim){
00022                 super(pose, dim);
00023         }
00024         
00025         
00026 
00027         @Override
00028         public void drawIt(Canvas c) {
00029                 
00030       (new ConePrimitive(new Vector3f(0f, 0f, 0f), new Vector3f(0f, 0f, 0.15f), 0.09f)).draw(c); // body 
00031                 //(new Cylinder(new Vector3f(-0.01f, 0.08f, 0.075f), new Vector3f(0.01f, 0.075f, 0.075f),0.04f)).draw(c); // handle
00032                 
00033         }
00034 }


mod_vis
Author(s): Moritz Tenorth, Jakob Engel
autogenerated on Sat Dec 28 2013 17:09:49