org.gscg.gameleader.animation2D
Class GisActorAnimation
java.lang.Object
nl.tudelft.simulation.dsol.animation.D2.Renderable2D
nl.tudelft.simulation.dsol.animation.D2.ImageRenderable
nl.tudelft.simulation.dsol.animation.D2.SingleImageRenderable
org.gscg.gameleader.animation2D.GisActorAnimation
- All Implemented Interfaces:
- nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface, java.io.Serializable
- public class GisActorAnimation
- extends nl.tudelft.simulation.dsol.animation.D2.SingleImageRenderable
The GisActorAnimation is useful in combination with a GIS based map as a
background image. Based on the zoom level of an animation panel, choices can
be made what to show, or what not. It is comparable with showing layers when
using a GIS map.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
- Since:
- 1.0.7
- Version:
- $Revision: 1.3 $ $Date: 2005/08/10 11:23:30 $
- Author:
- Stijn-Pieter
van Houten
- See Also:
- Serialized Form
Nested classes inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface |
nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface.Util |
Fields inherited from class nl.tudelft.simulation.dsol.animation.D2.ImageRenderable |
CB, CC, CT, images, imageURLS, LB, LC, LT, orientation, RB, RC, RT |
Fields inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D |
contextName, flip, rotate, scale, simulator, source, translate |
Constructor Summary |
GisActorAnimation(nl.tudelft.simulation.dsol.animation.LocatableInterface locatable,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator,
java.net.URL imageURL)
constructs a new GisActorAnimation |
Method Summary |
protected void |
bind2Context(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
|
void |
paint(java.awt.Graphics2D graphics,
java.awt.geom.Rectangle2D rectangle,
java.awt.Dimension dimension,
java.awt.image.ImageObserver observer)
|
Methods inherited from class nl.tudelft.simulation.dsol.animation.D2.SingleImageRenderable |
selectImage |
Methods inherited from class nl.tudelft.simulation.dsol.animation.D2.ImageRenderable |
getImages, getOrientation, paint, resolveOrigin, setOrientation |
Methods inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D |
contains, destroy, getSource, isFlip, isRotate, isScale, isTranslate, setFlip, setRotate, setScale, setTranslate, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GisActorAnimation
public GisActorAnimation(nl.tudelft.simulation.dsol.animation.LocatableInterface locatable,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator,
java.net.URL imageURL)
- constructs a new GisActorAnimation
- Parameters:
locatable
- the locatablesimulator
- the simulatorimageURL
- the image url
bind2Context
protected void bind2Context(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
- See Also:
Renderable2D.bind2Context(nl.tudelft.simulation.dsol.simulators.SimulatorInterface)
paint
public void paint(java.awt.Graphics2D graphics,
java.awt.geom.Rectangle2D rectangle,
java.awt.Dimension dimension,
java.awt.image.ImageObserver observer)
- See Also:
Renderable2DInterface.paint(java.awt.Graphics2D,
java.awt.geom.Rectangle2D, java.awt.Dimension,
java.awt.image.ImageObserver)
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.