public abstract class OutlineKernelBase extends FeatureSingleObject
Constructor and Description |
---|
OutlineKernelBase() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculate(FeatureCalculationInput<FeatureInputSingleObject> input)
Calculates a value for some input.
|
protected abstract double |
calculateWithParameters(ObjectMask object,
KernelApplicationParameters parameters,
CheckedSupplier<EnergyStack,FeatureCalculationException> energyStack) |
boolean |
isDo3D() |
boolean |
isIgnoreAtThreshold() |
boolean |
isOutsideAtThreshold() |
void |
setDo3D(boolean do3D) |
void |
setIgnoreAtThreshold(boolean ignoreAtThreshold) |
void |
setOutsideAtThreshold(boolean outsideAtThreshold) |
inputType
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
protected double calculate(FeatureCalculationInput<FeatureInputSingleObject> input) throws FeatureCalculationException
Feature
calculate
in class Feature<FeatureInputSingleObject>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot successfully complete.protected abstract double calculateWithParameters(ObjectMask object, KernelApplicationParameters parameters, CheckedSupplier<EnergyStack,FeatureCalculationException> energyStack) throws FeatureCalculationException
FeatureCalculationException
public boolean isOutsideAtThreshold()
public void setOutsideAtThreshold(boolean outsideAtThreshold)
public boolean isIgnoreAtThreshold()
public void setIgnoreAtThreshold(boolean ignoreAtThreshold)
public boolean isDo3D()
public void setDo3D(boolean do3D)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.