Commit 2540df21 authored by Dan Lipsa's avatar Dan Lipsa Committed by Kitware Robot

Merge topic 'array-selection-gdal'

0a05c17e Fix indentation.
5ba56b3a Improve documentation.
1c7c6696 Add array selection and option for RasterGDALReader
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !2886
parents df188e90 0a05c17e
Pipeline #125991 failed with stage
in 0 seconds
......@@ -118,6 +118,37 @@
Set the desired width and height of the image.
</Documentation>
</IntVectorProperty>
<StringVectorProperty information_only="1"
name="CellArrayInfo">
<ArraySelectionInformationHelper attribute_name="Cell" />
</StringVectorProperty>
<StringVectorProperty command="SetCellArrayStatus"
element_types="2 0"
information_property="CellArrayInfo"
name="CellArrayStatus"
number_of_elements="2"
number_of_elements_per_command="2"
repeat_command="1"
panel_visibility="advanced">
<ArraySelectionDomain name="array_list">
<RequiredProperties>
<Property function="ArrayList"
name="CellArrayInfo" />
</RequiredProperties>
</ArraySelectionDomain>
<Documentation>Sets which GDAL bands to load from the file.</Documentation>
</StringVectorProperty>
<IntVectorProperty command="SetCollateBands"
default_values="1"
name="CollateBands"
number_of_elements="1">
<BooleanDomain name="bool" />
<Documentation> Sets if bands are collated in one scalar array
or not. Currently we collate bands into RGB, RGBA, gray alpha
and pallete. The default is true.
</Documentation>
</IntVectorProperty>
<Hints>
<ReaderFactory extensions="tif"
file_description="GDAL Raster Files" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment