A user function class for writing a circle to a ScalarField
.
A user function class for writing a cross to a ScalarField
.
A user function class for writing a cross to a ScalarField
. The shape of
the output must be defined at definition time. The position and size of the
cross are specified by ScalarField
s which can change over time.
Example:
val crossWriter = new CrossWriter(Shape(10,10)) val row = ScalarField(5f) val column = ScalarField(5f) val radius = ScalarField(5f) val fieldWithCross = crossWriter(row, column, radius)
Note that CrossWriter
s contains internal state that is mutated each time
the operator is called, requiring a different CrossWriter
for each cross
you want to generate.
A user function class for writing a circle to a
ScalarField
. The shape of the output must be defined at definition time. The position and size of the circle are specified byScalarField
s which can change over time.Example:
val circleWriter = new CircleWriter(Shape(10,10)) val row = ScalarField(5f) val column = ScalarField(5f) val radius = ScalarField(5f) val fieldWithCircle = cirlceWriter(row, column, radius)
Note that
CircleWriter
s contains internal state that is mutated each time the operator is called, requiring a differentCircleWriter
for each cross you want to generate.