motris.algorithm
Class EdgeElementAdaption.ModelSegmentCache

java.lang.Object
  extended bymotris.algorithm.EdgeElementAdaption.ModelSegmentCache
Enclosing class:
EdgeElementAdaption

public class EdgeElementAdaption.ModelSegmentCache
extends java.lang.Object

this class does some pre-computation on the model Segments to allow faster access for OneEdgeElementCalculations

Author:
Hendrik Dahlkamp

Field Summary
 double[][] edgeCache
           
 double[][] edgeEndDerivativeCache
           
 double[][] edgeStartDerivativeCache
           
 int sizeFilled
           
 
Constructor Summary
EdgeElementAdaption.ModelSegmentCache()
           
 
Method Summary
 void ensureCapacity(int capacity, boolean copyOldValues)
           
 void fillCache(ImageGeometry imageGeo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

edgeCache

public double[][] edgeCache

edgeStartDerivativeCache

public double[][] edgeStartDerivativeCache

edgeEndDerivativeCache

public double[][] edgeEndDerivativeCache

sizeFilled

public int sizeFilled
Constructor Detail

EdgeElementAdaption.ModelSegmentCache

public EdgeElementAdaption.ModelSegmentCache()
Method Detail

ensureCapacity

public void ensureCapacity(int capacity,
                           boolean copyOldValues)

fillCache

public void fillCache(ImageGeometry imageGeo)