|
5 | 5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 | 6 | xmlns:local="clr-namespace:PointCloudConverter" |
7 | 7 | mc:Ignorable="d" |
8 | | - Title="PointCloudConverter" Height="720" Width="907" Background="#FF252222" Closing="Window_Closing" Loaded="Window_Loaded"> |
| 8 | + Title="PointCloudConverter" Height="720" Width="907" Background="#FF252222" Closing="Window_Closing" Loaded="Window_Loaded" MinWidth="920"> |
9 | 9 | <Grid Margin="0,0,2,0"> |
10 | 10 | <Button x:Name="btnBrowseInput" Content="..." HorizontalAlignment="Left" Margin="636,48,0,0" VerticalAlignment="Top" Width="32" Height="23" Click="btnBrowseInput_Click" ToolTip="Browse for input file"/> |
11 | 11 | <TextBox x:Name="txtInputFile" HorizontalAlignment="Left" AllowDrop="True" Height="23" Margin="20,48,0,0" VerticalAlignment="Top" Width="611" PreviewDrop="txtInputFile_Drop" PreviewDragOver="txtInputFile_DragEnter"/> |
|
14 | 14 | <Button x:Name="btnBrowseOutput" Content="..." HorizontalAlignment="Left" Margin="636,114,0,0" VerticalAlignment="Top" Width="32" Height="23" Click="btnBrowseOutput_Click" ToolTip="Browse for output file"/> |
15 | 15 | <TextBox x:Name="txtOutput" HorizontalAlignment="Left" Height="23" Margin="20,114,0,0" VerticalAlignment="Top" Width="611"/> |
16 | 16 | <Label x:Name="label_Copy" Content="Output:" HorizontalAlignment="Left" Margin="20,88,0,0" VerticalAlignment="Top" Foreground="{DynamicResource MainText}"/> |
17 | | - <ComboBox x:Name="cmbExportFormat" HorizontalAlignment="Left" Margin="719,114,0,0" VerticalAlignment="Top" Width="163" IsReadOnly="True" SelectionChanged="cmbExportFormat_SelectionChanged"/> |
18 | | - <Label x:Name="label_Copy1" Content="Export format:
" HorizontalAlignment="Left" Margin="719,88,0,0" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" Height="26"/> |
19 | | - <ComboBox x:Name="cmbImportFormat" HorizontalAlignment="Left" Margin="719,48,0,0" VerticalAlignment="Top" Width="163" IsReadOnly="True"/> |
20 | | - <Label x:Name="label_Copy2" Content="Import format:
" HorizontalAlignment="Left" Margin="719,22,0,0" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" Height="26"/> |
| 17 | + <Label x:Name="label_Copy2" Content="Import format:
" HorizontalAlignment="Left" Margin="710,22,0,0" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" Height="26"/> |
| 18 | + <ComboBox x:Name="cmbImportFormat" HorizontalAlignment="Left" Margin="710,48,0,0" VerticalAlignment="Top" Width="163" IsReadOnly="True"/> |
| 19 | + <Label x:Name="label_Copy1" Content="Export format:
" HorizontalAlignment="Left" Margin="710,88,0,0" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" Height="26"/> |
| 20 | + <ComboBox x:Name="cmbExportFormat" HorizontalAlignment="Left" Margin="710,114,0,0" VerticalAlignment="Top" Width="163" IsReadOnly="True" SelectionChanged="cmbExportFormat_SelectionChanged"/> |
| 21 | + <Button x:Name="btnPlugins" Content=".." HorizontalAlignment="Left" VerticalAlignment="Top" ToolTip="Browse plugins folder" Margin="882,115,0,0" Width="16" Click="btnPlugins_Click"/> |
21 | 22 |
|
22 | 23 | <TextBox x:Name="txtConsole" HorizontalAlignment="Left" Height="53" Margin="10,603,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="877" IsReadOnly="True" UndoLimit="1" Background="#FF404040" BorderBrush="{x:Null}" Foreground="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}"/> |
23 | 24 |
|
|
26 | 27 |
|
27 | 28 | <Button x:Name="btnImportSettings" Content="Import Settings" ToolTip="Import settings from text file" HorizontalAlignment="Left" Margin="239,514,0,0" VerticalAlignment="Top" Width="104" Height="29" Click="btnImportSettings_Click"/> |
28 | 29 | <Button x:Name="btnExportSettings" Content="Export Settings" ToolTip="Export settings to text file" HorizontalAlignment="Left" Margin="345,514,0,0" VerticalAlignment="Top" Width="104" Height="29" Click="btnExportSettings_Click"/> |
29 | | - |
| 30 | + |
30 | 31 | <Button x:Name="btnGetParams" Content="Get Commandline params" HorizontalAlignment="Left" Margin="12,514,0,0" VerticalAlignment="Top" Width="214" Height="58" Click="btnGetParams_Click"/> |
31 | 32 | <!--global options--> |
32 | 33 | <GroupBox x:Name="groupBoxGlobal" HorizontalAlignment="Left" Header="Global Options" Margin="16,153,0,0" VerticalAlignment="Top" BorderBrush="#FF737373" BorderThickness="0.2,0.2,0.2,0.2" Foreground="White"> |
|
43 | 44 | </StackPanel> |
44 | 45 | <StackPanel Orientation="Horizontal"> |
45 | 46 | <CheckBox x:Name="chkAutoOffset" Content="Auto-Offset, mode:" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" IsChecked="True" ToolTip="Auto-offsets cloud near 0,0,0 by using bounds min. as offset" Checked="chkAutoOffset_Checked"/> |
46 | | - <TextBox x:Name="txtOffsetMode" HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" VerticalAlignment="Top" Width="45" Text="min" MaxLines="1" ToolTip="Legacy=first cloud min bounds, Min=All clouds min bounds" /> |
| 47 | + <TextBox x:Name="txtOffsetMode" HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" VerticalAlignment="Top" Width="45" Text="min" MaxLines="1" ToolTip="Take automatic offset value from, Legacy=first cloud min bounds, Min=All clouds min bounds" /> |
47 | 48 | </StackPanel> |
48 | 49 | <StackPanel Orientation="Vertical"> |
49 | 50 | <CheckBox x:Name="chkManualOffset" Content="Manual Offset" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" IsChecked="True" ToolTip="Add offset to all points (After Auto-Offset and Flip, if those are enabled)" Checked="chkManualOffset_Checked"/> |
|
129 | 130 | <!--v3 options--> |
130 | 131 | <GroupBox x:Name="groupBoxV3" HorizontalAlignment="Right" Header="V3 (.pcroot) Options" Margin="0,245,10,0" VerticalAlignment="Top" Width="276" BorderBrush="#FF737373" BorderThickness="0.2,0.2,0.2,0.2" Foreground="White"> |
131 | 132 | <StackPanel Margin="0,4,0,0"> |
132 | | - <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Horizontal"> |
133 | | - <Label x:Name="label_Copy11" Content="Grid size:" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top" Foreground="{DynamicResource MainText}"/> |
134 | | - <TextBox x:Name="txtGridSize" HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" VerticalAlignment="Top" Width="40" Text="10" ToolTip="Gridsize in meters, splits cloud into tiles with this size. v3 only!"/> |
135 | | - <Label x:Name="label_Copy12" Content="m" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top" Foreground="{DynamicResource MainText}"/> |
136 | | - </StackPanel> |
137 | 133 | <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Horizontal"> |
138 | 134 | <CheckBox x:Name="chkUseMinPointCount" Content="Minimum point count per tile:" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" ToolTip="If tile has less points than this value, its discarded. Good for removing straypoints. v3 only!"/> |
139 | 135 | <TextBox x:Name="txtMinPointCount" HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" VerticalAlignment="Top" Width="40" Text="1000"/> |
|
144 | 140 | <CheckBox x:Name="chkGetAvgTileTimestamp" Content="Get Average timestamp per Tile" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" IsChecked="False" ToolTip="Experimental: Calculate average raw gps_time from tile points and save into pcroot"/> |
145 | 141 | <CheckBox x:Name="chkCalculateOverlappingTiles" Content="Calculate overlapping tiles" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" IsChecked="False" ToolTip="Experimental: Save additional overlapped tile data into pcroot (if tile overlaps another tile)"/> |
146 | 142 | </StackPanel> |
147 | | - </GroupBox> |
148 | | - |
| 143 | + </GroupBox> |
| 144 | + |
| 145 | + <!-- shared options --> |
| 146 | + <GroupBox x:Name="groupBoxShared" HorizontalAlignment="Right" Header="Shared Options" Margin="0,336,10,0" VerticalAlignment="Top" Width="276" BorderBrush="#FF737373" BorderThickness="0.2,0.2,0.2,0.2" Foreground="White"> |
| 147 | + <StackPanel Margin="0,4,0,0"> |
| 148 | + <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Horizontal"> |
| 149 | + <Label x:Name="label_Copy11" Content="Grid size:" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top" Foreground="{DynamicResource MainText}"/> |
| 150 | + <TextBox x:Name="txtGridSize" HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" VerticalAlignment="Top" Width="40" Text="10" ToolTip="Gridsize in meters, splits cloud into tiles with this size. For v3 and plugins"/> |
| 151 | + <Label x:Name="label_Copy12" Content="m" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top" Foreground="{DynamicResource MainText}"/> |
| 152 | + </StackPanel> |
| 153 | + |
| 154 | + </StackPanel> |
| 155 | + </GroupBox> |
| 156 | + |
149 | 157 | <!-- gltf options --> |
150 | | - <GroupBox x:Name="groupBoxGLTF" HorizontalAlignment="Right" Header="GLTF (.glb) Options" Margin="0,365,10,0" VerticalAlignment="Top" Width="276" BorderBrush="#FF737373" BorderThickness="0.2,0.2,0.2,0.2" Foreground="White"> |
| 158 | + <GroupBox x:Name="groupBoxGLTF" HorizontalAlignment="Right" Header="GLTF (.glb) Options" Margin="0,408,10,0" VerticalAlignment="Top" Width="276" BorderBrush="#FF737373" BorderThickness="0.2,0.2,0.2,0.2" Foreground="White"> |
151 | 159 | <StackPanel Margin="0,4,0,0"> |
152 | | - <CheckBox x:Name="chkUseGrid" Content="Use grid (split to grid)" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" IsChecked="False" ToolTip="If disabled, 1 cloud is exported to single .glb file. If enabled: 1 tile is 1 .glb file"/> |
| 160 | + <CheckBox x:Name="chkUseGrid" Content="Use grid (split to grid)" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="{DynamicResource MainText}" IsChecked="False" ToolTip="If disabled: LAZ file(s) are exported as single GLB file. If enabled: LAZ file(s) are split into multiple GLB files"/> |
153 | 161 | </StackPanel> |
154 | 162 | </GroupBox> |
155 | 163 |
|
|
0 commit comments