Startup
This commit is contained in:
@@ -64,8 +64,8 @@ public class HoloScan extends Panel {
|
||||
try{
|
||||
int steps = (radioSteps.isSelected() ?
|
||||
(Integer)spinnerStepsPhi.getValue() * (Integer)spinnerStepsTheta.getValue() :
|
||||
(int)(Math.abs((Double)spinnerToPhi.getValue() - (Double)spinnerFromPhi.getValue()) / (Integer)spinnerStepSizePhi.getValue() + 1) *
|
||||
(int)(Math.abs((Double)spinnerToTheta.getValue() - (Double)spinnerFromTheta.getValue()) / (Integer)spinnerStepSizeTheta.getValue() +1));
|
||||
(int)(Math.abs((Double)spinnerToPhi.getValue() - (Double)spinnerFromPhi.getValue()) / (Double)spinnerStepSizePhi.getValue() + 1) *
|
||||
(int)(Math.abs((Double)spinnerToTheta.getValue() - (Double)spinnerFromTheta.getValue()) / (Double)spinnerStepSizeTheta.getValue() +1));
|
||||
int seconds = (int) (Double.valueOf(dvpAcqTime.getLabel().getText()) * steps);
|
||||
LocalTime time = LocalTime.ofSecondOfDay(seconds);
|
||||
textTotalTime.setText(time.toString());
|
||||
|
||||
Reference in New Issue
Block a user