Package org.apache.sedona.viz.core
Class GlobalParameter
java.lang.Object
org.apache.sedona.viz.core.GlobalParameter
- All Implemented Interfaces:
Serializable
The Class GlobalParameter.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe color alpha.The coloring rule.The control color channel.org.locationtech.jts.geom.EnvelopeThe dataset boundary.booleanThe draw outline only.intThe filter radius.intThe max partition tree level.intThe max pixel weight.intThe min tree level.booleanThe overwrite existing images.doubleThe partition interval X.doubleThe partition interval Y.intThe partitions on single axis.The photo filter.intThe resolution X.intThe resolution Y.booleanThe reverse spatial coordinate.doubleThe sample amount.booleanThe use inverse ratio for control color channel.booleanThe use user supplied resolution. -
Method Summary
Modifier and TypeMethodDescriptionstatic GlobalParameterGets 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.booleanSets the.booleanSets 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.toString()
-
Field Details
-
resolutionX
public int resolutionXThe resolution X. -
resolutionY
public int resolutionYThe resolution Y. -
reverseSpatialCoordinate
public boolean reverseSpatialCoordinateThe reverse spatial coordinate. -
drawOutlineOnly
public boolean drawOutlineOnlyThe draw outline only. -
minTreeLevel
public int minTreeLevelThe min tree level. -
filterRadius
public int filterRadiusThe filter radius. -
photoFilter
The photo filter. -
samplingFraction
public double samplingFractionThe sample amount. -
maxPixelWeight
public int maxPixelWeightThe max pixel weight. -
coloringRule
The coloring rule. -
controlColorChannel
The control color channel. -
useInverseRatioForControlColorChannel
public boolean useInverseRatioForControlColorChannelThe use inverse ratio for control color channel. -
colorAlpha
public int colorAlphaThe color alpha. -
datasetBoundary
public org.locationtech.jts.geom.Envelope datasetBoundaryThe dataset boundary. -
partitionsOnSingleAxis
public int partitionsOnSingleAxisThe partitions on single axis. -
partitionIntervalX
public double partitionIntervalXThe partition interval X. -
partitionIntervalY
public double partitionIntervalYThe partition interval Y. -
useUserSuppliedResolution
public boolean useUserSuppliedResolutionThe use user supplied resolution. -
maxPartitionTreeLevel
public int maxPartitionTreeLevelThe max partition tree level. -
overwriteExistingImages
public boolean overwriteExistingImagesThe overwrite existing images.
-
-
Method Details
-
getGlobalParameter
Gets the global parameter.- Parameters:
parameterString- the parameter string- Returns:
- the global parameter
-
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 XresolutionY- the resolution YreverseSpatialCoordinate- the reverse spatial coordinatedrawOutlineOnly- the draw outline onlyminTreeLevel- the min tree levelfilterRadius- the filter radiusphotoFilter- the photo filtersamplingFraction- the sampling fractionmaxPixelWeight- the max pixel weightcoloringRule- the coloring rulecontrolColorChannel- the control color channeluseInverseRatioForControlColorChannel- the use inverse ratio for control color channelcolorAlpha- the color alphadatasetBoundary- the dataset boundarymaxPartitionTreeLevel- the max partition tree leveloverwriteExistingImages- 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
Sets the coloring rule.- Parameters:
coloringRule- the coloring rule- Returns:
- true, if successful
-
setPhotoFilter
Sets the photo filter.- Parameters:
photoFilter- the photo filter- Returns:
- true, if successful
-
set
Sets the.- Parameters:
keyValuePair- the key value pair- Returns:
- true, if successful
-
set
Sets the.- Parameters:
key- the keyvalue- the value- Returns:
- true, if successful
-
toString
-