GCTLevel class

One level of detail of one variant: a Gaussian mixture in the variant's own frame (metres, origin at the variant's reference point, Z up, base of the cloud near Z = 0). Levels are ordered finest first. Every per-Gaussian vector holds exactly 4 * GAUSSIAN_COUNT float32 values — one RGBA texel per Gaussian — in the same Gaussian order.

Constructors

GCTLevel(List<int> bytes)
factory

Properties

BOUNDARY → List<double>?
OPTIONAL. Per Gaussian: x, y, z of the field's boundary normal at the centre (unit vector scaled by a boundary weight in 0, 1: 0 deep inside, 1 at a crisp condensation interface); w = the local coarse density in 0, 1. Absent when not computed.
no setter
CENTERS → List<double>?
Per Gaussian: x, y, z of the centre, metres in the variant frame; w = amplitude in AMPLITUDE_UNITS at the centre.
no setter
CHUNK_BYTE_LENGTH → int
Encoded chunk length in bytes when ENCODING is CONTENT_ADDRESSED_CHUNK.
no setter
CHUNK_CID → String?
Content identifier of the chunk when ENCODING is CONTENT_ADDRESSED_CHUNK.
no setter
chunkByteLength → int
no setter
chunkCid → String?
no setter
DERIVATION → gctLevelDerivation
How this level was produced.
no setter
ENCODING → gctSampleEncoding
Where the samples live.
no setter
FINE_NORMAL → List<double>?
OPTIONAL. Per Gaussian: x, y, z of a finer-scale surface normal that adds relief to BOUNDARY; w unused (0). Absent when not computed.
no setter
fineNormal → List<double>?
no setter
GAUSSIAN_COUNT → int
Number of Gaussians in this level.
no setter
gaussianCount → int
no setter
hashCode → int
The hash code for this object.
no setterinherited
MERGE_CELL_M → double
The cell this level was merged on, metres: the level's geometric error in the variant frame. Multiply by the instance scale in use.
no setter
mergeCellM → double
no setter
OPTICAL_DEPTH_NEG → List<double>?
OPTIONAL. Per Gaussian: optical depth along -x, -y, -z; w unused (0). Absent when not computed.
no setter
OPTICAL_DEPTH_POS → List<double>?
OPTIONAL. Per Gaussian: optical depth of the field from the centre outward along +x, +y, +z (dimensionless); w unused (0). Absent when not computed.
no setter
opticalDepthNeg → List<double>?
no setter
opticalDepthPos → List<double>?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SIGMAS → List<double>?
Per Gaussian: standard deviation along the variant frame's x, y, z axes, metres (axis-aligned; the instance yaw rotates the frame); w = a per-Gaussian seed in [0, 1) for stochastic shading, 0 when unused.
no setter

Methods

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

Operators

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

Constants

reader → const Reader<GCTLevel>