GCTVariant class

One variant: one cloud (or one tile's merged mixture) as a chain of levels of detail in its own frame. Instances place variants in the tile.

Constructors

GCTVariant(List<int> bytes)
factory

Properties

AUTHORING_SEED → int
Seed the producer authored the variant from, for reproducibility.
no setter
authoringSeed → int
no setter
BOUNDS_MAX_M → List<double>?
Axis-aligned bounds, max x, y, z (3 values).
no setter
BOUNDS_MIN_M → List<double>?
Axis-aligned bounds of the finest level's support in the variant frame, metres: min x, y, z (3 values).
no setter
boundsMaxM → List<double>?
no setter
boundsMinM → List<double>?
no setter
DENSITY_VOLUME → GCTDensityVolume?
Baked density volume for ray marching. Optional.
no setter
densityVolume → GCTDensityVolume?
no setter
DISTANCE_FIELD → GCTDistanceField?
Signed distance field of the surface. Optional.
no setter
distanceField → GCTDistanceField?
no setter
GENUS → gctCloudGenus
Genus, where classified.
no setter
hashCode → int
The hash code for this object.
no setterinherited
LEVELS → List<GCTLevel>?
Levels of detail, finest first, each conserving the mass of the one before it. Absent when SCOPE is SHARED_LIBRARY.
no setter
MASS → double
Total mass of the finest level: the integral of amplitude over space, AMPLITUDE_UNITS times cubic metres. Every level MUST match it within MASS_TOLERANCE.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SCOPE → gctVariantScope
Where the levels live.
no setter
VARIANT_CID → String?
Content identifier of the variant's levels when SCOPE is SHARED_LIBRARY. Two references with equal VARIANT_CID are the same bytes.
no setter
VARIANT_ID → String?
Producer-stable identifier of the variant within FIELD_ID.
no setter
variantCid → String?
no setter
variantId → String?
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<GCTVariant>