FieldAnalysis class final
Evaluates a BooleanFieldFunction, ContinuousFieldFunction, or DiscreteFieldFunction and produces a visual result for display in an AnalysisOverlay.
The visualization updates automatically when function parameters change. There is no need to call ContinuousFieldFunction.evaluate, DiscreteFieldFunction.evaluate, or BooleanFieldFunction.evaluate.
Constructors
- FieldAnalysis.withBooleanFieldFunction({required BooleanFieldFunction function, required ColormapRenderer renderer})
-
Creates a FieldAnalysis with a BooleanFieldFunction and a
ColormapRenderer.
factory
- FieldAnalysis.withContinuousFieldFunction({required ContinuousFieldFunction function, required StretchRenderer renderer})
-
Creates a FieldAnalysis with a ContinuousFieldFunction and a
StretchRenderer.
factory
- FieldAnalysis.withDiscreteFieldFunction({required DiscreteFieldFunction function, required ColormapRenderer renderer})
-
Creates a FieldAnalysis with a DiscreteFieldFunction and a
ColormapRenderer.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isVisible ↔ bool
-
Whether or not the analysis is visible.
getter/setter pairinherited
- opacity ↔ double
-
The opacity for the FieldAnalysis.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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