sexi.util
Class TopographyCalculator

java.lang.Object
  |
  +--sexi.util.TopographyCalculator
All Implemented Interfaces:
CalculatorEvent, java.lang.Runnable

public class TopographyCalculator
extends java.lang.Object
implements java.lang.Runnable, CalculatorEvent


Field Summary
(package private)  boolean aborted
           
(package private)  int calculationSize
           
(package private)  java.util.ArrayList listenerList
           
(package private)  double maxX
           
(package private)  double maxY
           
(package private)  int method
           
(package private)  double minX
           
(package private)  double minY
           
(package private) static int POINT_LOCATION
           
(package private)  Point3f[] pointsOutput
           
(package private)  float progress
           
(package private)  java.lang.Object result
           
(package private)  Point3f[] topoInput
           
(package private) static int TREE_LOCATION
           
(package private)  TreeBasic[] treeOutput
           
 
Constructor Summary
TopographyCalculator()
           
 
Method Summary
 void addCalculatorListener(CalculatorListener l)
           
 double getCurrentProgress()
           
 double getMaxProgress()
           
 double getMinProgress()
           
 java.lang.Object getResult()
           
 java.lang.Object getSource()
           
 void removeCalculatorListener(CalculatorListener l)
           
 void run()
           
 void setTopography(Point3f[] topography, Point3f[] output)
           
 void setTopography(Point3f[] topography, TreeBasic[] output)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TREE_LOCATION

static int TREE_LOCATION

POINT_LOCATION

static int POINT_LOCATION

minX

double minX

minY

double minY

maxX

double maxX

maxY

double maxY

aborted

boolean aborted

progress

float progress

method

int method

calculationSize

int calculationSize

topoInput

Point3f[] topoInput

pointsOutput

Point3f[] pointsOutput

treeOutput

TreeBasic[] treeOutput

listenerList

java.util.ArrayList listenerList

result

java.lang.Object result
Constructor Detail

TopographyCalculator

public TopographyCalculator()
Method Detail

setTopography

public void setTopography(Point3f[] topography,
                          Point3f[] output)

setTopography

public void setTopography(Point3f[] topography,
                          TreeBasic[] output)

addCalculatorListener

public void addCalculatorListener(CalculatorListener l)

removeCalculatorListener

public void removeCalculatorListener(CalculatorListener l)

run

public void run()
Specified by:
run in interface java.lang.Runnable

getCurrentProgress

public double getCurrentProgress()
Specified by:
getCurrentProgress in interface CalculatorEvent

getMinProgress

public double getMinProgress()
Specified by:
getMinProgress in interface CalculatorEvent

getMaxProgress

public double getMaxProgress()
Specified by:
getMaxProgress in interface CalculatorEvent

getResult

public java.lang.Object getResult()
Specified by:
getResult in interface CalculatorEvent

getSource

public java.lang.Object getSource()
Specified by:
getSource in interface CalculatorEvent