<?xml version="1.0" encoding="UTF-8"?> <?import java.net.URL?> <?import javafx.scene.control.Accordion?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.CheckBox?> <?import javafx.scene.control.ColorPicker?> <?import javafx.scene.control.ComboBox?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.ListView?> <?import javafx.scene.control.RadioButton?> <?import javafx.scene.control.Tab?> <?import javafx.scene.control.TabPane?> <?import javafx.scene.control.TextField?> <?import javafx.scene.control.TitledPane?> <?import javafx.scene.control.Tooltip?> <?import javafx.scene.image.Image?> <?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.HBox?> <?import javafx.scene.layout.VBox?> <AnchorPane id="AnchorPane" minHeight="0.0" prefHeight="541.0" prefWidth="219.0" styleClass="mainFxmlClass" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.amap.lidar.amapvox.gui.viewer3d.ToolBoxFrameController"> <stylesheets> <URL value="@/styles/toolbarframe.css" /> </stylesheets> <children> <HBox> <children> <TabPane fx:id="tabpaneContent" layoutX="-12.0" layoutY="23.0" minHeight="0.0" minWidth="-Infinity" prefHeight="541.0" prefWidth="219.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> <tabs> <Tab text="Parameters"> <content> <Accordion minHeight="0.0" nodeOrientation="LEFT_TO_RIGHT"> <panes> <TitledPane text="Voxels"> <content> <AnchorPane prefHeight="200.0" prefWidth="200.0"> <children> <ComboBox fx:id="comboBoxAttributeToShow" layoutX="14.0" layoutY="53.0" prefHeight="25.0" prefWidth="176.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" /> <Label layoutX="20.0" layoutY="30.0" text="Attribute to show" /> <Label layoutX="20.0" layoutY="92.0" text="Gradient" /> <ComboBox fx:id="comboboxGradient" layoutX="22.0" layoutY="114.0" prefHeight="25.0" prefWidth="176.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" /> <Label layoutX="21.0" layoutY="167.0" text="Size" /> <TextField fx:id="textFieldVoxelSize" layoutX="57.0" layoutY="162.0" prefHeight="25.0" prefWidth="54.0" /> <Button fx:id="buttonApplyVoxelSize" layoutX="123.0" layoutY="162.0" mnemonicParsing="false" onAction="#onActionButtonApplyVoxelSize" text="Apply" /> <Label layoutX="17.0" layoutY="229.0" text="Min value" AnchorPane.leftAnchor="10.0" /> <Label layoutX="17.0" layoutY="256.0" text="Max value" AnchorPane.leftAnchor="10.0" /> <TextField fx:id="textFieldMinValue" layoutX="96.0" layoutY="224.0" prefHeight="25.0" prefWidth="82.0" /> <TextField fx:id="textFieldMaxValue" layoutX="96.0" layoutY="251.0" prefHeight="25.0" prefWidth="82.0" /> <Button fx:id="buttonResetMinMax" layoutX="20.0" layoutY="289.0" mnemonicParsing="false" onAction="#onActionButtonResetMinMax" text="Reset" AnchorPane.leftAnchor="10.0" /> <CheckBox fx:id="checkboxStretched" layoutX="89.0" layoutY="91.0" mnemonicParsing="false" text="Stretched" /> <Button fx:id="buttonApplyMinMax" layoutX="83.0" layoutY="289.0" mnemonicParsing="false" onAction="#onActionButtonApplyMinMax" text="Apply" /> </children> </AnchorPane> </content> </TitledPane> <TitledPane expanded="false" text="Filtering"> <content> <AnchorPane prefHeight="200.0" prefWidth="200.0"> <children> <VBox layoutX="14.0" layoutY="14.0" spacing="5.0"> <children> <Label text="Scalar field" /> <ComboBox fx:id="comboBoxScalarField" prefHeight="26.0" prefWidth="168.0" /> <RadioButton fx:id="radiobuttonDisplay" mnemonicParsing="false" text="Display" /> <RadioButton fx:id="radiobuttonDontDisplay" mnemonicParsing="false" selected="true" text="Don't display" /> <HBox> <children> <TextField fx:id="textfieldFilteringRange" prefHeight="26.0" prefWidth="155.0" promptText="Example: NaN, 0, -1"> <tooltip> <Tooltip fx:id="tooltipTextfieldFilter1" text="Syntax : [-1->5[ to filter from -1 inclusive to 5 exclusive" /> </tooltip> </TextField> <Button mnemonicParsing="false" onAction="#onActionButtonAddFilterToList" text="Add" /> </children> </HBox> <ListView fx:id="listviewFilters" prefHeight="200.0" prefWidth="200.0" /> <Button mnemonicParsing="false" onAction="#onActionButtonRemoveFilterFromList" text="Remove" /> </children> </VBox> </children> </AnchorPane> </content></TitledPane> </panes> </Accordion> </content> </Tab> <Tab text="Scene"> <content> <Accordion> <panes> <TitledPane text="World"> <content> <AnchorPane prefHeight="200.0" prefWidth="200.0"> <children> <Label layoutX="14.0" layoutY="31.0" text="Background color" AnchorPane.leftAnchor="5.0" /> <AnchorPane layoutX="11.0" layoutY="108.0" maxWidth="-Infinity" minWidth="-Infinity" prefHeight="250.0" prefWidth="190.0" AnchorPane.leftAnchor="1.0" AnchorPane.rightAnchor="1.0"> <children> <CheckBox fx:id="checkboxEnableLighting" layoutX="14.0" layoutY="14.0" mnemonicParsing="false" selected="true" text="Enable lighting" AnchorPane.leftAnchor="5.0" /> <ColorPicker fx:id="colorpickerLightingAmbientColor" editable="true" layoutX="41.0" layoutY="61.0" prefHeight="25.0" prefWidth="120.0" AnchorPane.leftAnchor="40.0" /> <Label layoutX="21.0" layoutY="45.0" text="Ambient color" AnchorPane.leftAnchor="20.0" /> <Label layoutX="21.0" layoutY="94.0" text="Diffuse color" AnchorPane.leftAnchor="20.0" /> <ColorPicker fx:id="colorpickerLightingDiffuseColor" editable="true" layoutX="41.0" layoutY="110.0" prefHeight="25.0" prefWidth="120.0" AnchorPane.leftAnchor="40.0" AnchorPane.topAnchor="111.0" /> <Label layoutX="18.0" layoutY="143.0" text="Specular color" AnchorPane.leftAnchor="20.0" /> <ColorPicker fx:id="colorpickerLightingSpecularColor" editable="true" layoutX="38.0" layoutY="159.0" prefHeight="25.0" prefWidth="120.0" AnchorPane.leftAnchor="40.0" AnchorPane.topAnchor="159.0" /> </children> </AnchorPane> <ColorPicker fx:id="colorPickerBackgroundColor" editable="true" layoutX="13.0" layoutY="52.0" prefHeight="25.0" prefWidth="120.0" AnchorPane.leftAnchor="5.0" /> </children> </AnchorPane> </content> </TitledPane> <TitledPane text="View"> <content> <AnchorPane prefHeight="200.0" prefWidth="200.0"> <children> <AnchorPane layoutY="187.0" prefHeight="429.0" prefWidth="221.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> <children> <Button fx:id="buttonViewTop" alignment="CENTER" layoutX="66.0" layoutY="14.0" mnemonicParsing="false" onAction="#onActionButtonViewTop" text="Top (7)" /> <Button fx:id="buttonViewRight" layoutX="114.0" layoutY="51.0" mnemonicParsing="false" onAction="#onActionButtonViewRight" text="Right (3)" AnchorPane.rightAnchor="5.0" /> <Button fx:id="buttonViewBottom" layoutX="42.0" layoutY="88.0" mnemonicParsing="false" onAction="#onActionButtonViewBottom" text="Bottom (Ctrl-7)" /> <Button fx:id="buttonViewLeft" layoutX="6.0" layoutY="51.0" mnemonicParsing="false" onAction="#onActionButtonViewLeft" text="Left (Ctrl-3)" AnchorPane.leftAnchor="5.0" /> <Button fx:id="buttonViewBack" layoutX="3.0" layoutY="169.0" mnemonicParsing="false" onAction="#onActionButtonViewBack" text="Back (Ctrl-1)" AnchorPane.leftAnchor="5.0" /> <Button fx:id="buttonViewFront" layoutX="5.0" layoutY="136.0" mnemonicParsing="false" onAction="#onActionButtonViewFront" text="Front (1)" AnchorPane.leftAnchor="5.0" /> <Button fx:id="buttonViewIsometric" layoutX="6.0" layoutY="225.0" mnemonicParsing="false" onAction="#onActionButtonViewIsometric" prefHeight="25.0" prefWidth="94.0" text="Isometric" AnchorPane.leftAnchor="5.0" /> </children> </AnchorPane> </children></AnchorPane> </content> </TitledPane> <TitledPane prefHeight="200.0" prefWidth="200.0" text="Camera"> <content> <AnchorPane prefHeight="200.0" prefWidth="200.0"> <children> <AnchorPane layoutX="14.0" layoutY="29.0" prefHeight="65.0" prefWidth="202.0" style="-fx-border-style: dashed; -fx-border-radius: 20;" AnchorPane.leftAnchor="1.0" AnchorPane.rightAnchor="1.0"> <children> <TextField fx:id="textfieldCameraFOV" layoutX="118.0" layoutY="32.0" prefHeight="25.0" prefWidth="57.0" text="60" /> <Label layoutX="30.0" layoutY="37.0" text="Field of view" /> <RadioButton fx:id="radiobuttonPerspectiveCamera" layoutX="14.0" layoutY="5.0" mnemonicParsing="false" selected="true" text="Perspective (5)" AnchorPane.leftAnchor="6.0" /> </children> </AnchorPane> <AnchorPane layoutX="10.4" layoutY="113.0" prefHeight="30.0" prefWidth="201.0" style="-fx-border-style: dashed; -fx-border-radius: 20;" AnchorPane.leftAnchor="1.0" AnchorPane.rightAnchor="1.0"> <children> <RadioButton fx:id="radiobuttonOrthographicCamera" layoutX="6.0" layoutY="5.0" mnemonicParsing="false" text="Orthographic (5)" AnchorPane.leftAnchor="6.0" /> </children> </AnchorPane> <Label layoutX="27.0" layoutY="355.0" text="Far" /> <TextField fx:id="textfieldCameraFar" alignment="CENTER" layoutX="61.0" layoutY="350.0" prefHeight="25.0" prefWidth="57.0" text="1000" /> <TextField fx:id="textfieldCameraNear" alignment="CENTER" layoutX="61.0" layoutY="312.0" prefHeight="25.0" prefWidth="57.0" text="1" /> <Label layoutX="21.0" layoutY="316.0" text="Near" /> </children> </AnchorPane> </content> </TitledPane> </panes> </Accordion> </content> </Tab> <Tab text="Tools"> <content> <Accordion> <panes> <TitledPane text="Sectional view"> <content> <AnchorPane prefHeight="200.0" prefWidth="200.0"> <children> <Button fx:id="buttonIncreaseCutting" layoutX="14.0" layoutY="48.0" mnemonicParsing="false" onAction="#onActionButtonIncreaseCutting"> <graphic> <ImageView fitHeight="15.0" fitWidth="21.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@icons/gnome_list_add.png" /> </image> </ImageView> </graphic></Button> <Button fx:id="buttonDecreaseCutting" layoutX="58.0" layoutY="48.0" mnemonicParsing="false" onAction="#onActionButtonDecreaseCutting" prefHeight="9.0" prefWidth="14.0"> <graphic> <ImageView fitHeight="16.0" fitWidth="19.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@icons/gnome_list_remove.png" /> </image> </ImageView> </graphic></Button> <TextField fx:id="textfieldIncrementValue" layoutX="89.0" layoutY="14.0" prefHeight="26.0" prefWidth="68.0" text="1" /> <Label layoutX="14.0" layoutY="19.0" text="Increment" /> <Button layoutX="123.0" layoutY="48.0" mnemonicParsing="false" onAction="#onActionButtonResetCuttingPlane" text="Reset" /> </children> </AnchorPane> </content> </TitledPane> </panes> </Accordion> </content> </Tab> </tabs> </TabPane> <Button fx:id="buttonHideToolBox" minWidth="-Infinity" mnemonicParsing="false" onAction="#onActionButtonHideToolBox" prefHeight="540.0" prefWidth="14.0"> <graphic> <ImageView fx:id="imageViewArrowHiddingPane" fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@icons/left_arrow.png" /> </image> </ImageView> </graphic> </Button> </children> </HBox> </children> </AnchorPane>