FourdgsWriteOptions class
How a scene is written. The defaults are the reference encoders' own.
Constructors
-
FourdgsWriteOptions({String profile = 'default', double cutoff = fourdgsDefaultCutoff, int codec = codecDeflate, int level = 6, int maxDepth = 6, int minChunkGaussians = 2048, bool writeIndex = true, bool writeStatistics = false, bool writeSummaryOffsets = false, bool writeCrc = true, int shBands = 3, List<
int> shBitDepths = const <int>[], bool verify = true, String library = '4dgs-dart encoder', String sceneProfile = '', Map<String, String> attributes = const <String, String>{}, FourdgsObjectLayer? objects}) -
const
Properties
-
attributes
→ Map<
String, String> -
The Header's free-form attribute map.
final
- codec → int
-
The stream codec. Only codecDeflate is available to a pure-Dart build,
which is why it is the default everywhere.
final
- cutoff → double
-
The Header's marginal visibility threshold. Not only metadata: it sets the
support constant the per-gaussian velocity grid is derived from, so encoder
and decoder must agree on it, and they do by reading it from the file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → int
-
Deflate compression level:
-1for the codec's own default, or0–9from fastest to smallest. Anything else is refused by name.final - library → String
-
Free-form producer identification, written to the Header.
final
- maxDepth → int
-
Depth of the temporal partition below each window,
0to32.0writes one chunk per window interval, which is the coarsest partition that is still a partition. The ceiling is there because the descent is recursive and a gaussian that lives for one instant never stops descending.final - minChunkGaussians → int
-
The population a subdivision has to reach to be worth its own chunk, at
least
1. Below it a node hands its gaussians back to its parent, so a deep tree over a small scene does not turn into hundreds of chunks of four.final - objects → FourdgsObjectLayer?
-
The Object Table and optional SE(3) tracks to write.
final
- profile → String
-
The quantization profile:
fine,defaultorcoarse. It selects the error bounds, and through them every grid pitch the file declares.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sceneProfile → String
-
The Header's
profilefield — a well-known scene profile name, which is a different thing from the quantization profile above.final - shBands → int
-
Highest spherical-harmonic band to write, capped further by the scene's
own degree.
final
-
shBitDepths
→ List<
int> -
Per-band spherical-harmonic bit depths, band 1 first.
final
- verify → bool
-
Decode each band record back and measure the deviation before declaring a
bound for it.
final
- writeCrc → bool
-
final
- writeIndex → bool
-
final
- writeStatistics → bool
-
final
- writeSummaryOffsets → bool
-
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