|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.CieLabConversion
public class CieLabConversion
COM Class 'CieLabConversion'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'
Description 'Use this class to convert colers from and to the device independent CIELab color space using the monitor settings.' 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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.display.ICieLabConversion |
---|
IID, IID137e39db_3e98_11d2_aaf7_00c04fa334b3, xxDummy |
Constructor Summary | |
---|---|
CieLabConversion()
Constructs a CieLabConversion using ArcGIS Engine. |
|
CieLabConversion(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CieLabConversion theCieLabConversion = (CieLabConversion) obj; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
double |
getDistance(double l1,
double a1,
double b1,
double l2,
double a2,
double b2)
Gets visual difference between two CIELAB colors. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getSettingsVersion()
The monitor settings version. |
int |
hashCode()
the hashcode for this object |
void |
hsvToLab(short h,
byte s,
byte v,
double[] l,
double[] a,
double[] b)
Converts an RGB color to a CIELAB color. |
void |
labToHsv(short[] h,
byte[] s,
byte[] v,
double l,
double a,
double b)
Converts a CIELAB color to an RGB color. |
void |
labToRgb(int[] rGB,
double l,
double a,
double b)
Converts a CIELAB color to an RGB color. |
void |
release()
Release a CieLabConversion. |
void |
reloadSettings()
Reloads the monitor settings from the registry. |
void |
rgbToLab(int rGB,
double[] l,
double[] a,
double[] b)
Converts an RGB color to a CIELAB color. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CieLabConversion() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic CieLabConversion(java.lang.Object obj) throws java.io.IOException
CieLabConversion theCieLabConversion = (CieLabConversion) obj;
obj
to CieLabConversion
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void rgbToLab(int rGB, double[] l, double[] a, double[] b) throws java.io.IOException, AutomationException
rgbToLab
in interface ICieLabConversion
rGB
- The rGB (A COM typedef) (in)l
- The l (out: use single element array)a
- The a (in)b
- The b (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void labToRgb(int[] rGB, double l, double a, double b) throws java.io.IOException, AutomationException
labToRgb
in interface ICieLabConversion
rGB
- The rGB (A COM typedef) (out: use single element array)l
- The l (in)a
- The a (in)b
- The b (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hsvToLab(short h, byte s, byte v, double[] l, double[] a, double[] b) throws java.io.IOException, AutomationException
hsvToLab
in interface ICieLabConversion
h
- The h (in)s
- An unsigned byte (in)v
- An unsigned byte (in)l
- The l (out: use single element array)a
- The a (in)b
- The b (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void labToHsv(short[] h, byte[] s, byte[] v, double l, double a, double b) throws java.io.IOException, AutomationException
labToHsv
in interface ICieLabConversion
h
- The h (out: use single element array)s
- An unsigned byte (out: use single element array)v
- An unsigned byte (out: use single element array)l
- The l (in)a
- The a (in)b
- The b (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDistance(double l1, double a1, double b1, double l2, double a2, double b2) throws java.io.IOException, AutomationException
getDistance
in interface ICieLabConversion
l1
- The l1 (in)a1
- The a1 (in)b1
- The b1 (in)l2
- The l2 (in)a2
- The a2 (in)b2
- The b2 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reloadSettings() throws java.io.IOException, AutomationException
reloadSettings
in interface ICieLabConversion
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSettingsVersion() throws java.io.IOException, AutomationException
getSettingsVersion
in interface ICieLabConversion
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |