com.esri.arcgis.system
Class ITextureCompressionProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.ITextureCompressionProxy
All Implemented Interfaces:
ITextureCompression, Externalizable, Serializable

public class ITextureCompressionProxy
extends com.esri.arcgis.interop.Dispatch
implements ITextureCompression, Serializable

Provides access to compress and uncompress texture data.

Description

Do not use this interface. This is a private interface, that will be removed in future releases.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  ITextureCompressionProxy()
           
  ITextureCompressionProxy(Object obj)
           
protected ITextureCompressionProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void compressTexture(int type, int width, int height, int channels, byte[] pInData, int[] pByteCount, byte[] ppOutBuff)
          Compress the current the input buffer.
 void freeCompressData(byte[] pInData)
          Free the Compression buffer created in Compress texture.
 int getCompressionQuality()
          Compression quality of texture data.
 boolean isBSQ()
          Indicates output should be packed in BSQ pixel interleave format.
 void removeListener(String iidStr, Object theListener)
           
 void setBSQ(boolean pBSQ)
          Indicates output should be packed in BSQ pixel interleave format.
 void setCompressionQuality(int quality)
          Compression quality of texture data.
 void unCompressTexture(int type, int width, int height, int channels, int size, byte[] pInData, byte[] pOutBuff)
          UnCompress the current the input buffer.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ITextureCompressionProxy

public ITextureCompressionProxy()

ITextureCompressionProxy

public ITextureCompressionProxy(Object obj)
                         throws IOException
Throws:
IOException

ITextureCompressionProxy

protected ITextureCompressionProxy(Object obj,
                                   String iid)
                            throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

compressTexture

public void compressTexture(int type,
                            int width,
                            int height,
                            int channels,
                            byte[] pInData,
                            int[] pByteCount,
                            byte[] ppOutBuff)
                     throws IOException,
                            AutomationException
Compress the current the input buffer.

Description

Do not use members of this interface. This is a private interface, that will be removed in future releases.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
compressTexture in interface ITextureCompression
Parameters:
type - A com.esri.arcgis.system.esriTextureCompressionType constant (in)
width - The width (in)
height - The height (in)
channels - The channels (in)
pInData - An unsigned byte (in)
pByteCount - The pByteCount (out: use single element array)
ppOutBuff - An unsigned byte (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unCompressTexture

public void unCompressTexture(int type,
                              int width,
                              int height,
                              int channels,
                              int size,
                              byte[] pInData,
                              byte[] pOutBuff)
                       throws IOException,
                              AutomationException
UnCompress the current the input buffer.

Description

Do not use members of this interface. This is a private interface, that will be removed in future releases.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
unCompressTexture in interface ITextureCompression
Parameters:
type - A com.esri.arcgis.system.esriTextureCompressionType constant (in)
width - The width (in)
height - The height (in)
channels - The channels (in)
size - The size (in)
pInData - An unsigned byte (in)
pOutBuff - An unsigned byte (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCompressionQuality

public void setCompressionQuality(int quality)
                           throws IOException,
                                  AutomationException
Compression quality of texture data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setCompressionQuality in interface ITextureCompression
Parameters:
quality - The quality (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCompressionQuality

public int getCompressionQuality()
                          throws IOException,
                                 AutomationException
Compression quality of texture data.

Description

Do not use members of this interface. This is a private interface, that will be removed in future releases.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCompressionQuality in interface ITextureCompression
Returns:
The quality
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

freeCompressData

public void freeCompressData(byte[] pInData)
                      throws IOException,
                             AutomationException
Free the Compression buffer created in Compress texture.

Description

Do not use members of this interface. This is a private interface, that will be removed in future releases.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
freeCompressData in interface ITextureCompression
Parameters:
pInData - An unsigned byte (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBSQ

public boolean isBSQ()
              throws IOException,
                     AutomationException
Indicates output should be packed in BSQ pixel interleave format.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isBSQ in interface ITextureCompression
Returns:
The pBSQ
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBSQ

public void setBSQ(boolean pBSQ)
            throws IOException,
                   AutomationException
Indicates output should be packed in BSQ pixel interleave format.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setBSQ in interface ITextureCompression
Parameters:
pBSQ - The pBSQ (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.