Class FeatureInputSingleMemo
Object
org.anchoranalysis.feature.input.FeatureInputDimensions
org.anchoranalysis.feature.input.FeatureInputEnergy
org.anchoranalysis.mpp.feature.input.FeatureInputSingleMemo
- All Implemented Interfaces:
FeatureInput,FeatureInputDictionary,FeatureInputWithResolution
public class FeatureInputSingleMemo extends FeatureInputEnergy
Feature input that contains a single memoized voxelized mark and an optional energy stack.
This class extends FeatureInputEnergy to include a VoxelizedMarkMemo object,
representing a single memoized voxelized mark for feature calculations.
-
Constructor Summary
Constructors Constructor Description FeatureInputSingleMemo(VoxelizedMarkMemo pxlPartMemo, Optional<EnergyStack> energyStack)Creates a new instance with a memoized voxelized mark and an optional energy stack.FeatureInputSingleMemo(VoxelizedMarkMemo pxlPartMemo, EnergyStack energyStack)Creates a new instance with a memoized voxelized mark and a non-optional energy stack. -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)VoxelizedMarkMemogetMemo()The memoized voxelized mark.inthashCode()voidsetMemo(VoxelizedMarkMemo memo)The memoized voxelized mark.Methods inherited from class org.anchoranalysis.feature.input.FeatureInputEnergy
dimensions, dimensionsOptional, dimensionsRequired, getDictionaryOptional, getEnergyStackOptional, getEnergyStackRequired, getResolutionOptional, getUnitConverterOptional, setEnergyStack, setEnergyStackMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.anchoranalysis.feature.input.FeatureInputDictionary
getDictionaryRequiredMethods inherited from interface org.anchoranalysis.feature.input.FeatureInputWithResolution
getResolutionRequired
-
Constructor Details
-
FeatureInputSingleMemo
Creates a new instance with a memoized voxelized mark and a non-optional energy stack.- Parameters:
pxlPartMemo- the memoized voxelized markenergyStack- the energy stack associated with the mark
-
FeatureInputSingleMemo
Creates a new instance with a memoized voxelized mark and an optional energy stack.- Parameters:
pxlPartMemo- the memoized voxelized markenergyStack- an optional energy stack associated with the mark
-
-
Method Details
-
equals
- Overrides:
equalsin classFeatureInputEnergy
-
canEqual
- Overrides:
canEqualin classFeatureInputEnergy
-
hashCode
public int hashCode()- Overrides:
hashCodein classFeatureInputEnergy
-
getMemo
The memoized voxelized mark. -
setMemo
The memoized voxelized mark.
-