13 #include <wx/string.h>
14 #include <wx/stattext.h>
15 #include <wx/gdicmn.h>
17 #include <wx/colour.h>
18 #include <wx/settings.h>
19 #include <wx/listbox.h>
20 #include <wx/button.h>
22 #include <wx/statline.h>
23 #include <wx/spinctrl.h>
24 #include <wx/textctrl.h>
25 #include <wx/bitmap.h>
28 #include <wx/statbmp.h>
29 #include <wx/statbox.h>
31 #include <wx/choice.h>
32 #include <wx/dialog.h>
33 #include <wx/checkbox.h>
34 #include <wx/listctrl.h>
35 #include <wx/radiobut.h>
36 #include <wx/slider.h>
42 #define ID_LEVEL_COPY 1002
43 #define ID_LEVEL_DEL 1003
44 #define ID_LEVEL_UP 1004
45 #define ID_LEVEL_DOWN 1005
47 #define ID_EDITHEIGHTS 1007
48 #define ID_SET_ROOF_TYPE 1008
49 #define ID_STORIES 1009
50 #define ID_STORY_HEIGHT 1010
51 #define ID_MATERIAL1 1011
52 #define ID_SET_MATERIAL 1012
53 #define ID_COLOR1 1013
54 #define ID_SET_COLOR 1014
55 #define ID_EDGE_SLOPES 1015
56 #define ID_SET_EDGE_SLOPES 1016
58 #define ID_MATERIAL2 1018
59 #define ID_FACADE 1019
60 #define ID_COLOR2 1020
61 #define ID_EDGE_SLOPE 1021
62 #define ID_FEATURES 1022
63 #define ID_FEAT_CLEAR 1023
64 #define ID_FEAT_WALL 1024
65 #define ID_FEAT_WINDOW 1025
66 #define ID_FEAT_DOOR 1026
68 #define ID_CMAP_FILE 1028
69 #define ID_RELATIVE 1029
71 #define ID_COLORLIST 1031
72 #define ID_CHANGE_COLOR 1032
73 #define ID_DELETE_ELEVATION 1033
74 #define ID_HEIGHT_TO_ADD 1034
76 #define ID_SAVE_CMAP 1036
77 #define ID_SAVE_AS_CMAP 1037
78 #define ID_LOAD_CMAP 1038
79 #define ID_RADIO_SINGLE 1039
81 #define ID_RADIO_EVERY 1041
83 #define ID_RADIO_CREATE 1043
84 #define ID_RADIO_ADD 1044
85 #define ID_CHOICE_LAYER 1045
86 #define ID_RADIO_LINE 1046
87 #define ID_RADIO_PATH 1047
88 #define ID_DIST_LOAD_PATH 1048
89 #define ID_DIST_TOOL_CLEAR 1049
90 #define ID_MAP_OFFSET 1050
91 #define ID_UNITS1 1051
92 #define ID_MAP_DIST 1052
93 #define ID_UNITS2 1053
94 #define ID_GEOD_DIST 1054
95 #define ID_UNITS3 1055
96 #define ID_GROUND_DIST 1056
97 #define ID_UNITS4 1057
98 #define ID_VERTICAL 1058
99 #define ID_UNITS5 1059
100 #define ID_TEXT_SHOW 1060
101 #define ID_CHOICE_SHOW 1061
102 #define ID_TEXT_VERTICAL 1062
103 #define ID_CHOICE_VERTICAL 1063
104 #define ID_DEL_HIGH 1064
106 #define ID_RADIO_CONTENT 1066
107 #define ID_CHOICE_FILE 1067
108 #define ID_CHOICE_TYPE 1068
109 #define ID_CHOICE_ITEM 1069
110 #define ID_RADIO_MODEL 1070
111 #define ID_MODEL_FILE 1071
112 #define ID_BROWSE_MODEL_FILE 1072
113 #define ID_LOCATION 1073
114 #define ID_LINEAR_STRUCTURE_STYLE 1074
115 #define ID_POST_TYPE 1075
116 #define ID_POST_SPACING_EDIT 1076
117 #define ID_POST_SPACING_SLIDER 1077
118 #define ID_POST_HEIGHT_EDIT 1078
119 #define ID_POST_HEIGHT_SLIDER 1079
120 #define ID_POST_SIZE_EDIT 1080
121 #define ID_POST_SIZE_SLIDER 1081
122 #define ID_CHOICE_EXTENSION 1082
123 #define ID_CONN_TYPE 1083
124 #define ID_CONN_MATERIAL 1084
125 #define ID_CONN_TOP_EDIT 1085
126 #define ID_CONN_TOP_SLIDER 1086
127 #define ID_CONN_BOTTOM_EDIT 1087
128 #define ID_CONN_BOTTOM_SLIDER 1088
129 #define ID_CONN_WIDTH_EDIT 1089
130 #define ID_CONN_WIDTH_SLIDER 1090
131 #define ID_SLOPE 1091
132 #define ID_SLOPE_SLIDER 1092
133 #define ID_CHOICE_PROFILE 1093
134 #define ID_PROFILE_EDIT 1094
135 #define ID_CONSTANT_TOP 1095
136 #define ID_LINE_OF_SIGHT 1096
137 #define ID_VISIBILITY 1097
138 #define ID_FRESNEL 1098
139 #define ID_USE_EFFECTIVE 1099
140 #define ID_SHOW_CULTURE 1100
141 #define ID_LINE2 1101
142 #define ID_HEIGHT1 1102
143 #define ID_HEIGHT2 1103
145 #define ID_CURVATURE 1105
146 #define ID_STATUS_TEXT 1106
147 #define ID_EXPORT_DXF 1107
148 #define ID_EXPORT_TRACE 1108
149 #define ID_EXPORT_CSV 1109
150 #define ID_ADD_POINT 1110
151 #define ID_MOVE_POINT 1111
152 #define ID_REMOVE_POINT 1112
153 #define ID_SAVE_PROF 1113
154 #define ID_SAVE_AS_PROF 1114
155 #define ID_LOAD_PROF 1115
157 #define ID_SHOW_ALL_DATUMS 1117
158 #define ID_DATUM 1118
159 #define ID_ELLIPSOID 1119
160 #define ID_HORUNITS 1120
162 #define ID_PROJPARAM 1122
163 #define ID_STATEPLANE 1123
164 #define ID_SET_EPSG 1124
165 #define ID_PROJ_LOAD 1125
166 #define ID_PROJ_SAVE 1126
167 #define ID_TEXTCTRL 1127
168 #define ID_SLIDER_RATIO 1128
169 #define ID_TEXT_X 1129
170 #define ID_TEXT_Y 1130
171 #define ID_STATEPLANES 1131
172 #define ID_NAD27 1132
173 #define ID_NAD83 1133
174 #define ID_RADIO_METERS 1134
175 #define ID_RADIO_FEET 1135
176 #define ID_RADIO_FEET_US 1136
177 #define ID_TAGLIST 1137
187 wxStaticText* m_text1;
189 wxButton* m_level_copy;
190 wxButton* m_level_del;
191 wxButton* m_level_up;
192 wxButton* m_level_down;
193 wxStaticLine* m_line1;
194 wxButton* m_editheights;
195 wxButton* m_set_roof_type;
197 wxStaticBoxSizer* sbSizer57;
198 wxStaticText* m_text2;
199 wxSpinCtrl* m_stories;
200 wxStaticText* m_text3;
201 wxTextCtrl* m_story_height;
202 wxStaticText* m_text4;
203 wxStaticText* m_text5;
204 wxTextCtrl* m_material1;
205 wxButton* m_set_material;
206 wxStaticText* m_text6;
207 wxStaticBitmap* m_color1;
208 wxButton* m_set_color;
209 wxStaticText* m_text7;
210 wxTextCtrl* m_edge_slopes;
211 wxButton* m_set_edge_slopes;
215 wxStaticText* m_text131;
216 wxTextCtrl* m_material21;
217 wxButton* m_set_material11;
218 wxStaticText* m_text141;
220 wxStaticText* m_text151;
221 wxStaticBitmap* m_color21;
222 wxButton* m_set_color11;
223 wxStaticText* m_text161;
224 wxTextCtrl* m_edge_slope1;
225 wxTextCtrl* m_features1;
226 wxButton* m_feat_clear1;
227 wxButton* m_feat_wall1;
228 wxButton* m_feat_window1;
229 wxButton* m_feat_door1;
237 BuildingDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( -1,-1 ),
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
250 wxStaticText* m_text38;
251 wxTextCtrl* m_cmap_file;
252 wxCheckBox* m_relative;
254 wxListCtrl* id_colorlist;
255 wxButton* m_change_color;
256 wxButton* m_delete_elevation;
257 wxStaticText* m_text39;
258 wxTextCtrl* mmeight_to_add;
260 wxButton* m_save_cmap;
261 wxButton* id_save_as_cmap;
262 wxButton* m_load_cmap;
263 wxStaticLine* m_line1;
268 ColorMapDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
281 wxRadioButton* m_radioBtn31;
283 wxStaticText* m_text211;
284 wxRadioButton* m_radioBtn30;
286 wxStaticText* m_text2111;
287 wxStaticLine* m_staticline5;
288 wxRadioButton* m_radio_create;
289 wxRadioButton* m_radio_add;
290 wxChoice* m_choice_layer;
296 ContourDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
310 wxRadioButton* m_radio_line;
311 wxRadioButton* m_radio_path;
313 wxButton* m_dist_load_path;
314 wxButton* m_dist_tool_clear;
315 wxStaticText* m_text34;
316 wxTextCtrl* m_map_offset;
318 wxStaticText* id_text;
319 wxTextCtrl* m_map_dist;
321 wxStaticText* m_text35;
322 wxTextCtrl* mmeod_dist;
324 wxStaticText* m_text36;
325 wxTextCtrl* m_ground_dist;
327 wxStaticText* m_text37;
328 wxTextCtrl* m_vertical;
333 DistanceDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
346 wxStaticText* m_text49_show;
347 wxChoice* m_choice_show;
348 wxStaticText* mmext_vertical;
349 wxChoice* m_choice_vertical;
350 wxButton* m_del_high;
355 FeatureTableDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
368 wxRadioButton* m_radio_content;
370 wxStaticText* m_text30;
371 wxChoice* m_choice_file;
373 wxStaticText* m_text31;
374 wxChoice* m_choice_type;
376 wxStaticText* m_text32;
377 wxChoice* m_choice_item;
378 wxRadioButton* m_radio_model;
380 wxTextCtrl* m_model_file;
381 wxButton* m_browse_model_file;
382 wxStaticText* m_text33;
383 wxTextCtrl* m_location;
387 InstanceDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
400 wxStaticText* m_text17;
401 wxChoice* m_linear_structure_style;
402 wxStaticText* m_text18;
403 wxChoice* m_post_type;
404 wxStaticText* m_text19;
405 wxTextCtrl* m_post_spacing_edit;
406 wxSlider* m_post_spacing_slider;
407 wxStaticText* m_text20;
408 wxTextCtrl* m_post_height_edit;
409 wxSlider* m_post_height_slider;
410 wxStaticText* m_text21;
411 wxTextCtrl* m_post_size_edit;
412 wxSlider* m_post_size_slider;
413 wxStaticText* m_text22;
414 wxChoice* m_choice_extension;
415 wxStaticText* m_text23;
416 wxChoice* m_conn_type;
417 wxStaticText* m_text24;
418 wxChoice* m_conn_material;
419 wxStaticText* m_text25;
420 wxTextCtrl* m_conn_top_edit;
421 wxSlider* m_conn_top_slider;
422 wxStaticText* m_text26;
423 wxTextCtrl* m_conn_bottom_edit;
424 wxSlider* m_conn_bottom_slider;
425 wxStaticText* m_text27;
426 wxTextCtrl* m_conn_width_edit;
427 wxSlider* m_conn_width_slider;
428 wxStaticText* m_text28;
430 wxSlider* m_slope_slider;
431 wxStaticText* m_text29;
432 wxChoice* m_choice_profile;
433 wxButton* m_profile_edit;
434 wxCheckBox* m_constant_top;
438 LinearStructDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
452 wxCheckBox* m_line_of_sight;
453 wxCheckBox* m_visibility;
454 wxCheckBox* m_fresnel;
455 wxCheckBox* m_use_effective;
456 wxButton* m_show_culture;
457 wxStaticLine* mmine2;
458 wxStaticText* m_text40;
459 wxTextCtrl* m_height1;
460 wxStaticText* id_text;
461 wxTextCtrl* m_height2;
462 wxStaticText* m_text41;
464 wxStaticText* m_text42;
465 wxStaticText* m_text43;
466 wxChoice* m_curvature;
467 wxStaticLine* m_line2;
468 wxTextCtrl* m_status_text;
469 wxStaticText* m_text44;
470 wxButton* m_export_dxf;
471 wxButton* m_export_trace;
472 wxButton* m_export_csv;
476 ProfileDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
489 wxRadioButton* m_add_point;
490 wxRadioButton* m_move_point;
491 wxRadioButton* m_remove_point;
492 wxStaticLine* m_line2;
493 wxButton* m_save_prof;
494 wxButton* m_save_as_prof;
495 wxButton* m_load_prof;
499 wxBoxSizer* viewsizer;
501 ProfileEditDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
514 wxStaticText* m_text45;
517 wxCheckBox* m_show_all_datums;
519 wxStaticText* id_text;
520 wxTextCtrl* m_ellipsoid;
521 wxStaticText* m_text46;
522 wxChoice* m_horunits;
523 wxStaticText* m_text47;
525 wxStaticText* m_text48;
526 wxListCtrl* m_projparam;
527 wxButton* mmtateplane;
528 wxButton* m_set_epsg;
529 wxButton* m_proj_load;
530 wxButton* m_proj_save;
531 wxStaticLine* m_line2;
537 ProjectionDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
550 wxTextCtrl* m_textctrl;
551 wxSlider* m_slider_ratio;
552 wxTextCtrl* m_text_x;
553 wxTextCtrl* m_text_y;
560 SizeDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
573 wxListBox* id_stateplanes;
574 wxRadioButton* m_nad27;
575 wxRadioButton* m_nad83;
576 wxRadioButton* m_radio_meters;
577 wxRadioButton* m_radio_feet;
578 wxRadioButton* m_radio_feet_us;
580 wxButton* wxID_CANCEL;
584 StatePlaneDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );
597 wxListCtrl* m_taglist;
601 TagDlgBase( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( 231,147 ),
long style = wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL );