c

org.nlogo.agent

Observer3D

final class Observer3D extends Observer with Agent3D

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Observer3D
  2. Agent3D
  3. Observer
  4. Constraints
  5. OrientatableObserver
  6. Observer
  7. Agent
  8. Comparable
  9. Agent
  10. AgentJ
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Observer3D(world: World)

Type Members

  1. class Orientation extends ObserverOrientation
    Definition Classes
    OrientatableObserver

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _orientation: Orientation
    Attributes
    protected
    Definition Classes
    OrientatableObserver
  5. val agentBit: Int
    Definition Classes
    ObserverAgent
  6. def alpha: Int

    0-255, 0 = invisible, 255 = opaque

    0-255, 0 = invisible, 255 = opaque

    Definition Classes
    ObserverAgent
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def assertConstraint(vn: Int, value: AnyRef): Unit
    Definition Classes
    Constraints
    Annotations
    @throws( classOf[api.AgentException] )
  9. def atHome2D: Boolean
    Definition Classes
    OrientatableObserver
  10. def atHome3D: Boolean
    Definition Classes
    OrientatableObserver
  11. def classDisplayName: String

    Returns a displayable name of this type of agent (Turtle, Link, Patch, Observer)

    Returns a displayable name of this type of agent (Turtle, Link, Patch, Observer)

    Definition Classes
    ObserverAgentAgent
  12. def clearConstraints(): Unit
    Definition Classes
    Constraints
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  14. def compareTo(a: Agent): Int
    Definition Classes
    Agent → Comparable
  15. def constraint(vn: Int): ValueConstraint
    Definition Classes
    Constraints
  16. def distance(x: Double, y: Double, z: Double): Double
  17. def distance(t: api.Turtle): Double
    Definition Classes
    Observer3DOrientatableObserver
    Annotations
    @Override()
  18. def distance(agent: Agent): Double
  19. def distance(x: Double, y: Double): Double
    Definition Classes
    OrientatableObserver
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. def face(x: Double, y: Double, z: Double): Unit
  23. def face(x: Double, y: Double): Unit
    Definition Classes
    OrientatableObserver
  24. def face(agent: api.Agent): Unit
    Definition Classes
    OrientatableObserver
  25. def followDistance: Int
    Definition Classes
    Observer
  26. def followOffsetX: Double
    Definition Classes
    Observer
  27. def followOffsetY: Double
    Definition Classes
    Observer
  28. def followOffsetZ(): Double
  29. def getBreedVariable(name: String): Nothing
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  30. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  31. def getLinkBreedVariable(name: String): Nothing
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  32. def getLinkVariable(vn: Int): Nothing
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  33. def getPatchAtOffsets(dx: Double, dy: Double, dz: Double): Patch3D
    Definition Classes
    Observer3DAgent3D
  34. def getPatchAtOffsets(dx: Double, dy: Double): Patch
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  35. def getPatchVariable(vn: Int): Nothing
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  36. def getTurtleOrLinkVariable(varName: String): Nothing
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  37. def getTurtleVariable(vn: Int): Nothing
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  38. def getVariable(vn: Int): AnyRef

    Returns the value of the variable in the given position of the agent variable array

    Returns the value of the variable in the given position of the agent variable array

    vn

    the index into the agent variable array

    Definition Classes
    ObserverAgentAgent
  39. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  40. def heading(heading: Double): Unit
    Definition Classes
    OrientatableObserver
  41. def home(): Unit
    Definition Classes
    Observer3DOrientatableObserver
    Annotations
    @Override()
  42. def id: Long

    Returns the id number of this agent.

    Returns the id number of this agent. The who number in the case of a turtle, index into the array in the case of patches

    Definition Classes
    AgentAgent
  43. def id_=(newId: Long): Unit
    Definition Classes
    Agent
  44. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  45. def kind: Observer.type

    Returns the kind of this agent (Turtle, Link, Patch, Observer).

    Returns the kind of this agent (Turtle, Link, Patch, Observer).

    Definition Classes
    ObserverAgent
  46. def moveto(otherAgent: Agent): Unit
    Definition Classes
    Observer3DOrientatableObserver
    Annotations
    @Override()
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  50. def orbitRight(delta: Double): Unit
    Definition Classes
    Observer3DOrientatableObserver
    Annotations
    @Override()
  51. def orbitUp(delta: Double): Unit
    Definition Classes
    Observer3DOrientatableObserver
    Annotations
    @Override()
  52. val orientation: Option[ObserverOrientation]
    Definition Classes
    OrientatableObserver
  53. def oxcor(d: Double): Unit
    Definition Classes
    OrientatableObserver
  54. val oxcor: Double
    Definition Classes
    OrientatableObserver
  55. def oxyandzcor(oxcor: Double, oycor: Double, ozcor: Double): Unit
    Definition Classes
    OrientatableObserver
  56. def oycor(d: Double): Unit
    Definition Classes
    OrientatableObserver
  57. val oycor: Double
    Definition Classes
    OrientatableObserver
  58. def ozcor(d: Double): Unit
    Definition Classes
    OrientatableObserver
  59. val ozcor: Double
    Definition Classes
    OrientatableObserver
  60. val perspective: Perspective
    Definition Classes
    OrientatableObserver
  61. def pitch(pitch: Double): Unit
    Definition Classes
    OrientatableObserver
  62. def realloc(oldProgram: Program, newProgram: Program): Agent
    Definition Classes
    ObserverAgent
  63. def resetPerspective(): Unit
    Definition Classes
    OrientatableObserver
  64. def roll(roll: Double): Unit
    Definition Classes
    OrientatableObserver
  65. def rotationPoint: Vect
    Definition Classes
    OrientatableObserver
  66. def setBreedVariable(name: String, value: AnyRef): Unit
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  67. def setConstraint(vn: Int, con: ValueConstraint): Unit
    Definition Classes
    Constraints
  68. def setId(newId: Long): Unit
    Definition Classes
    Agent
  69. def setLinkBreedVariable(name: String, value: AnyRef): Unit
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  70. def setLinkVariable(vn: Int, value: Double): Unit
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  71. def setLinkVariable(vn: Int, value: AnyRef): Unit
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  72. def setPatchVariable(vn: Int, value: Double): Unit
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  73. def setPatchVariable(vn: Int, value: AnyRef): Unit
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  74. def setPerspective(perspective: Perspective): Unit
    Definition Classes
    OrientatableObserver
  75. def setRotationPoint(agent: api.Agent): Unit
    Definition Classes
    Observer3DOrientatableObserver
    Annotations
    @Override()
  76. def setRotationPoint(x: Double, y: Double, z: Double): Unit
    Definition Classes
    OrientatableObserver
  77. def setRotationPoint(v: Vect): Unit
    Definition Classes
    OrientatableObserver
  78. def setTurtleOrLinkVariable(varName: String, value: AnyRef): Unit
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  79. def setTurtleVariable(vn: Int, value: Double): Unit
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  80. def setTurtleVariable(vn: Int, value: AnyRef): Unit
    Definition Classes
    ObserverAgent
    Annotations
    @throws( classOf[api.AgentException] )
  81. def setVariable(vn: Int, value: AnyRef): Unit

    Sets the variable in the position vn of the agent variable array to value

    Sets the variable in the position vn of the agent variable array to value

    vn

    the index into the agent variable array

    value

    the new value for the variable

    Definition Classes
    ObserverAgentAgent
    Annotations
    @throws( classOf[api.AgentException] )
    Exceptions thrown

    api.AgentException If value is the wrong type for the given variable or if you try to change variables that cannot be changed

  82. def setVariables(v: Array[AnyRef]): Unit
    Definition Classes
    Agent
  83. def shape: String

    Returns the name of the current shape, empty string in the case of patches.

    Returns the name of the current shape, empty string in the case of patches.

    Definition Classes
    ObserverAgent
  84. def size: Double

    Returns the size of this agent

    Returns the size of this agent

    Definition Classes
    ObserverAgent
  85. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  86. def targetAgent: api.Agent

    Returns the currently watched or followed agent (or nobody)

    Returns the currently watched or followed agent (or nobody)

    Definition Classes
    ObserverObserver
  87. def toString(): String
    Definition Classes
    Observer → AnyRef → Any
  88. def translate(thetaX: Double, thetaY: Double): Unit
    Definition Classes
    Observer3DOrientatableObserver
    Annotations
    @Override()
  89. def updatePosition(): Boolean
    Definition Classes
    Observer3DOrientatableObserver
    Annotations
    @Override()
  90. def variableIndex(name: String): Int
    Definition Classes
    Observer
  91. def variableName(vn: Int): String

    Returns the name of the variable with the given index.

    Returns the name of the variable with the given index. Works for built-in, *-own, and breed variables.

    vn

    the index of the variable

    Definition Classes
    ObserverAgent
  92. def variables: Array[AnyRef]

    Returns raw array of all agent variables.

    Returns raw array of all agent variables. Warning: this method is liable to change return type in a future API version.

    Definition Classes
    AgentAgent
  93. def variables_=(v: Array[AnyRef]): Unit
    Definition Classes
    Agent
  94. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  96. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. def world: World

    Returns the world object associated with this agent

    Returns the world object associated with this agent

    Definition Classes
    AgentAgent

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Agent3D

Inherited from Observer

Inherited from Constraints

Inherited from OrientatableObserver

Inherited from api.Observer

Inherited from Agent

Inherited from Comparable[Agent]

Inherited from api.Agent

Inherited from AgentJ

Inherited from AnyRef

Inherited from Any

Ungrouped