|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.map.MosaicRule
public class MosaicRule
Specifies the mosaic rule when defining how individual images should be mosaicked. It specifies selection, mosaic method, sort order, overlapping pixel resolution, etc. Mosaic rules are for mosaicking rasters in the mosaic dataset. A mosaic rule is used to define:
Field Summary | |
---|---|
static int |
METHOD_ATTRIBUTE
Sorts rasters based on an attribute field and its difference from a base value. |
static int |
METHOD_CENTER
Sorts rasters where rasters that have their centers closest to the view center or center of view extent are placed on top. |
static int |
METHOD_LOCKRASTER
Specifies that only rasters in the given list of raster Ids participate in the mosaic. |
static int |
METHOD_NADIR
Sorts rasters by the distance between the nadir position and view center. |
static int |
METHOD_NONE
No mosaic method specified. |
static int |
METHOD_NORTHWEST
Sorts rasters in a view independent way, where rasters with their centers most northwest are displayed on top. |
static int |
METHOD_SEAMLINE
Cuts the raster using the predefined seamline shape. |
static int |
METHOD_VIEWPOINT
Sorts rasters based on a user-defined viewpoint location and nadir location. |
static int |
OPERATION_BLEND
Takes the blended value of all overlapping pixels. |
static int |
OPERATION_FIRST
Takes the first value of all overlapping pixels. |
static int |
OPERATION_LAST
Takes the last value of all overlapping pixels. |
static int |
OPERATION_MAX
Takes the maximum value of all overlapping pixels. |
static int |
OPERATION_MEAN
Takes the mean value of all overlapping pixels. |
static int |
OPERATION_MIN
Takes the minimum value of all overlapping pixels. |
Constructor Summary | |
---|---|
MosaicRule()
Instantiates an object of MosaicRule. |
|
MosaicRule(MosaicRule params)
Copies the properties from the given MosaicRule to the current instance. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int[] |
getLockRasterIds()
Gets an array of raster Ids. |
int |
getMethod()
Gets the method of the MosaicRule. |
int[] |
getObjectIds()
Defines a selection using a set of ObjectIds. |
int |
getOperation()
Gets the operation of the MosaicRule. |
String |
getSortField()
Gets the name of the attribute field that is used together with a constant sortValue to define the mosaicking order when the mosaic method is set to METHOD_ATTRIBUTE . |
String |
getSortValue()
Gets the sortValue of the MosaicRule. |
Point |
getViewpoint()
Gets the viewpoint location on which the ordering is defined based on the distance from the viewpoint and the nadir of rasters. |
SpatialReference |
getViewpointSpatialReference()
Gets the SpatialReference of the ViewPoint. |
String |
getWhere()
Gets the where clause of the MosaicRule.The where clause determines which rasters will participate in the mosaic. |
int |
hashCode()
|
boolean |
isAscending()
Gets the ascending of the MosaicRule. |
void |
setAscending(boolean ascending)
Sets the ascending of the MosaicRule. |
void |
setLockRasterIds(int[] lockRasterIds)
Sets an array of raster Ids. |
void |
setMethod(int method)
Sets the method of the MosaicRule. |
void |
setObjectIds(int[] objectIds)
Defines a selection using a set of ObjectIds. |
void |
setOperation(int operation)
Sets the operation of the MosaicRule. |
void |
setSortField(String sortField)
Sets the name of the attribute field that is used together with a constant sortValue to define the mosaicking order when the mosaic method is set to METHOD_ATTRIBUTE . |
void |
setSortValue(String sortValue)
Sets the sortValue of the MosaicRule. |
void |
setViewpoint(Point viewpoint)
Sets the viewpoint location on which the ordering is defined based on the distance from the viewpoint and the nadir of rasters. |
void |
setViewpointSpatialReference(SpatialReference viewpointSpatialReference)
Sets the SpatialReference of the ViewPoint. |
void |
setWhere(String where)
Sets the where clause of the MosaicRule. |
String |
toJson()
Converts the instance to a Json string. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int METHOD_ATTRIBUTE
public static final int METHOD_CENTER
public static final int METHOD_LOCKRASTER
public static final int METHOD_NADIR
public static final int METHOD_NONE
public static final int METHOD_NORTHWEST
public static final int METHOD_SEAMLINE
public static final int METHOD_VIEWPOINT
public static final int OPERATION_BLEND
public static final int OPERATION_FIRST
public static final int OPERATION_LAST
public static final int OPERATION_MAX
public static final int OPERATION_MEAN
public static final int OPERATION_MIN
Constructor Detail |
---|
public MosaicRule()
public MosaicRule(MosaicRule params)
params
- the MosaicRule to copy from.Method Detail |
---|
public boolean isAscending()
public void setAscending(boolean ascending)
ascending
- The ascending to set.public int[] getLockRasterIds()
public void setLockRasterIds(int[] lockRasterIds)
lockRasterIds
- The lockRasterIds to set.public int getMethod()
METHOD_CENTER
) for valid values.
public void setMethod(int method)
METHOD_CENTER
) for valid values.
method
- The method to set.public int[] getObjectIds()
public void setObjectIds(int[] objectIds)
objectIds
- The objectIds to set.public int getOperation()
OPERATION_BLEND
) for a list of valid values.
public void setOperation(int operation)
OPERATION_BLEND
) for a list of valid values.
operation
- The operation to set.public String getSortField()
METHOD_ATTRIBUTE
.
public void setSortField(String sortField)
METHOD_ATTRIBUTE
.
sortField
- The sortField to set.public String getSortValue()
METHOD_ATTRIBUTE
.
public void setSortValue(String sortValue)
METHOD_ATTRIBUTE
.
sortValue
- The sortValue to set.public Point getViewpoint()
public void setViewpoint(Point viewpoint)
viewpoint
- The viewpoint to set.public String getWhere()
public SpatialReference getViewpointSpatialReference()
setViewpoint(Point)
public void setViewpointSpatialReference(SpatialReference viewpointSpatialReference)
viewpointSpatialReference
- The viewpointSpatialReference to set.setViewpoint(Point)
public void setWhere(String where)
where
- The where clause to set.public String toJson() throws org.codehaus.jackson.JsonGenerationException, IOException
org.codehaus.jackson.JsonGenerationException
- the json generation exception
IOException
- the IO exceptionpublic int hashCode()
public boolean equals(Object obj)
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |