trait TripwiresT extends AnyRef
Tripwires related functions, base class
// generate tripevents based on list of locations in a Behavior object // the tripwire definition is passed using the config: Map[String, String] //usage for cartesian coordinates val tripEvents = Tripwires.tripEvents(behavior, config) //usage for image coordinates val tripEvents = TripwiresI.tripEvents(behavior, config)
- Alphabetic
- By Inheritance
- TripwiresT
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
config: Map[String, String]
while running outside of spark the below config needs to be set before running any operations
-
def
delete(calibration: String): Unit
delete sensors, which has not tripwire or ROI
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
intersect(wire: Line, trip: List[Coordinate])(implicit d: DummyImplicit): Boolean
returns true if trip / List[Coordinate] and wire intersect.
-
def
intersect(wire: Line, trip: List[jCoordinate]): Boolean
returns true if trip / List[jCoordinate] and wire intersect.
-
def
intersect(p1: Point, q1: Point, p2: Point, q2: Point): Boolean
returns true if line segment 'p1q1'and 'p2q2' intersect.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
onSegment(p: Point, q: Point, r: Point): Boolean
Given three colinear points p, q, r, the function checks if point q lies on line segment 'pr'
-
def
orientation(wire: Line, r: Point): Int
To find orientation of ordered triplet (p, q, r).
To find orientation of ordered triplet (p, q, r). where wire = line (p,q)
The function returns following values 0 --> p, q and r are colinear 1 --> Clockwise 2 --> Counterclockwise
-
def
orientation(p: Point, q: Point, r: Point): Int
To find orientation of ordered triplet (p, q, r).
To find orientation of ordered triplet (p, q, r).
The function returns following values 0 --> p, q and r are colinear 1 --> Clockwise 2 --> Counterclockwise
-
lazy val
sensorMap: Map[String, Sensor]
sensor -> tripwires map
sensor -> tripwires map
- Annotations
- @transient()
-
lazy val
sensors: Array[Sensor]
array of sensors, read from the configuration file
array of sensors, read from the configuration file
- Annotations
- @transient()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def tripEvents_(tm: Behavior, minTripLength: Int, wires: Array[Tripwire]): List[Behavior]
- def tripEvents_(tm: jBehavior, minTripLength: Int, wires: Array[Tripwire]): List[jBehavior]
-
def
update(calibration: String): Unit
update tripwire definitions for sensors
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated