GCTDensityVolume class
A baked density volume of a variant on the same cube as its distance field, for ray marching: N^3 samples of amplitude in AMPLITUDE_UNITS, float16, x fastest. Optional.
Constructors
-
GCTDensityVolume(List<
int> bytes) -
factory
Properties
- CHUNK_CID → String?
-
Content identifier of the volume when DATA is absent.
no setter
- chunkCid → String?
-
no setter
-
DATA
→ List<
int> ? -
N^3 IEEE 754 half-precision samples as their 16-bit patterns, x
fastest, then y, then z. Absent when the volume travels as the chunk
named by CHUNK_CID.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- N → int
-
Voxels per axis.
no setter
-
ORIGIN_M
→ List<
double> ? -
Origin of voxel (0, 0, 0) in the variant frame, metres (3 values).
no setter
-
originM
→ List<
double> ? -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
SPAN_M
→ List<
double> ? -
Extent of the cube along each axis, metres (3 values).
no setter
-
spanM
→ List<
double> ? -
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<
GCTDensityVolume>