cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.drawing
Class UT2004Draw

Package class diagram package UT2004Draw
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.drawing.UT2004Draw
Direct Known Subclasses:
LevelGeometryDraw, NavMeshDraw

public class UT2004Draw
extends Object


Field Summary
protected  Color defaultColor
           
protected  Logger log
           
protected  Location origin
           
protected  double scale
           
protected  IUT2004ServerProvider serverProvider
           
 
Constructor Summary
UT2004Draw(Logger log, IUT2004ServerProvider serverProvider)
           
 
Method Summary
 void clearAll()
           
 void drawCube(Color color, Location location, double size)
           
 void drawLine(Color color, double[] from, double[] to)
           
 void drawLine(Color color, Location from, Location to)
           
 void drawLine(double[] from, double[] to)
           
 void drawLine(Location from, Location to)
           
 void drawPolygon(Color color, double[]... vertices)
           
 void drawPolygon(Color color, Location... vertices)
           
 void drawPolygon(double[]... vertices)
           
 void drawPolygon(Location... vertices)
           
 void drawPolyLine(Color color, double[]... vertices)
           
 void drawPolyLine(Color color, Location... vertices)
           
 void drawPolyLine(double[]... points)
           
 void drawPolyLine(Location... points)
           
 Color getColor()
           
 Location getOrigin()
           
 double getScale()
           
protected  UT2004Server getServer()
           
 void init()
           
 void setColor(Color color)
           
 void setOrigin(Location location)
           
 void setScale(double scale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected Logger log

serverProvider

protected IUT2004ServerProvider serverProvider

defaultColor

protected Color defaultColor

origin

protected Location origin

scale

protected double scale
Constructor Detail

UT2004Draw

public UT2004Draw(Logger log,
                  IUT2004ServerProvider serverProvider)
Method Detail

getServer

protected UT2004Server getServer()

init

public void init()

getOrigin

public Location getOrigin()

setOrigin

public void setOrigin(Location location)

getScale

public double getScale()

setScale

public void setScale(double scale)

getColor

public Color getColor()

setColor

public void setColor(Color color)

drawLine

public void drawLine(Location from,
                     Location to)

drawLine

public void drawLine(Color color,
                     Location from,
                     Location to)

drawPolyLine

public void drawPolyLine(Location... points)

drawPolyLine

public void drawPolyLine(Color color,
                         Location... vertices)

drawPolygon

public void drawPolygon(Location... vertices)

drawPolygon

public void drawPolygon(Color color,
                        Location... vertices)

drawCube

public void drawCube(Color color,
                     Location location,
                     double size)

drawLine

public void drawLine(double[] from,
                     double[] to)

drawLine

public void drawLine(Color color,
                     double[] from,
                     double[] to)

drawPolyLine

public void drawPolyLine(double[]... points)

drawPolyLine

public void drawPolyLine(Color color,
                         double[]... vertices)

drawPolygon

public void drawPolygon(double[]... vertices)

drawPolygon

public void drawPolygon(Color color,
                        double[]... vertices)

clearAll

public void clearAll()


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.