|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.MosaicRule
public class MosaicRule
A mosaic rule class.
MosaicRule object is used to define the mosaic rule for mosaicking requested images on the fly. A mosaic rule contains a mosaic method, its parameters, and a mosaic operation. In general, a mosaic rule is used to specify (1) the selection of rasters to participate in the mosaic; (2) how the selected rasters are ordered; (3) how overlapping pixels at the same location are resolved.
Constructor Summary | |
---|---|
MosaicRule()
Constructs a MosaicRule using ArcGIS Engine. |
|
MosaicRule(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MosaicRule theMosaicRule = (MosaicRule) obj; |
Method Summary | |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IFIDSet |
getFIDs()
The list of (selected) catalog item IDs. |
String |
getLockRasterID()
The lock raster ID. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
int |
getMosaicMethod()
The mosaic method. |
int |
getMosaicOperatorType()
The type of mosaic operator for resolving overlapping pixels. |
Object |
getOrderByBaseValue()
The Order By base value. |
String |
getOrderByFieldName()
The Order By field on the source catalog. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ITimeValue |
getTimeValue()
The request time value. |
IPoint |
getViewpoint()
The view point. |
String |
getWhereClause()
The SQL selection where clause expression. |
int |
hashCode()
the hashcode for this object |
boolean |
isAscending()
Indicates whether the ascending flag of OrderBy. |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setAscending(boolean pAscending)
Indicates whether the ascending flag of OrderBy. |
void |
setFIDsByRef(IFIDSet ppFIDs)
The list of (selected) catalog item IDs. |
void |
setLockRasterID(String pRasterID)
The lock raster ID. |
void |
setMosaicMethod(int pMosaicMethod)
The mosaic method. |
void |
setMosaicOperatorType(int type)
The type of mosaic operator for resolving overlapping pixels. |
void |
setOrderByBaseValue(Object pValue)
The Order By base value. |
void |
setOrderByFieldName(String pName)
The Order By field on the source catalog. |
void |
setTimeValueByRef(ITimeValue ppTimeValue)
The request time value. |
void |
setViewpointByRef(IPoint ppViewpoint)
The view point. |
void |
setWhereClause(String pExpression)
The SQL selection where clause expression. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public MosaicRule() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic MosaicRule(Object obj) throws IOException
MosaicRule theMosaicRule = (MosaicRule) obj;
obj
to MosaicRule
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getMosaicMethod() throws IOException, AutomationException
getMosaicMethod
in interface IMosaicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMosaicMethod(int pMosaicMethod) throws IOException, AutomationException
setMosaicMethod
in interface IMosaicRule
pMosaicMethod
- A com.esri.arcgis.datasourcesraster.esriMosaicMethod constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLockRasterID() throws IOException, AutomationException
getLockRasterID
in interface IMosaicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLockRasterID(String pRasterID) throws IOException, AutomationException
As a parameter for the mosaic method esriMosaicLockRaster, LockRasterIDs can take a single or a comma delimited list of raster IDs. All those rasters with the given list of raster IDs are selected to participate in the mosaic. An example of the LockRasterIDs string can be “12,15, 20”. The rasters will be visible at all pixel sizes regardless of the minimum and maximum pixel size range of the locked rasters.
setLockRasterID
in interface IMosaicRule
pRasterID
- The pRasterID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getViewpoint() throws IOException, AutomationException
getViewpoint
in interface IMosaicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setViewpointByRef(IPoint ppViewpoint) throws IOException, AutomationException
As a parameter for the esriMosaicViewpoint mosaic method, this property defines a viewpoint location on which the ordering is defined based on the distance from the viewpoint and the nadir of rasters.
setViewpointByRef
in interface IMosaicRule
ppViewpoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getOrderByFieldName() throws IOException, AutomationException
getOrderByFieldName
in interface IMosaicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOrderByFieldName(String pName) throws IOException, AutomationException
The name of the attribute field that is used, together with a constant OrderByBaseValue, to define the mosaicking order when the mosaic method is set to esriMosaicAttribute. The ordering is defined by the absolute value of the difference between the specified sort field value and the sort base value. For example, the sort field is Month, and the sort value is 7 (July), and the ordering is defined by ABS (Month – 7).
setOrderByFieldName
in interface IMosaicRule
pName
- The pName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getOrderByBaseValue() throws IOException, AutomationException
getOrderByBaseValue
in interface IMosaicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOrderByBaseValue(Object pValue) throws IOException, AutomationException
setOrderByBaseValue
in interface IMosaicRule
pValue
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAscending() throws IOException, AutomationException
isAscending
in interface IMosaicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAscending(boolean pAscending) throws IOException, AutomationException
Indicates if sorting in an ascending (TRUE) order or a descending order.
This property applies to all mosaic methods where an ordering is defined except esriMosaicLockRaster and esriMosaicSeamline.
setAscending
in interface IMosaicRule
pAscending
- The pAscending (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMosaicOperatorType() throws IOException, AutomationException
getMosaicOperatorType
in interface IMosaicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMosaicOperatorType(int type) throws IOException, AutomationException
MT_FIRST Takes the first value of all overlapping pixels
MT_LAST Takes the last value of all overlapping pixels
MT_MIN Takes the minimum value of all overlapping pixels
MT_MAX Takes the maximum value of all overlapping pixels
MT_MEAN Takes the mean value of all overlapping pixels
MT_BLEND Takes the blended value of all overlapping pixels
setMosaicOperatorType
in interface IMosaicRule
type
- A com.esri.arcgis.datasourcesraster.rstMosaicOperatorType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getWhereClause() throws IOException, AutomationException
getWhereClause
in interface IMosaicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWhereClause(String pExpression) throws IOException, AutomationException
setWhereClause
in interface IMosaicRule
pExpression
- The pExpression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet getFIDs() throws IOException, AutomationException
getFIDs
in interface IMosaicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFIDsByRef(IFIDSet ppFIDs) throws IOException, AutomationException
setFIDsByRef
in interface IMosaicRule
ppFIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITimeValue getTimeValue() throws IOException, AutomationException
getTimeValue
in interface IMosaicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeValueByRef(ITimeValue ppTimeValue) throws IOException, AutomationException
setTimeValueByRef
in interface IMosaicRule
ppTimeValue
- A reference to a com.esri.arcgis.system.ITimeValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMinNamespaceSupported() throws IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |