Class Volume<T extends FeatureInputEnergy>

Object
AnchorBean<Feature<T>>
InitializableBean<Feature<T>, FeatureInitialization>
Feature<T>
FromDimensionsBase<T>
Volume<T>
Type Parameters:
T - feature-input-type

public class Volume<T extends FeatureInputEnergy> extends FromDimensionsBase<T>
Calculates the volume (x, y and z dimensions) of the scene from the dimensions
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double
    calculateFromDimensions(Dimensions dimensions)
    Calculates a feature value from the given dimensions.

    Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.dimensions.FromDimensionsBase

    calculate, inputType

    Methods inherited from class org.anchoranalysis.feature.bean.Feature

    assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Volume

      public Volume()
  • Method Details

    • calculateFromDimensions

      protected double calculateFromDimensions(Dimensions dimensions)
      Description copied from class: FromDimensionsBase
      Calculates a feature value from the given dimensions.
      Specified by:
      calculateFromDimensions in class FromDimensionsBase<T extends FeatureInputEnergy>
      Parameters:
      dimensions - the Dimensions to calculate from
      Returns:
      the calculated feature value