ArRotation class
Row-major 3x3 rotation matrix helpers for ArSensor.rotationMatrix (world East/North/Up → screen x right / y up / z towards the viewer).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
cameraForward(
List< double> m) → List<double> - Direction of the back camera in world coordinates (East, North, Up): the opposite of the screen z axis, i.e. minus the matrix' third row.
-
fromHeadingPitch(
double heading, double pitch) → List< double> - Rebuilds the attitude from a heading and a pitch (degrees), assuming no roll. Used when a sensor source provides no rotation matrix.
-
heading(
List< double> m) → double -
Heading of the camera axis in degrees from true north, in
[0, 360). -
multiplyVector(
List< double> m, List<double> v) → List<double> -
pitch(
List< double> m) → double - Elevation of the camera axis in degrees (negative when pointing down).