FourdgsQuantization class

Opcode 0x03. The dequantization grids and the error bounds they guarantee.

Constructors

FourdgsQuantization({required String scheme, required List<double> posOrigin, required double stepPos, required double stepScaleLog, required double stepRot, required double stepRgb, required double stepAlpha, required double stepMotion, required double stepTime, required double stepSigmaLog, required int stepSh, required Map<String, String> bounds, List<int> shBitDepths = const <int>[], bool shBitDepthsMalformed = false})
const

Properties

bounds Map<String, String>
Declared maximum deviation per attribute, as decimal strings.
final
hashCode int
The hash code for this object.
no setterinherited
posOrigin List<double>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheme String
final
shBitDepths List<int>
Per-band spherical-harmonic bit depths, band 1 first.
final
shBitDepthsMalformed bool
True when trailing bytes looked like an SH-depth append but were invalid. Decoders keep the legacy empty-depth fallback; validators report it.
final
stepAlpha double
final
stepMotion double
Reference velocity pitch. The pitch actually applied is per-gaussian and derived from the gaussian's own sigma bin — see quantization.dart.
final
stepPos double
final
stepRgb double
final
stepRot double
final
stepScaleLog double
final
stepSh int
final
stepSigmaLog double
final
stepTime double
Reference birth-time pitch, refined per gaussian for the same reason.
final

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

parse(Uint8List content, {int fileOffset = 0}) FourdgsQuantization
fileOffset is where content begins in the file, for the same reason FourdgsChunkIndexEntry.parse takes one: a refusal that names byte 0 names the start of a record's content, which is not a byte anybody can seek to. Defaulted rather than required, because a caller holding a bare record has no file to be relative to.