Class ReflectInAxesWithinDistance

Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,​org.anchoranalysis.mpp.init.PointsInitialization>
org.anchoranalysis.mpp.bean.points.PointsBean<org.anchoranalysis.mpp.bean.points.fitter.PointsFitter>
org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
org.anchoranalysis.plugin.points.bean.fitter.ReflectInAxesWithinDistance
All Implemented Interfaces:
org.anchoranalysis.mpp.mark.CompatibleWithMark

public class ReflectInAxesWithinDistance
extends org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
Reflects points in each axes if all points are within a certain distance from it
Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    ReflectInAxesWithinDistance()  
  • Method Summary

    Modifier and Type Method Description
    void fit​(List<org.anchoranalysis.spatial.point.Point3f> points, org.anchoranalysis.mpp.mark.Mark mark, org.anchoranalysis.image.core.dimensions.Dimensions dimensions)  
    double getDistanceX()  
    double getDistanceY()  
    double getDistanceZ()  
    org.anchoranalysis.mpp.bean.points.fitter.PointsFitter getPointsFitter()  
    boolean isCompatibleWith​(org.anchoranalysis.mpp.mark.Mark testMark)  
    void setDistanceX​(double distanceX)  
    void setDistanceY​(double distanceY)  
    void setDistanceZ​(double distanceZ)  
    void setPointsFitter​(org.anchoranalysis.mpp.bean.points.fitter.PointsFitter pointsFitter)  

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

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

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

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

    Methods inherited from class java.lang.Object

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

  • Method Details

    • isCompatibleWith

      public boolean isCompatibleWith​(org.anchoranalysis.mpp.mark.Mark testMark)
    • fit

      public void fit​(List<org.anchoranalysis.spatial.point.Point3f> points, org.anchoranalysis.mpp.mark.Mark mark, org.anchoranalysis.image.core.dimensions.Dimensions dimensions) throws org.anchoranalysis.mpp.bean.points.fitter.PointsFitterException, org.anchoranalysis.mpp.bean.points.fitter.InsufficientPointsException
      Specified by:
      fit in class org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
      Throws:
      org.anchoranalysis.mpp.bean.points.fitter.PointsFitterException
      org.anchoranalysis.mpp.bean.points.fitter.InsufficientPointsException
    • getPointsFitter

      public org.anchoranalysis.mpp.bean.points.fitter.PointsFitter getPointsFitter()
    • setPointsFitter

      public void setPointsFitter​(org.anchoranalysis.mpp.bean.points.fitter.PointsFitter pointsFitter)
    • getDistanceX

      public double getDistanceX()
    • setDistanceX

      public void setDistanceX​(double distanceX)
    • getDistanceY

      public double getDistanceY()
    • setDistanceY

      public void setDistanceY​(double distanceY)
    • getDistanceZ

      public double getDistanceZ()
    • setDistanceZ

      public void setDistanceZ​(double distanceZ)