public class SpectralSensor extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ISpectralSensor, IXMLSerialize
Description 'The Spectrum class that holds wavelengths.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID815dea49_9b8d_45fb_9962_9ec89c5246e1, xxDummyIID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy| Constructor and Description |
|---|
SpectralSensor()
Constructs a SpectralSensor using ArcGIS Engine.
|
SpectralSensor(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
SpectralSensor theSpectralSensor = (SpectralSensor) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
create(GUID sensorId,
java.lang.String sensorName,
IDoubleArray pWavelengths,
int wlut)
Creates the object from parameters.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IPropertySet |
getCharacteristics()
Gets the list of Spectral Sensor properties specific for the library type.
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
double |
getMaxWavelength()
Gets the Maximum Wavelength value.
|
double |
getMinWavelength()
Gets the Minimum Wavelength value.
|
GUID |
getSensorId()
Gets the Spectral Sensor Id.
|
java.lang.String |
getSensorName()
Gets the Spectral Sensor name.
|
void |
getTargetRasterWavelengthsAndSensorName(IRaster pRaster,
java.lang.String[] pSensorName,
IDoubleArray[] ppTargetMinWavelengths,
IDoubleArray[] ppTargetMaxWavelengths,
IDoubleArray[] ppTargetCenterWavelengths,
int[] pWavelengthUnit)
Get target sensor wavelengths and sensor name from the input raster.
|
void |
getTargetSensorWavelengthsAndGUID(java.lang.String targetSensor,
GUID[] pTargetGuid,
IDoubleArray[] ppTargetMinWavelengths,
IDoubleArray[] ppTargetMaxWavelengths,
int[] pWavelengthUnit)
Get target sensor wavelengths and GUID from the sensor name.
|
IDoubleArray |
getWavelengths()
Gets the array of wavelengths.
|
int |
getWavelengthsCount()
Gets the Wavelengths count of the Spectral Sensor.
|
int |
getWavelengthUnits()
Gets the Wavelength units.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setCharacteristics(IPropertySet ppCharacteristics)
Gets the list of Spectral Sensor properties specific for the library type.
|
void |
setSensorId(GUID pSensorID)
Gets the Spectral Sensor Id.
|
void |
setSensorName(java.lang.String pSensorName)
Gets the Spectral Sensor name.
|
void |
setWavelengths(IDoubleArray ppWavelengths)
Gets the array of wavelengths.
|
void |
setWavelengthUnits(int pWavelengthUnits)
Gets the Wavelength units.
|
void |
uSGSBasicLoad(java.lang.String path,
boolean createId)
Loads the basic properties of a Spectral Sensor located in the specified path.
|
void |
uSGSFullyLoad(java.lang.String path,
boolean createId)
Loads all the properties of a Spectral Sensor, including wavelengths, located in the specified path.
|
public SpectralSensor()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic SpectralSensor(java.lang.Object obj)
throws java.io.IOException
SpectralSensor theSpectralSensor = (SpectralSensor) obj;obj to SpectralSensor.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic GUID getSensorId() throws java.io.IOException, AutomationException
getSensorId in interface ISpectralSensorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSensorId(GUID pSensorID) throws java.io.IOException, AutomationException
setSensorId in interface ISpectralSensorpSensorID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getSensorName()
throws java.io.IOException,
AutomationException
getSensorName in interface ISpectralSensorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSensorName(java.lang.String pSensorName)
throws java.io.IOException,
AutomationException
setSensorName in interface ISpectralSensorpSensorName - The pSensorName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IDoubleArray getWavelengths() throws java.io.IOException, AutomationException
getWavelengths in interface ISpectralSensorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setWavelengths(IDoubleArray ppWavelengths) throws java.io.IOException, AutomationException
setWavelengths in interface ISpectralSensorppWavelengths - A reference to a com.esri.arcgis.system.IDoubleArray (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getWavelengthUnits()
throws java.io.IOException,
AutomationException
getWavelengthUnits in interface ISpectralSensorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setWavelengthUnits(int pWavelengthUnits)
throws java.io.IOException,
AutomationException
setWavelengthUnits in interface ISpectralSensorpWavelengthUnits - A com.esri.arcgis.datasourcesraster.WavelengthUnitType constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double getMinWavelength()
throws java.io.IOException,
AutomationException
getMinWavelength in interface ISpectralSensorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double getMaxWavelength()
throws java.io.IOException,
AutomationException
getMaxWavelength in interface ISpectralSensorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getWavelengthsCount()
throws java.io.IOException,
AutomationException
getWavelengthsCount in interface ISpectralSensorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getCharacteristics() throws java.io.IOException, AutomationException
getCharacteristics in interface ISpectralSensorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setCharacteristics(IPropertySet ppCharacteristics) throws java.io.IOException, AutomationException
setCharacteristics in interface ISpectralSensorppCharacteristics - A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void uSGSBasicLoad(java.lang.String path,
boolean createId)
throws java.io.IOException,
AutomationException
uSGSBasicLoad in interface ISpectralSensorpath - The path (in)createId - The createId (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void uSGSFullyLoad(java.lang.String path,
boolean createId)
throws java.io.IOException,
AutomationException
uSGSFullyLoad in interface ISpectralSensorpath - The path (in)createId - The createId (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void create(GUID sensorId, java.lang.String sensorName, IDoubleArray pWavelengths, int wlut) throws java.io.IOException, AutomationException
create in interface ISpectralSensorsensorId - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)sensorName - The sensorName (in)pWavelengths - A reference to a com.esri.arcgis.system.IDoubleArray (in)wlut - A com.esri.arcgis.datasourcesraster.WavelengthUnitType constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getTargetSensorWavelengthsAndGUID(java.lang.String targetSensor,
GUID[] pTargetGuid,
IDoubleArray[] ppTargetMinWavelengths,
IDoubleArray[] ppTargetMaxWavelengths,
int[] pWavelengthUnit)
throws java.io.IOException,
AutomationException
getTargetSensorWavelengthsAndGUID in interface ISpectralSensortargetSensor - The targetSensor (in)pTargetGuid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)ppTargetMinWavelengths - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)ppTargetMaxWavelengths - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)pWavelengthUnit - A com.esri.arcgis.datasourcesraster.WavelengthUnitType constant (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getTargetRasterWavelengthsAndSensorName(IRaster pRaster, java.lang.String[] pSensorName, IDoubleArray[] ppTargetMinWavelengths, IDoubleArray[] ppTargetMaxWavelengths, IDoubleArray[] ppTargetCenterWavelengths, int[] pWavelengthUnit) throws java.io.IOException, AutomationException
getTargetRasterWavelengthsAndSensorName in interface ISpectralSensorpRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)pSensorName - The pSensorName (out: use single element array)ppTargetMinWavelengths - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)ppTargetMaxWavelengths - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)ppTargetCenterWavelengths - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)pWavelengthUnit - A com.esri.arcgis.datasourcesraster.WavelengthUnitType constant (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.