Skip to content
Permalink
Browse files

indentation

  • Loading branch information
alexbruy committed Feb 27, 2016
1 parent e289415 commit 8125f61e21890b4b91d0660aaeec24b96c183adb
@@ -45,22 +45,22 @@ class ImageCreate(FusionAlgorithm):
SWITCH = 'SWITCH'
OUTPUT = 'OUTPUT'


def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('ImageCreate')
self.group, self.i18n_group = self.trAlgorithm('Points')
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input LAS')))
self.INPUT, self.tr('Input LAS')))
self.addParameter(ParameterSelection(
self.COLOROPTION, self.tr('Method to assign colour'), ['Intensity', 'Elevation','Height']))
self.COLOROPTION, self.tr('Method to assign colour'),
['Intensity', 'Elevation','Height']))
self.addParameter(ParameterFile(
self.GROUND, self.tr("Ground file (used with 'Height' method)"),'dtm'))
self.GROUND, self.tr("Ground file (used with 'Height' method)"), 'dtm'))
self.addParameter(ParameterBoolean(self.RGB,
self.tr('Use RGB colour model to create the colour ramp'), False))
self.tr('Use RGB colour model to create the colour ramp'), False))
self.addParameter(ParameterNumber(
self.PIXEL, self.tr('Pixel size'), 0, None, 1.0))
self.addParameter(ParameterSelection(
self.SWITCH, self.tr('Output format'), ['JPEG', 'Bitmap']))
self.SWITCH, self.tr('Output format'), ['JPEG', 'Bitmap']))
self.addOutput(OutputFile(self.OUTPUT, 'Output image'))
self.addAdvancedModifiers()

@@ -45,23 +45,22 @@ class IntensityImage(FusionAlgorithm):
SWITCH = 'SWITCH'
OUTPUT = 'OUTPUT'


def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('IntensityImage')
self.group, self.i18n_group = self.trAlgorithm('Points')
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input file')))

self.addParameter(ParameterBoolean(self.ALLRET,
self.tr('Use all returns instead of only first'), False))
self.tr('Use all returns instead of only first'), False))
self.addParameter(ParameterBoolean(self.LOWEST,
self.tr('Use the lowest return in pixel area to assign the intensity value'), False))
self.tr('Use the lowest return in pixel area to assign the intensity value'), False))
self.addParameter(ParameterBoolean(self.HIST,
self.tr('Produce a CSV intensity histogram data file'), False))
self.tr('Produce a CSV intensity histogram data file'), False))
self.addParameter(ParameterNumber(
self.PIXEL, self.tr('Pixel size'), 0, None, 1.0))
self.addParameter(ParameterSelection(
self.SWITCH, self.tr('Output format'), ['Bitmap', 'JPEG']))
self.SWITCH, self.tr('Output format'), ['Bitmap', 'JPEG']))
self.addOutput(OutputFile(self.OUTPUT, 'Output image'))
self.addAdvancedModifiers()

0 comments on commit 8125f61

Please sign in to comment.
You can’t perform that action at this time.