00001 00002 package de.tum.in.fipm.kipm.gui.visualisation.items; 00003 00004 import edu.tum.cs.vis.Canvas; 00005 00006 00007 public class Building extends Item { 00008 00009 public Building (float m00, float m01, float m02, float m03, float m10, 00010 float m11, float m12, float m13, float m20, float m21, float m22, 00011 float m23, float m30, float m31, float m32, float m33, float xdim, 00012 float ydim, float zdim) { 00013 00014 super(m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33, xdim, ydim, zdim); 00015 } 00016 00017 @Override 00018 public void drawIt(Canvas c) { 00019 00020 c.translate(0,0, -zdim/2); 00021 c.stroke(100,100,100); 00022 c.strokeWeight((float)1.5); 00023 c.noFill(); 00024 c.box(this.xdim, this.ydim, 0.1f); 00025 00026 } 00027 }