Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: two examples for lod map
Wiki Markup
h2. Name

lod \--- Level Of Detail display

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}

*lod* \[dis\] \[poi\] \[map\] \[frustum\] \[automatic\] \[epsilon\] \[glreport\] \[glextensions\]

{panel}

h2. Description

Command using multiple downsampled/decimated versions of the dataset for fast display of large datasets.

h2. {color:#000000}{*}Syntax for general commands{*}{color}

{color:#333333}{*}frustum{*}{color}
{indent}Create a polygonal model of the current view frustum in the active dataset.{indent}
{color:#333333}{*}automatic{*}{color} {color:#333333}"on" \| "off" {color}
{indent}Turn the automatic level of detail level selection on and off.{indent}

{color:#333333}{*}epsilon{*}{color} {color:#333333}value{color}
{indent}Approximate error in number of pixels. This affects which version of the decimated dataset is selected for display. Only positive values are supported. The default value is 1.0. A lower epsilon value means that a finer resolution version of the dataset is used for display. {indent}

{color:#333333}{*}glreport{*}{color}
{indent}Prints information about the active opengl GPU in the Messages window.{indent}
{color:#333333}{*}glextensions{*}{color}
{indent}Prints information about the opengl extensions in the Messages window.{indent}
\\

h2. {color:#000000}{*}Syntax for{*}{color}{color:#000000}* *{color}{color:#000000}{*}{_}lod dis{_}{*}{color}
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
{color:#333333}{*}lod dis *{color}{color:#333333}\[showfullresmesh\] \[col\] \[alpha\]{color}
{panel}

h2. {color:#000000}{*}Description{*}{color}

{color:#333333}For displaying solid color grids.{color}

h2. {color:#000000}{*}Arguments{*}{color}

{color:#333333}{*}showfullresmesh{*}{color}{color:#333333} {color}
{indent}Show gridlines on the grids when the finest (the original) version of the data has been selected and is used for display.{indent}
{color:#333333}{*}col{*}{color} {color:#333333}r g b{color}
{indent}Specify the color to be used.
The RGB values should be between 0.0 and 1.0.{indent}
{color:#333333}{*}alpha{*}{color} {color:#333333}a{color}
{indent}Specify the alpha to be used.
The alpha value should be between 0.0 and 1.0.
{indent}
\\

h2. {color:#000000}{*}Syntax for{*}{color}{color:#000000}* *{color}{color:#000000}{*}{_}lod poi{_}{*}{color}
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
{color:#333333}{*}lod poi *{color}\[range\] \[zerocenter\] \[point_size\] \[contour_increment\] \[contour_values\] \[contour_aml\] \[color_filling_method\] \[solid_color\] \[show_all_points\]
{panel}

h2. {color:#000000}{*}Description{*}{color}

{color:#333333}For displaying point cloud data.{color}

h2. {color:#000000}{*}Arguments{*}{color}

*range* min max 
{indent} Specify data range to be used for color lookups. When not specified the range of the data is used.

{indent}

*zerocenter*


{indent}Setting the data range to +- the maximum absoulute range of the dataset:
	range_min = -max(abs(data_range_min), abs(data_range_max))
	range_max = max(abs(data_range_min), abs(data_range_max))

{indent}

*point_size* size

{indent} Size of the points to display. The default value is 1.0.
{indent}

*color_filling_method* "solid" \| "continous" \| "discrete"


{indent} Specify the coloring method to be used for the grid surface.
 "solid" - The same color everywhere. See the "solid_color" argument for how to specify the color.
 "continous" - A color lookup table is used for coloring based on depth.
 "discrete" - A single color is selected from the color lookup table for each region between the contour lines. The color is taken from the color lookup table.


{indent}
*contour_increment* distance

{indent}Display evenly spaced color regions with distance in meters between regions.

{indent}

*contour_values* num_values value1 .. value32

{indent}Explicitly specify the color regions.
 num_values is an integer, valueXX are floats representing depth in meters.

{indent}

*contour_aml*
{indent}Display color regions according to the Additional Military Layers specification:
For depths less than 100 meters the color regions are 5 meters tall.
For depths between 100 and 400 meters the color regions are 10 meters tall.
For depths greater than 400 meters the color regions are 20 meters tall.
{indent}

*solid_color* r g b
{indent}Specify the color to be used with "solid" color display.
The RGB values should be between 0.0 and 1.0.
{indent}

*show_all_points*
{indent} Always show all the points in the dataset.
{indent}
\\

h2. {color:#000000}{*}Syntax for{*}{color}{color:#000000}* *{color}{color:#000000}{*}{_}lod map{_}{*}{color}
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
*lod map* \[range\] \[zerocenter\] \[showfullresmesh\] \[contour_increment\] \[contour_values\] \[contour_aml\] \[color_filling_method\] \[solid_color\] \[show_contour_lines\] \[contour_line_color\] \[textures\]
{panel}

h2. {color:#000000}{*}Description{*}{color}

{color:#333333}For displaying grid data with color lookup table from height/depth, contour lines and projected images.{color}

h2. {color:#000000}{*}Arguments{*}{color}

{color:#333333}{*}range{*}{color}{color:#333333} min max {color}
{indent} Specify data range to be used for color lookups. When not specified the range of the data is used.
{indent}
{color:#333333}{*}zerocenter{*}{color}
{indent}Setting the data range to +- the maximum absoulute range of the dataset:
range_min = -max(abs(data_range_min), abs(data_range_max))
range_max = max(abs(data_range_min), abs(data_range_max))
{indent}
*showfullresmesh*

{indent}Show gridlines on the grids when the finest (the original) version of the data has been selected and is used for display.
{indent}
{color:#333333}{*}contour_increment{*}{color} {color:#333333}distance{color}
{indent}Display evenly spaced contour lines with distance in meters between contour lines.{indent}
*contour_values* num_values value1 .. value32
{indent}Display a given number of contour values.
num_values is an integer, valueXX are floats representing depth.{indent}
*contour_aml*
{indent}Display contour lines according to the Additional Military Layers specification:
For depths less than 100 meters the distance between the contour lines is 5 meters.
For depths between 100 and 400 meters the distance between the contour lines is 10 meters.
For depths greater than 400 meters the distance between the contour lines is 20 meters.{indent}
*color_filling_method* "solid" \| "continous" \| "discrete"
{indent}Specify the coloring method to be used for the grid surface.
"solid" - The same color everywhere. See the "solid_color" argument for how to specify the color.
"continous" - A color lookup table is used for coloring based on depth.
"discrete" - A single color is selected from the color lookup table for each region between the contour lines. The color is taken from the color lookup table.
{indent}

*solid_color* r g b
{indent}Specify the color to be used with "solid" color display.
The RGB values should be between 0.0 and 1.0.
{indent}

*show_contour_lines* line_thickness
{indent}Display contour lines with the given line thickness.
The line thickness should be between 0.1 and 10.0.
The default line thickness is 1.0.
{indent}

*contour_line_color* r g b
{indent}Specify the color of the contour lines.
The RGB values should be between 0.0 and 1.0.
The default color is black (0.0 0.0 0.0).
{indent}
*textures* image1 ... image8
{indent}Texture overlay/projection of a maximum of 8 images from the project manager.
{color:#333333}{indent}

h2. Examples

h3. Ex.1: Discrete color bands

{noformat:|borderWidth=1|bgColor=#eeeeee}
        lod map color_filling_method discrete contour_values 3 0 100 200;
{noformat}

h3. Ex.2: Continous color mapping and contour lines

{noformat:|borderWidth=1|bgColor=#eeeeee}
        lod map color_filling_method continous show_contour_lines 1 contour_line_color 0 0 0 contour_values 3 0 100 200;
{noformat}

{pagebreak}\\