com.esri.arcgis.system
Interface ITextureCompression

All Superinterfaces:
Serializable
All Known Implementing Classes:
ITextureCompressionProxy

public interface ITextureCompression
extends 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.


Method Summary
 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 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.
 

Method Detail

compressTexture

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

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

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

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

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

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

getCompressionQuality

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

Returns:
The quality
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

freeCompressData

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

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

isBSQ

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.

Returns:
The pBSQ
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBSQ

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.

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