Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<?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>