-
Finished UI of the Cropping tab. Cropping not working though because of VoxelFileReader that does not handle unknown column names.
Finished UI of the Cropping tab. Cropping not working though because of VoxelFileReader that does not handle unknown column names.
VoxelSpaceCroppingFrame.fxml 4.29 KiB
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Spinner?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.ToggleGroup?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.GridPane?>
<AnchorPane id="AnchorPane" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/8.0.65" fx:controller="fr.amap.lidar.amapvox.gui.VoxelSpaceCroppingFrameController">
<children>
<VBox alignment="TOP_LEFT" spacing="20.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0" AnchorPane.bottomAnchor="10.0" fillWidth="true" >
<children>
<VBox spacing="10.0">
<children>
<Label text="Voxel file" />
<HBox spacing="10.0">
<children>
<TextField fx:id="textfieldInputVoxelFile" editable="false" prefHeight="26.0" prefWidth="400.0" HBox.hgrow="ALWAYS" />
<Button mnemonicParsing="false" onAction="#onActionButtonOpenVoxelFile" text="..." />
</children>
</HBox>
</children>
</VBox>
<HBox spacing="15.0">
<children>
<fx:define>
<ToggleGroup fx:id="cropToggleGroup" />
</fx:define>
<RadioButton fx:id="autoCropRadioButton" text="Automatic" toggleGroup="$cropToggleGroup" selected="true" />
<RadioButton fx:id="manualCropRadioButton" text="Manual " toggleGroup="$cropToggleGroup" />
<fx:include fx:id="helpButtonCropping" source="HelpButton.fxml" />
</children>
</HBox>
<GridPane fx:id="manualCropGridPane" alignment="TOP_LEFT" hgap="10" vgap="10">
<children>
<Label GridPane.columnIndex="0" GridPane.rowIndex="0" text="I min" />
<Spinner GridPane.columnIndex="1" GridPane.rowIndex="0" fx:id="spinnerEnterIMin" editable="true" prefHeight="26.0" prefWidth="92.0" />
<Label GridPane.columnIndex="2" GridPane.rowIndex="0" text="I max" />
<Spinner GridPane.columnIndex="3" GridPane.rowIndex="0" fx:id="spinnerEnterIMax" editable="true" prefHeight="26.0" prefWidth="92.0" />
<Label GridPane.columnIndex="0" GridPane.rowIndex="1" text="J min" />
<Spinner GridPane.columnIndex="1" GridPane.rowIndex="1" fx:id="spinnerEnterJMin" editable="true" prefHeight="26.0" prefWidth="92.0" />
<Label GridPane.columnIndex="2" GridPane.rowIndex="1" text="J max" />
<Spinner GridPane.columnIndex="3" GridPane.rowIndex="1" fx:id="spinnerEnterJMax" editable="true" prefHeight="26.0" prefWidth="92.0" />
<Label GridPane.columnIndex="0" GridPane.rowIndex="2" text="K min" />
<Spinner GridPane.columnIndex="1" GridPane.rowIndex="2" fx:id="spinnerEnterKMin" editable="true" prefHeight="26.0" prefWidth="92.0" />
<Label GridPane.columnIndex="2" GridPane.rowIndex="2" text="K max" />
<Spinner GridPane.columnIndex="3" GridPane.rowIndex="2" fx:id="spinnerEnterKMax" editable="true" prefHeight="26.0" prefWidth="92.0" />
</children>
<padding>
<Insets left="20.0" />
</padding>
</GridPane>
<HBox spacing="10.0">
<children>
<Button fx:id="saveButton" mnemonicParsing="false" onAction="#onActionButtonSave" text="Save" />
<Button fx:id="saveAsButton" mnemonicParsing="false" onAction="#onActionButtonSaveAs" text="Save as..." />
</children>
</HBox>
</children>
</VBox>
</children>
</AnchorPane>