GuidoForm frm30000 {
-default_buttons
-label "Define a DTM Entity"
-layout BoxLayout Y_AXIS
-tip "PLT_DTM_ENTITY"
GuidoTabbedPane main_tabbed_pane {
GuidoPanel colouring {
-layout BoxLayout Y_AXIS
-label "Faces"
GuidoFiller f {-height 0.5}
GuidoPanel anonymous {
-layout CentreLineLayout
GuidoComboBox colouring_type {
-default "single colour"
-label "Colouring type"
-value_in "single colour" "bands of specified size" "set number of bands" "range for bands" "using algebraic expressions" "draped image"
-exclusive true
-null disallowed
-default "single colour"
-tip "PLT_DTM_COLOURING_TYPE"
}
GuidoComboBox face_style {
-display_length 8
-format none
-label "Face pattern"
-max_length 5
-value_in "BLANK_LINE" ## || == // \\ :: <><> \[\]\[\]
-tip "PLT_DTM_FACE_PATTERN"
}
GuidoComboBox gloss {
-display_length 8
-format double
-label "Glossiness"
-max_length 5
-value_in 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 0.60 0.70 0.80 0.90 1.00 1.50 2.00 2.50 3.00 3.50 4.00 4.50 5.00 5.00 6.00 7.00 8.00 9.00 10.00 15.00 20.00 25.00 30.00 35.00 40.00 45.00 50.00 60.00 70.00 80.00 90.00 100.00 150.00 200.00 250.00 300.00 350.00 400.00 450.00 500.00 600.00 700.00 800.00 900.00 1000.00
-tip "PLT_DTM_GLOSS"
}
GuidoColourBrowserField reflectance {
-translate lower
-display_length 14
-exclusive false
-label "Reflectance colour"
-max_length 32
-tip "PLT_DTM_REFLECTANCE"
}
}
GuidoFiller f {-height 0.5}
GuidoPanel overlaypanel {
-layout OverlayLayout
GuidoPanel singleColourPanel {
-dependency {"[$colouring_type getCurrentValue]" == "single colour"}
-layout BoxLayout Y_AXIS
GuidoPanel anonymous {
-layout CentreLineLayout
GuidoColourBrowserField single_colour {
-translate lower
-display_length 14
-exclusive false
-label Colour
-max_length 32
-tip "PLT_DTM_COLOUR"
}
}
}
GuidoPanel bandsOfSpecifiedSizePanel {
-dependency {"[$colouring_type getCurrentValue]" == "bands of specified size"}
-layout BoxLayout Y_AXIS
GuidoPanel anonymous {
-layout CentreLineLayout
GuidoField grade_field1 {
-display_length 5
-format string_field
-label "Field to colour by"
-max_length 30
-null false
-translate upper
-tip "DTM_DRAW_FIELD_TIP"
}
GuidoField slice_size {
-display_length 12
-format double
-label "Size of bands"
-max_length 10
-null false
-tip "DTM_DRAW_SLICE_SIZE_TIP"
}
}
}
GuidoPanel setNumberOfBandsPanel {
-dependency {"[$colouring_type getCurrentValue]" == "set number of bands"}
-layout BoxLayout Y_AXIS
GuidoPanel anonymous {
-layout CentreLineLayout
GuidoField grade_field2 {
-display_length 5
-format string_field
-label "Field to colour by"
-max_length 30
-null false
-translate upper
-tip "DTM_DRAW_FIELD_TIP"
}
}
}
GuidoPanel rangeForBandsPanel {
-dependency {"[$colouring_type getCurrentValue]" == "range for bands"}
-layout BoxLayout Y_AXIS
GuidoPanel anonymous {
-layout CentreLineLayout
GuidoField grade_field3 {
-display_length 5
-format string_field
-label "Field to colour by"
-max_length 30
-null false
-translate upper
-tip "DTM_DRAW_FIELD_TIP"
}
GuidoField slice_range {
-display_length 12
-format range
-label "Band range"
-max_length 10
-null false
-tip "DTM_DRAW_COLOUR_RANGE_TIP"
}
}
}
GuidoPanel textureMapPanel {
-dependency {"[$colouring_type getCurrentValue]" == "draped image"}
-layout CentreLineLayout
GuidoFileBrowserField image_file {
-display_length 15
-file_access read
-file_mask "*.gif *.jpg *.jpeg *.tif *.bmp *.png"
-format none
-label "IMAGE_DRAPE_NEW_IMAGE_FILE"
-max_length 256
-tip "IMAGE_DRAPE_NEW_IMAGE_FILE_TIP"
-translate none
-null false
}
GuidoColourBrowserField filter_colour {
-display_length 15
-exclusive false
-label "Image colour filter"
-max_length 256
-tip "IMAGE_DRAPE_COLOUR_FILTER_TIP"
}
GuidoComboBox drape_method {
-display_length 12.6
-exclusive true
-value_in "registered" tiled "mirror tiled"
-label "Image draping method"
-default "registered"
-tip "PLT_IMAGE_DRAPE_METHOD_TIP"
-null false
}
GuidoFileBrowserField registration_file_name {
-dependency {"[$colouring_type getCurrentValue]" == "draped image"}
-dependency {"[$drape_method getCurrentValue]" == "registered"}
-display_length 15
-file_mask *.rgf
-format none
-null false
-label "Registration file"
-max_length 256
-tip "PLT_DTM_IMAGE_DRAPE_REG_FILE_TIP"
-translate lower
}
GuidoField x_size {
-dependency {"[$colouring_type getCurrentValue]" == "draped image"}
-dependency {"[$drape_method getCurrentValue]" != "registered"}
-default 5
-display_length 10
-format double
-label "X size"
-low_bound 0.100000
-max_length 10
-next_focus y_size
-tip "IMAGE_DRAPE_TILE_SIZE_TIP"
-translate upper
}
GuidoField y_size {
-dependency {"[$colouring_type getCurrentValue]" == "draped image"}
-dependency {"[$drape_method getCurrentValue]" != "registered"}
-default 5
-display_length 10
-format double
-label "Y size"
-low_bound 0.100000
-max_length 10
-tip "IMAGE_DRAPE_TILE_SIZE_TIP"
-translate upper
}
}
}
GuidoScrollPane scroll {
-scroll_size 40 10
-dependency {"[$colouring_type getCurrentValue]" == "bands of specified size" ||
"[$colouring_type getCurrentValue]" == "set number of bands" ||
"[$colouring_type getCurrentValue]" == "range for bands" ||
"[$colouring_type getCurrentValue]" == "using algebraic expressions"}
GuidoTable colours {
-interactive true
-instances 1 1 100
GuidoColourBrowserField colour {
-translate lower
-display_length 14
-exclusive false
-label Colour
-max_length 32
-tip "Select a colour using the browser icon."
}
GuidoField expression {
-dependency {"[$colouring_type getCurrentValue]" == "using algebraic expressions"}
-translate none
-display_length 20
-label "Expression"
-max_length 128
-tip "DTM_DRAW_EXPRESSION_TIP"
}
}
}
}
GuidoPanel edges {
-layout BoxLayout Y_AXIS
-label "Edges"
GuidoFiller f {-height 0.5}
GuidoPanel edges {
-layout CentreLineLayout
GuidoCheckBox display_edges {
-default true
-label "Plot edges"
-selected_value Y
-unselected_value N
-tip "PLT_DTM_EDGES"
}
}
GuidoFiller f {-height 0.5}
GuidoPanel anonymous {
-layout CentreLineLayout
-dependency {"[ $display_edges getCurrentValue]" == "Y"}
StringLineStyles edges {
-label "Edge style"
-height 1
}
}
}
GuidoPanel lights {
-layout BoxLayout Y_AXIS
-label "Lights"
GuidoPanel overallSpotLightPanel {
-label "Spot Light"
-layout BoxLayout Y_AXIS
-border etched true
GuidoPanel useSpotLightPanel {
-layout CentreLineLayout
GuidoCheckBox use_spot_light {
-default true
-label "Use spot light for dtm illumination"
-selected_value Y
-tip USE_SPOT_LIGHT_TIP
-unselected_value N
}
}
GuidoPanel spotLightPanel {
-layout CentreLineLayout
-dependency { [$use_spot_light getCurrentValue] == "Y" }
GuidoField illumination_cone {
-display_length 8
-format double
-low_bound 0.01
-high_bound 180
-label "Illumination cone (degrees)"
-max_length 16
-null false
-tip SPOTLIGHT_ILLUMINATION_TIP
-translate upper
}
GuidoField sharpness_cone {
-display_length 8
-format double
-low_bound 0.1
-high_bound 180
-label "Sharpness cone (degrees)"
-max_length 16
-null false
-tip SPOTLIGHT_SHARPNESS_TIP
-translate upper
}
GuidoField offset_angle {
-display_length 8
-format double
-low_bound 0.0
-high_bound 45
-label "Offset angle from camera->target (degrees)"
-max_length 16
-null false
-tip SPOTLIGHT_OFFSET_ANGLE_TIP
-translate upper
}
GuidoColourBrowserField spot_colour {
-label "Spot light colour"
-display_length 16
-max_length 128
-null false
-tip SPOTLIGHT_COLOUR_TIP
-translate lower
}
}
}
GuidoPanel overallDirectionalLightPanel {
-label "Directional Lights"
-layout BoxLayout Y_AXIS
-border etched true
GuidoPanel useDirectionalLightPanel {
-layout CentreLineLayout
GuidoCheckBox use_directional_lights {
-default true
-label "Use directional light(s) for dtm illumination"
-selected_value on
-tip USE_DIRECTIONAL_LIGHTS_TIP
-unselected_value off
}
}
GuidoPanel directionalLightPanel {
-dependency { [$use_directional_lights getCurrentValue] == "on" }
-layout BoxLayout Y_AXIS
GuidoPanel frm00194_29 {
-layout BoxLayout X_AXIS
GuidoFiller space {
-width 1.5
}
GuidoPanel frm00194_24 {
-layout CentreLineLayout
GuidoLabel frm00194_2 {
-label "Light"
}
GuidoLabel frm00194_3 {
-label "Y"
}
GuidoField light_y1 {
-default -1
-display_length 4
-format double
-label "1"
-max_length 16
-next_focus light_x1
-null false
-translate upper
-tip Y_LIGHT_TIP
}
GuidoField light_y2 {
-display_length 4
-format double
-label "2"
-max_length 16
-next_focus light_x2
-null false
-translate upper
-tip Y_LIGHT_TIP
}
GuidoField light_y3 {
-display_length 4
-format double
-label "3"
-max_length 16
-next_focus light_x3
-null false
-translate upper
-tip Y_LIGHT_TIP
}
}
GuidoFiller frm00194_31 {
-width 1
}
GuidoPanel frm00194_26 {
-layout BoxLayout Y_AXIS
GuidoLabel frm00194_4 {
-label "X"
}
GuidoField light_x1 {
-default 1
-display_length 4
-format double
-max_length 16
-next_focus light_z1
-null false
-translate upper
-tip X_LIGHT_TIP
}
GuidoField light_x2 {
-display_length 4
-format double
-max_length 16
-next_focus light_z2
-null false
-translate upper
-tip X_LIGHT_TIP
}
GuidoField light_x3 {
-display_length 4
-format double
-max_length 16
-next_focus light_z3
-null false
-translate upper
-tip X_LIGHT_TIP
}
}
GuidoFiller frm00194_32 {
-width 1
}
GuidoPanel frm00194_27 {
-layout BoxLayout Y_AXIS
GuidoLabel frm00194_5 {
-label "Z"
}
GuidoField light_z1 {
-default 1
-display_length 4
-format double
-max_length 16
-next_focus light_colour1
-null false
-translate upper
-tip Z_LIGHT_TIP
}
GuidoField light_z2 {
-display_length 4
-format double
-max_length 16
-next_focus light_colour2
-null false
-translate upper
-tip Z_LIGHT_TIP
}
GuidoField light_z3 {
-display_length 4
-format double
-max_length 16
-next_focus light_colour3
-null false
-translate upper
-tip Z_LIGHT_TIP
}
}
GuidoFiller frm00194_32 {
-width 1
}
GuidoPanel frm00194_28 {
-layout BoxLayout Y_AXIS
GuidoLabel frm00194_6 {
-label Colour
}
GuidoColourBrowserField light_colour1 {
-display_length 16
-exclusive false
-max_length 20
-next_focus light_y2
-default white
-tip LIGHT_COLOUR_TIP
}
GuidoColourBrowserField light_colour2 {
-display_length 16
-exclusive false
-max_length 32
-next_focus light_y3
-tip LIGHT_COLOUR_TIP
}
GuidoColourBrowserField light_colour3 {
-display_length 16
-exclusive false
-max_length 32
-tip LIGHT_COLOUR_TIP
}
}
}
}
}
GuidoPanel overallRenderingPanel {
-label "Rendering"
-layout CentreLineLayout
-border etched true
GuidoButtonGroupPanel rendering {
-label "Rendering method"
-tip SPOTLIGHT_RENDERING_TIP
GuidoRadioButton frm00338_7 {
-caption None
-selected_value N
}
GuidoRadioButton frm00338_8 {
-caption Gouraud
-selected_value G
}
GuidoRadioButton frm00338_9 {
-caption Phong
-selected_value P
}
}
GuidoComboBox brightness {
-label "Brightness factor"
-display_length 10
-exclusive true
-max_length 20
-value_in Default 1 2 3 4 5 6 7 8 9 10
-default Default
-tip DEFAULT_BRIGHTNESS_TIP
}
}
}
GuidoPanel contours {
-layout BoxLayout Y_AXIS
-label "Contours"
GuidoFiller f {-height 0.5}
GuidoPanel contours {
-layout CentreLineLayout
GuidoCheckBox display_contours {
-default true
-label "Plot contours"
-selected_value Y
-unselected_value N
-tip "PLT_DTM_CONTOURS"
}
}
GuidoFiller f {-height 0.5}
GuidoPanel contours {
-layout CentreLineLayout
-dependency {"[ $display_contours getCurrentValue]" == "Y"}
GuidoComboBox contour_entity {
-label "Contour entity"
-value_in "BLANK_LINE"
-tip "PLT_DTM_CONTOUR_ENTITY"
}
GuidoFiller f {-height 0.5}
GuidoFiller f {-height 0.5}
GuidoButtonGroupPanel contour_definition_type {
-label "Define contours by"
-tip "PLT_DTM_CONTOUR_DEFINITION"
GuidoRadioButton frm00049_14 {
-caption Interval
-selected_value I
}
GuidoRadioButton frm00049_15 {
-caption Range
-selected_value R
}
}
GuidoFiller f {-height 0.5}
GuidoPanel overlaypanel {
-layout OverlayLayout
GuidoPanel contourMinMax {
-dependency {"[ $display_contours getCurrentValue]" == "Y"}
-dependency {"[ $contour_definition_type getCurrentValue]" == "I"}
-layout CentreLineLayout
GuidoField conmin {
-dependency {"[ $contour_definition_type getCurrentValue]" == "I"}
-display_length 8
-format double
-label "Minimum contour"
-max_length 10
-null false
-tip "01316_TIP_004"
}
GuidoField conmax {
-dependency {"[ $contour_definition_type getCurrentValue]" == "I"}
-display_length 8
-format double
-label "Maximum contour"
-max_length 10
-null false
-tip "01316_TIP_004"
}
GuidoField ci {
-dependency {"[ $contour_definition_type getCurrentValue]" == "I"}
-display_length 8
-format double
-label "Contour interval"
-max_length 10
-null false
-tip "01316_TIP_004"
}
}
GuidoPanel contourRange {
-dependency {"[ $contour_definition_type getCurrentValue]" == "R"}
-dependency {"[ $display_contours getCurrentValue]" == "Y"}
-layout CentreLineLayout
GuidoField conrng {
-dependency {"[ $contour_definition_type getCurrentValue]" == "R"}
-dependency {"[ $display_contours getCurrentValue]" == "Y"}
-display_length 16
-format none
-label "Contour range"
-max_length 32
-tip "00049_TIP_006"
}
}
}
GuidoFiller f {-height 0.5}
GuidoFiller f {-height 0.5}
GuidoCheckBox index_contours {
-default true
-label "Index contours"
-selected_value Y
-unselected_value N
-tip "PLT_DTM_INDEX_CONTOURS"
}
GuidoFiller f {-height 0.5}
GuidoPanel index_contoursPanel {
-dependency {"[ $index_contours getCurrentValue]" == "Y"}
-layout CentreLineLayout
GuidoField index_value {
-dependency {"[ $index_contours getCurrentValue]" == "Y"}
-display_length 8
-format double
-label "Index value"
-max_length 32
-tip "PLT_DTM_INDEX_CONTOURS"
}
GuidoComboBox index_contour_entity {
-dependency {"[ $index_contours getCurrentValue]" == "Y"}
-label "Index entity"
-value_in "todo: add list of string type entities"
-tip "PLT_DTM_INDEX_CONTOUR_ENTITY"
}
}
GuidoFiller f {-height 0.5}
GuidoFiller f {-height 0.5}
GuidoCheckBox smooth_contours {
-default true
-label "Smooth contours"
-selected_value Y
-unselected_value N
-tip "PLT_DTM_SMOOTH_CONTOURS"
}
GuidoFiller f {-height 0.5}
GuidoPanel smooth_contoursPanel {
-dependency {"[ $smooth_contours getCurrentValue]" == "Y"}
-layout CentreLineLayout
GuidoField nlines {
-display_length 8
-format integer
-high_bound 10
-label "Lines per segment"
-low_bound 2
-max_length 2
-null false
-tip "00051_TIP_005"
-translate none
}
GuidoPanel frm00051_14 {
-label Smoothing
-layout BoxLayout X_AXIS
-tip "00051_TIP_006"
GuidoButtonGroupPanel smooth {
GuidoRadioButton frm00051_12 {
-caption Spline
-selected_value S
}
GuidoRadioButton frm00051_13 {
-caption Interpolation
-selected_value I
}
}
}
}
}
}
GuidoPanel watermarking {
-layout CentreLineLayout
-label "Fade image"
GuidoFiller f {-height 0.5}
GuidoFiller f {-height 0.5}
GuidoField fade {
-display_length 5
-format double
-label "% brightness"
-max_length 30
-null false
-default "0.0"
-tip "PLT_DTM_FADE"
}
}
}
}
