Class GlobalParameter

    • Field Detail

      • resolutionX

        public int resolutionX
        The resolution X.
      • resolutionY

        public int resolutionY
        The resolution Y.
      • reverseSpatialCoordinate

        public boolean reverseSpatialCoordinate
        The reverse spatial coordinate.
      • drawOutlineOnly

        public boolean drawOutlineOnly
        The draw outline only.
      • minTreeLevel

        public int minTreeLevel
        The min tree level.
      • filterRadius

        public int filterRadius
        The filter radius.
      • photoFilter

        public PhotoFilter photoFilter
        The photo filter.
      • samplingFraction

        public double samplingFraction
        The sample amount.
      • maxPixelWeight

        public int maxPixelWeight
        The max pixel weight.
      • coloringRule

        public ColoringRule coloringRule
        The coloring rule.
      • controlColorChannel

        public Color controlColorChannel
        The control color channel.
      • useInverseRatioForControlColorChannel

        public boolean useInverseRatioForControlColorChannel
        The use inverse ratio for control color channel.
      • colorAlpha

        public int colorAlpha
        The color alpha.
      • datasetBoundary

        public org.locationtech.jts.geom.Envelope datasetBoundary
        The dataset boundary.
      • partitionsOnSingleAxis

        public int partitionsOnSingleAxis
        The partitions on single axis.
      • partitionIntervalX

        public double partitionIntervalX
        The partition interval X.
      • partitionIntervalY

        public double partitionIntervalY
        The partition interval Y.
      • useUserSuppliedResolution

        public boolean useUserSuppliedResolution
        The use user supplied resolution.
      • maxPartitionTreeLevel

        public int maxPartitionTreeLevel
        The max partition tree level.
      • overwriteExistingImages

        public boolean overwriteExistingImages
        The overwrite existing images.
    • Method Detail

      • getGlobalParameter

        public static GlobalParameter getGlobalParameter​(String parameterString)
        Gets the global parameter.
        Parameters:
        parameterString - the parameter string
        Returns:
        the global parameter
      • getGlobalParameter

        public static GlobalParameter getGlobalParameter()
        Gets the global parameter.
        Returns:
        the global parameter
      • getGlobalParameter

        public static GlobalParameter getGlobalParameter​(int resolutionX,
                                                         int resolutionY,
                                                         boolean reverseSpatialCoordinate,
                                                         boolean drawOutlineOnly,
                                                         int minTreeLevel,
                                                         int filterRadius,
                                                         PhotoFilter photoFilter,
                                                         Double samplingFraction,
                                                         int maxPixelWeight,
                                                         ColoringRule coloringRule,
                                                         Color controlColorChannel,
                                                         boolean useInverseRatioForControlColorChannel,
                                                         int colorAlpha,
                                                         org.locationtech.jts.geom.Envelope datasetBoundary,
                                                         int maxPartitionTreeLevel,
                                                         boolean overwriteExistingImages)
        Gets the global parameter.
        Parameters:
        resolutionX - the resolution X
        resolutionY - the resolution Y
        reverseSpatialCoordinate - the reverse spatial coordinate
        drawOutlineOnly - the draw outline only
        minTreeLevel - the min tree level
        filterRadius - the filter radius
        photoFilter - the photo filter
        samplingFraction - the sampling fraction
        maxPixelWeight - the max pixel weight
        coloringRule - the coloring rule
        controlColorChannel - the control color channel
        useInverseRatioForControlColorChannel - the use inverse ratio for control color channel
        colorAlpha - the color alpha
        datasetBoundary - the dataset boundary
        maxPartitionTreeLevel - the max partition tree level
        overwriteExistingImages - the overwrite existing images
        Returns:
        the global parameter
      • setDatasetBoundary

        public boolean setDatasetBoundary​(org.locationtech.jts.geom.Envelope datasetBoundary)
        Sets the dataset boundary.
        Parameters:
        datasetBoundary - the dataset boundary
        Returns:
        true, if successful
      • setColoringRule

        public boolean setColoringRule​(ColoringRule coloringRule)
        Sets the coloring rule.
        Parameters:
        coloringRule - the coloring rule
        Returns:
        true, if successful
      • setPhotoFilter

        public boolean setPhotoFilter​(PhotoFilter photoFilter)
        Sets the photo filter.
        Parameters:
        photoFilter - the photo filter
        Returns:
        true, if successful
      • set

        public boolean set​(String keyValuePair)
        Sets the.
        Parameters:
        keyValuePair - the key value pair
        Returns:
        true, if successful
      • set

        public boolean set​(String key,
                           String value)
        Sets the.
        Parameters:
        key - the key
        value - the value
        Returns:
        true, if successful