com.esri.arcgis.analyst3d
Interface IGeometryMaterial

All Superinterfaces:
Serializable
All Known Implementing Classes:
GeometryMaterial

public interface IGeometryMaterial
extends Serializable

Provides access to Material properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.


Method Summary
 void clearTextureImage()
          Clear Texture Image file.
 void clearTransparentTextureColor()
          Clear the transparent color to the texture image.
 void getColor(double[] pRed, double[] pGreen, double[] pBlue)
          Get color, red, green, blue is in range of 0.0 - 1.0.
 IRgbColor getColor2()
          The color.
 void getTextureColorPalette(IArray[] ppRgbColors)
          The values of unique RGB colors in the texture image.
 String getTextureImage()
          The Texture Image file.
 double getTransparency()
          The transparency, in range of 0.0 - 1.0.
 IRgbColor getTransparentTextureColor()
          The transparent texture color.
 boolean isHasTransparentTextureColor()
          Indicates if a transparent color has been assigned to the texture image.
 void setColor(double red, double green, double blue)
          Set color, red, green, blue is in range of 0.0 - 1.0.
 void setColorByRef(IRgbColor ppRgbColor)
          The color.
 void setTextureImage(String pFilePath)
          The Texture Image file.
 void setTransparency(double pTransparency)
          The transparency, in range of 0.0 - 1.0.
 void setTransparentTextureColorByRef(IRgbColor ppRgbColor)
          The transparent texture color.
 

Method Detail

setColor

void setColor(double red,
              double green,
              double blue)
              throws IOException,
                     AutomationException
Set color, red, green, blue is in range of 0.0 - 1.0.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

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

getColor

void getColor(double[] pRed,
              double[] pGreen,
              double[] pBlue)
              throws IOException,
                     AutomationException
Get color, red, green, blue is in range of 0.0 - 1.0.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pRed - The pRed (out: use single element array)
pGreen - The pGreen (out: use single element array)
pBlue - The pBlue (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColorByRef

void setColorByRef(IRgbColor ppRgbColor)
                   throws IOException,
                          AutomationException
The color.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Parameters:
ppRgbColor - A reference to a com.esri.arcgis.display.IRgbColor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColor2

IRgbColor getColor2()
                    throws IOException,
                           AutomationException
The color.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Returns:
A reference to a com.esri.arcgis.display.IRgbColor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransparency

void setTransparency(double pTransparency)
                     throws IOException,
                            AutomationException
The transparency, in range of 0.0 - 1.0.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

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

getTransparency

double getTransparency()
                       throws IOException,
                              AutomationException
The transparency, in range of 0.0 - 1.0.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

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

setTextureImage

void setTextureImage(String pFilePath)
                     throws IOException,
                            AutomationException
The Texture Image file.

Remarks

The following texture image formats are supported:

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

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

getTextureImage

String getTextureImage()
                       throws IOException,
                              AutomationException
The Texture Image file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

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

clearTextureImage

void clearTextureImage()
                       throws IOException,
                              AutomationException
Clear Texture Image file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

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

setTransparentTextureColorByRef

void setTransparentTextureColorByRef(IRgbColor ppRgbColor)
                                     throws IOException,
                                            AutomationException
The transparent texture color.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Parameters:
ppRgbColor - A reference to a com.esri.arcgis.display.IRgbColor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTransparentTextureColor

IRgbColor getTransparentTextureColor()
                                     throws IOException,
                                            AutomationException
The transparent texture color.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.display.IRgbColor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasTransparentTextureColor

boolean isHasTransparentTextureColor()
                                     throws IOException,
                                            AutomationException
Indicates if a transparent color has been assigned to the texture image.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

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

clearTransparentTextureColor

void clearTransparentTextureColor()
                                  throws IOException,
                                         AutomationException
Clear the transparent color to the texture image.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

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

getTextureColorPalette

void getTextureColorPalette(IArray[] ppRgbColors)
                            throws IOException,
                                   AutomationException
The values of unique RGB colors in the texture image.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Parameters:
ppRgbColors - A reference to a com.esri.arcgis.system.IArray (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.