-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.gui.effects.Effect
,java.io.Serializable
public class DrawCognitiveMap extends DrawOnce
Draws an orienting pedestrian' cognitive map.
-
-
Method Summary
Modifier and Type Method Description <T, P extends Position2D<P>> void
apply(Graphics2D graphics, Node<T> node, Environment<T, P> environment, Wormhole2D<P> wormhole)
Color
getColorSummary()
RangedInteger
getAlpha()
RangedInteger
getRed()
RangedInteger
getGreen()
RangedInteger
getBlue()
void
setAlpha(RangedInteger alpha)
void
setRed(RangedInteger red)
void
setGreen(RangedInteger green)
void
setBlue(RangedInteger blue)
-
Methods inherited from class it.unibo.alchemist.boundary.gui.effects.DrawOnce
getMarkerNodeID
-
Methods inherited from class it.unibo.alchemist.boundary.gui.effects.Effect
apply, apply, equals, hashCode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
apply
<T, P extends Position2D<P>> void apply(Graphics2D graphics, Node<T> node, Environment<T, P> environment, Wormhole2D<P> wormhole)
- Parameters:
graphics
- graphicsnode
- nodeenvironment
- environmentwormhole
- the wormhole used to map environment's coords to screen coords
-
getColorSummary
Color getColorSummary()
-
getAlpha
RangedInteger getAlpha()
-
getRed
RangedInteger getRed()
-
getGreen
RangedInteger getGreen()
-
getBlue
RangedInteger getBlue()
-
setAlpha
void setAlpha(RangedInteger alpha)
- Parameters:
alpha
- alpha channel
-
setRed
void setRed(RangedInteger red)
- Parameters:
red
- red channel
-
setGreen
void setGreen(RangedInteger green)
- Parameters:
green
- green channel
-
setBlue
void setBlue(RangedInteger blue)
- Parameters:
blue
- blue channel
-
-
-
-