MpLandmark class final

Landmark represents a point in 3D space with x, y, z coordinates. The landmark coordinates are in meters. z represents the landmark depth, and the smaller the value the closer the world landmark is to the camera.

Inheritance
Implemented types
Available extensions

Constructors

MpLandmark()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
has_presence ↔ bool
For optional presence.
getter/setter pair
has_visibility ↔ bool
For optional visibility.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
name ↔ Pointer<Char>
Landmark name. Should stay unset if not supported. Defaults to nullptr.
getter/setter pair
presence ↔ double
Landmark presence. Should stay unset if not supported. Float score of whether landmark is present on the scene (located within scene bounds). Depending on the model, presence value is either a result of sigmoid or an argument of sigmoid function to get landmark presence probability.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
visibility ↔ double
Landmark visibility. Should stay unset if not supported. Float score of whether landmark is visible or occluded by other objects. Landmark considered as invisible also if it is not present on the screen (out of scene bounds). Depending on the model, visibility value is either a sigmoid or an argument of sigmoid.
getter/setter pair
x ↔ double
getter/setter pair
y ↔ double
getter/setter pair
z ↔ double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

$allocate(Allocator $allocator, {required double x, required double y, required double z, required bool has_visibility, required double visibility, required bool has_presence, required double presence, required Pointer<Char> name}) → Pointer<MpLandmark>