com.esri.arcgis.analyst3d
Class GeometryMaterial

java.lang.Object
  extended by com.esri.arcgis.analyst3d.GeometryMaterial
All Implemented Interfaces:
IGeometryMaterial, com.esri.arcgis.interop.RemoteObjRef, IPersist, IPersistStream, java.io.Externalizable, java.io.Serializable

public class GeometryMaterial
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGeometryMaterial, IPersistStream, IPersist, java.io.Externalizable

COM Class 'GeometryMaterial'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esri3DAnalyst.olb'

Description 'The Geometry Material component.' 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 =

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.analyst3d.IGeometryMaterial
IID, IIDe9f95f61_2bec_11d6_a4cd_444553547777, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Constructor Summary
GeometryMaterial()
          Constructs a GeometryMaterial using ArcGIS Engine.
GeometryMaterial(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeometryMaterial theGeometryMaterial = (GeometryMaterial) obj;
 
Method Summary
 void clearTextureImage()
          Clear Texture Image file.
 void clearTransparentTextureColor()
          Clear the transparent color to the texture image.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 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.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 void getTextureColorPalette(IArray[] ppRgbColors)
          The values of unique RGB colors in the texture image.
 java.lang.String getTextureImage()
          The Texture Image file.
 double getTransparency()
          The transparency, in range of 0.0 - 1.0.
 IRgbColor getTransparentTextureColor()
          The transparent texture color.
 int hashCode()
          the hashcode for this object
 void isDirty()
          isDirty
 boolean isHasTransparentTextureColor()
          Indicates if a transparent color has been assigned to the texture image.
 void load(IStream pstm)
          load
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a GeometryMaterial.
 void save(IStream pstm, int fClearDirty)
          save
 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(java.lang.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.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

GeometryMaterial

public GeometryMaterial()
                 throws java.io.IOException,
                        java.net.UnknownHostException
Constructs a GeometryMaterial using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GeometryMaterial

public GeometryMaterial(java.lang.Object obj)
                 throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeometryMaterial theGeometryMaterial = (GeometryMaterial) obj;

Construct a GeometryMaterial using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GeometryMaterial.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GeometryMaterial.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setColor

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

Specified by:
setColor in interface IGeometryMaterial
Parameters:
red - The red (in)
green - The green (in)
blue - The blue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColor

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

Specified by:
getColor in interface IGeometryMaterial
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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColorByRef

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

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

getColor2

public IRgbColor getColor2()
                    throws java.io.IOException,
                           AutomationException
The color.

Specified by:
getColor2 in interface IGeometryMaterial
Returns:
A reference to a com.esri.arcgis.display.IRgbColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransparency

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

Specified by:
setTransparency in interface IGeometryMaterial
Parameters:
pTransparency - The pTransparency (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTransparency

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

Specified by:
getTransparency in interface IGeometryMaterial
Returns:
The pTransparency
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextureImage

public void setTextureImage(java.lang.String pFilePath)
                     throws java.io.IOException,
                            AutomationException
The Texture Image file.

Specified by:
setTextureImage in interface IGeometryMaterial
Parameters:
pFilePath - The pFilePath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextureImage

public java.lang.String getTextureImage()
                                 throws java.io.IOException,
                                        AutomationException
The Texture Image file.

Specified by:
getTextureImage in interface IGeometryMaterial
Returns:
The pFilePath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearTextureImage

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

Specified by:
clearTextureImage in interface IGeometryMaterial
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransparentTextureColorByRef

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

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

getTransparentTextureColor

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

Specified by:
getTransparentTextureColor in interface IGeometryMaterial
Returns:
A reference to a com.esri.arcgis.display.IRgbColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasTransparentTextureColor

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

Specified by:
isHasTransparentTextureColor in interface IGeometryMaterial
Returns:
The pHasTransparentColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearTransparentTextureColor

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

Specified by:
clearTransparentTextureColor in interface IGeometryMaterial
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextureColorPalette

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

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

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException