public class DefaultVerticesCountMesh extends AbstractUnaryHybridCF<Mesh,DoubleType> implements GeometricOp<Mesh,DoubleType>, Ops.Geometric.VerticesCount
geom.boundaryPixelCount
.SpecialOp.Flavor
NAME
Constructor and Description |
---|
DefaultVerticesCountMesh() |
Modifier and Type | Method and Description |
---|---|
void |
compute(Mesh input,
DoubleType output)
Computes the output given some input.
|
DoubleType |
createOutput(Mesh input)
Create an output object given some input.
|
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculate, calculate, getIndependentInstance, run
in, setInput
run
candidates, filterArity, op
ops, setEnvironment
initialize
calculate, calculate, createOutput, getIndependentInstance, run, run
compute
run
setOutput
public void compute(Mesh input, DoubleType output)
UnaryComputerOp
compute
in interface UnaryComputerOp<Mesh,DoubleType>
input
- Argument to the computation, which must be non-nulloutput
- Object where the computation's result will be stored, which
must be non-null and a different object than input
public DoubleType createOutput(Mesh input)
UnaryOutputFactory
createOutput
in interface UnaryOutputFactory<Mesh,DoubleType>
input
- which determines how to create the outputCopyright © 2014–2022 ImageJ. All rights reserved.