Package 

Class DrawCognitiveMap

  • All Implemented Interfaces:
    it.unibo.alchemist.boundary.gui.effects.Effect , java.io.Serializable

    
    public class DrawCognitiveMap
    extends DrawOnce
                        

    Draws an orienting pedestrian' cognitive map.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private RangedInteger alpha
      private RangedInteger red
      private RangedInteger green
      private RangedInteger blue
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      RangedInteger getAlpha()
      void setAlpha(RangedInteger alpha)
      RangedInteger getRed()
      void setRed(RangedInteger red)
      RangedInteger getGreen()
      void setGreen(RangedInteger green)
      RangedInteger getBlue()
      void setBlue(RangedInteger blue)
      <T, P extends Position2D<P>> void apply(Graphics2D graphics, Node<T> node, Environment<T, P> environment, Wormhole2D<P> wormhole)
      Color getColorSummary()
      • 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
    • Constructor Detail

    • Method Detail

      • setAlpha

         void setAlpha(RangedInteger alpha)
        Parameters:
        alpha - alpha channel
      • getRed

         RangedInteger getRed()
      • 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
      • apply

         <T, P extends Position2D<P>> void apply(Graphics2D graphics, Node<T> node, Environment<T, P> environment, Wormhole2D<P> wormhole)
        Parameters:
        graphics - graphics
        node - node
        environment - environment
        wormhole - the wormhole used to map environment's coords to screen coords