|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.datasourcesraster.RasterColormap
public class RasterColormap
A container for a colormap used to display a raster band.
Constructor Summary | |
---|---|
RasterColormap()
Constructs a RasterColormap using ArcGIS Engine. |
|
RasterColormap(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterColormap theRasterColormap = (RasterColormap) obj; |
Method Summary | |
---|---|
int |
bin(double pixval)
Translates pixel values into integers to index them into the colormap. |
boolean |
equals(Object o)
Compare this object with another |
IBinFunction |
getBinFunction()
The Bin function that maps pixel value into colormap index. |
Object |
getBlueValues()
Array of blue ratios as doubles between 0.0 and 1.0. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
Object |
getColors()
Array of colors as OLE_COLORs. |
Object |
getGreenValues()
Array of green ratios as doubles between 0.0 and 1.0. |
Object |
getRedValues()
Array of red ratios as doubles between 0.0 and 1.0. |
Object |
getRemappedBlueValues()
The remapped Blue color component values using LUT from index to value (OBJECTID, VALUE). |
Object |
getRemappedColors()
The remapped colors using LUT from index to value (OBJECTID, VALUE). |
Object |
getRemappedGreenValues()
The remapped Green color component values using LUT from index to value (OBJECTID, VALUE). |
Object |
getRemappedRedValues()
The remapped Red color component values using LUT from index to value (OBJECTID, VALUE). |
int |
getSize()
The number of colors in this colormap. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
Object |
getValues()
The list of pixel values. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
loadFrom(String colormapFileName)
Loads colors from an Esri .clr file. |
void |
loadFromString(String colormapDefinition)
Loads from a colormap definition string. |
void |
queryMinMax(int[] min,
int[] max)
Queries minimum and maximum pixel values. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
saveTo(String colormapFileName)
Saves colors to an Esri .clr file. |
void |
setBlueValues(Object val)
Array of blue ratios as doubles between 0.0 and 1.0. |
void |
setColors(Object val)
Array of colors as OLE_COLORs. |
void |
setGreenValues(Object val)
Array of green ratios as doubles between 0.0 and 1.0. |
void |
setLUT(ITable rhs1)
The lookup table (OBJECTID, VALUE) for remaping from index to pixel value. |
void |
setRedValues(Object val)
Array of red ratios as doubles between 0.0 and 1.0. |
void |
setValues(Object pValues)
The list of pixel values. |
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 RasterColormap() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterColormap(Object obj) throws IOException
RasterColormap theRasterColormap = (RasterColormap) obj;
obj
to RasterColormap
.
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 Object getRedValues() throws IOException, AutomationException
getRedValues
in interface IRasterColormap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRedValues(Object val) throws IOException, AutomationException
setRedValues
in interface IRasterColormap
val
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getGreenValues() throws IOException, AutomationException
getGreenValues
in interface IRasterColormap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGreenValues(Object val) throws IOException, AutomationException
setGreenValues
in interface IRasterColormap
val
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getBlueValues() throws IOException, AutomationException
getBlueValues
in interface IRasterColormap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBlueValues(Object val) throws IOException, AutomationException
setBlueValues
in interface IRasterColormap
val
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getColors() throws IOException, AutomationException
getColors
in interface IRasterColormap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColors(Object val) throws IOException, AutomationException
setColors
in interface IRasterColormap
val
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int bin(double pixval) throws IOException, AutomationException
bin
in interface IRasterColormap
pixval
- The pixval (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLUT(ITable rhs1) throws IOException, AutomationException
Set the lookup table to map index to raster pixel value.
setLUT
in interface IRasterColormap2
rhs1
- A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getRemappedColors() throws IOException, AutomationException
getRemappedColors
in interface IRasterColormap2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getRemappedRedValues() throws IOException, AutomationException
getRemappedRedValues
in interface IRasterColormap2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getRemappedGreenValues() throws IOException, AutomationException
getRemappedGreenValues
in interface IRasterColormap2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getRemappedBlueValues() throws IOException, AutomationException
getRemappedBlueValues
in interface IRasterColormap2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IBinFunction getBinFunction() throws IOException, AutomationException
getBinFunction
in interface IRasterColormap2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadFrom(String colormapFileName) throws IOException, AutomationException
loadFrom
in interface IRasterColormap3
colormapFileName
- The colormapFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveTo(String colormapFileName) throws IOException, AutomationException
saveTo
in interface IRasterColormap3
colormapFileName
- The colormapFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getValues() throws IOException, AutomationException
getValues
in interface IRasterColormap4
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValues(Object pValues) throws IOException, AutomationException
setValues
in interface IRasterColormap4
pValues
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryMinMax(int[] min, int[] max) throws IOException, AutomationException
queryMinMax
in interface IRasterColormap4
min
- The min (out: use single element array)max
- The max (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadFromString(String colormapDefinition) throws IOException, AutomationException
loadFromString
in interface IRasterColormap4
colormapDefinition
- The colormapDefinition (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSize() throws IOException, AutomationException
getSize
in interface IRasterColormap4
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 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 |