Package org.apache.sedona.viz.core
Class GlobalParameter
- java.lang.Object
- 
- org.apache.sedona.viz.core.GlobalParameter
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class GlobalParameter extends Object implements Serializable The Class GlobalParameter.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description intcolorAlphaThe color alpha.ColoringRulecoloringRuleThe coloring rule.ColorcontrolColorChannelThe control color channel.org.locationtech.jts.geom.EnvelopedatasetBoundaryThe dataset boundary.booleandrawOutlineOnlyThe draw outline only.intfilterRadiusThe filter radius.intmaxPartitionTreeLevelThe max partition tree level.intmaxPixelWeightThe max pixel weight.intminTreeLevelThe min tree level.booleanoverwriteExistingImagesThe overwrite existing images.doublepartitionIntervalXThe partition interval X.doublepartitionIntervalYThe partition interval Y.intpartitionsOnSingleAxisThe partitions on single axis.PhotoFilterphotoFilterThe photo filter.intresolutionXThe resolution X.intresolutionYThe resolution Y.booleanreverseSpatialCoordinateThe reverse spatial coordinate.doublesamplingFractionThe sample amount.booleanuseInverseRatioForControlColorChannelThe use inverse ratio for control color channel.booleanuseUserSuppliedResolutionThe use user supplied resolution.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GlobalParametergetGlobalParameter()Gets the global parameter.static GlobalParametergetGlobalParameter(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.static GlobalParametergetGlobalParameter(String parameterString)Gets the global parameter.booleanset(String keyValuePair)Sets the.booleanset(String key, String value)Sets the.booleansetColoringRule(ColoringRule coloringRule)Sets the coloring rule.booleansetDatasetBoundary(org.locationtech.jts.geom.Envelope datasetBoundary)Sets the dataset boundary.booleansetPhotoFilter(PhotoFilter photoFilter)Sets the photo filter.StringtoString()
 
- 
- 
- 
Field Detail- 
resolutionXpublic int resolutionX The resolution X.
 - 
resolutionYpublic int resolutionY The resolution Y.
 - 
reverseSpatialCoordinatepublic boolean reverseSpatialCoordinate The reverse spatial coordinate.
 - 
drawOutlineOnlypublic boolean drawOutlineOnly The draw outline only.
 - 
minTreeLevelpublic int minTreeLevel The min tree level.
 - 
filterRadiuspublic int filterRadius The filter radius.
 - 
photoFilterpublic PhotoFilter photoFilter The photo filter.
 - 
samplingFractionpublic double samplingFraction The sample amount.
 - 
maxPixelWeightpublic int maxPixelWeight The max pixel weight.
 - 
coloringRulepublic ColoringRule coloringRule The coloring rule.
 - 
controlColorChannelpublic Color controlColorChannel The control color channel.
 - 
useInverseRatioForControlColorChannelpublic boolean useInverseRatioForControlColorChannel The use inverse ratio for control color channel.
 - 
colorAlphapublic int colorAlpha The color alpha.
 - 
datasetBoundarypublic org.locationtech.jts.geom.Envelope datasetBoundary The dataset boundary.
 - 
partitionsOnSingleAxispublic int partitionsOnSingleAxis The partitions on single axis.
 - 
partitionIntervalXpublic double partitionIntervalX The partition interval X.
 - 
partitionIntervalYpublic double partitionIntervalY The partition interval Y.
 - 
useUserSuppliedResolutionpublic boolean useUserSuppliedResolution The use user supplied resolution.
 - 
maxPartitionTreeLevelpublic int maxPartitionTreeLevel The max partition tree level.
 - 
overwriteExistingImagespublic boolean overwriteExistingImages The overwrite existing images.
 
- 
 - 
Method Detail- 
getGlobalParameterpublic static GlobalParameter getGlobalParameter(String parameterString) Gets the global parameter.- Parameters:
- parameterString- the parameter string
- Returns:
- the global parameter
 
 - 
getGlobalParameterpublic static GlobalParameter getGlobalParameter() Gets the global parameter.- Returns:
- the global parameter
 
 - 
getGlobalParameterpublic 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
 
 - 
setDatasetBoundarypublic boolean setDatasetBoundary(org.locationtech.jts.geom.Envelope datasetBoundary) Sets the dataset boundary.- Parameters:
- datasetBoundary- the dataset boundary
- Returns:
- true, if successful
 
 - 
setColoringRulepublic boolean setColoringRule(ColoringRule coloringRule) Sets the coloring rule.- Parameters:
- coloringRule- the coloring rule
- Returns:
- true, if successful
 
 - 
setPhotoFilterpublic boolean setPhotoFilter(PhotoFilter photoFilter) Sets the photo filter.- Parameters:
- photoFilter- the photo filter
- Returns:
- true, if successful
 
 - 
setpublic boolean set(String keyValuePair) Sets the.- Parameters:
- keyValuePair- the key value pair
- Returns:
- true, if successful
 
 - 
setpublic boolean set(String key, String value) Sets the.- Parameters:
- key- the key
- value- the value
- Returns:
- true, if successful
 
 
- 
 
-