|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGeneralMultiPatchInfo
Interface to get infomation of a GeneralMultiPatch.
Use this interface to obtain a multipatch's geometry information, including those of its geometry material, if any.
Method Summary | |
---|---|
int |
getIdCount()
Get Id Count. |
int |
getMaterialColor(int index)
Get material color. |
int |
getMaterialCount()
Get Material Count. |
int |
getMaterialTextureBytesPerPixel(int index)
Get Material texture bytes per pixel. |
int |
getMaterialTextureColumnCount(int index)
Get Material texture column count. |
int |
getMaterialTexturePixelColor(int index,
int row,
int column)
Get Material texture pixel color. |
int |
getMaterialTextureRowCount(int index)
Get Material texture row count. |
int |
getMaterialTransparencyPercent(int index)
Get transparency %, in range of 0 - 100 |
int |
getMCount()
Get M Count. |
int |
getNormalCount()
Get Normal Count. |
int |
getPatchCount()
Get Patch Count. |
double |
getPatchM(int patch,
int index)
Get M for patch at vertex index. |
int |
getPatchMaterialIndex(int patch)
Get patch material index. |
int |
getPatchPriority(int patch)
Get patch priority. |
_WKSPoint |
getPatchTextureVertex(int patch,
int index)
Get Texture WKSPoint for a patch at vertex index. |
int |
getPatchTextureVertexCount(int patch)
Get texture vertex count for a patch. |
int |
getPatchType(int patch)
Get patch type. |
_WKSPointZ |
getPatchVertex(int patch,
int index)
Get Point for patch at vertex index. |
int |
getPatchVertexCount(int patch)
Get count of vertices in patch. |
int |
getPatchVertexID(int patch,
int index)
Get vertex Id for a patch at vertex index. |
int |
getTextureVertexCount()
Get Texture Vertex Count. |
int |
getVertexCount()
Get Vertex Count. |
boolean |
isMaterialCullBackface(int index)
Get backface culling enabled, |
boolean |
isMaterialTextured(int index)
Get Is Material textured. |
void |
queryPatchNormal(int patch,
int index,
IVector3D pNormal)
Copies the Normal for patch at specified vertex index into the input vector. |
Method Detail |
---|
int getVertexCount() throws IOException, AutomationException
Returns the total number of geometry vertices in the MultiPatch. This value is identical with the pointCount parameter passed to IGeneralMultiPatchCreator.Init() when constructing the MultiPatch.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPatchCount() throws IOException, AutomationException
Returns the total number of Patches (TriangleStrip, TriangleFan, Triangles, Ring) in the MultiPatch. This value is identical with the partCount parameter passed to IGeneralMultiPatchCreator.Init() when constructing the MultiPatch.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMCount() throws IOException, AutomationException
Returns the total number of Ms defined in the MultiPatch.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getNormalCount() throws IOException, AutomationException
Returns the total number of Normals defined in the MultiPatch.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getTextureVertexCount() throws IOException, AutomationException
Returns the total number of texture vertices defined in the MultiPatch.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getIdCount() throws IOException, AutomationException
Returns the total number of IDs defined in the MultiPatch.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMaterialCount() throws IOException, AutomationException
Returns the total number of Geometry Materials in the MultiPatch. This value is identical with the IGeometryMaterialList.Count property of the list passed to IGeneralMultiPatchCreator.Init() when constructing the MultiPatch.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPatchVertexCount(int patch) throws IOException, AutomationException
patch
- The patch (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPatchType(int patch) throws IOException, AutomationException
patch
- The patch (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPatchPriority(int patch) throws IOException, AutomationException
patch
- The patch (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPatchMaterialIndex(int patch) throws IOException, AutomationException
patch
- The patch (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception._WKSPointZ getPatchVertex(int patch, int index) throws IOException, AutomationException
patch
- The patch (in)index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getPatchM(int patch, int index) throws IOException, AutomationException
patch
- The patch (in)index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryPatchNormal(int patch, int index, IVector3D pNormal) throws IOException, AutomationException
Queries the Normal vector at the specified geometry vertex associated with the Patch located at the specified index.
A Vector3D object must be instantiated before being passed as the normal parameter to this method.
patch
- The patch (in)index
- The index (in)pNormal
- A reference to a com.esri.arcgis.geometry.IVector3D (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPatchTextureVertexCount(int patch) throws IOException, AutomationException
patch
- The patch (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception._WKSPoint getPatchTextureVertex(int patch, int index) throws IOException, AutomationException
patch
- The patch (in)index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPatchVertexID(int patch, int index) throws IOException, AutomationException
patch
- The patch (in)index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMaterialColor(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMaterialTransparencyPercent(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isMaterialCullBackface(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isMaterialTextured(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMaterialTextureRowCount(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMaterialTextureColumnCount(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMaterialTextureBytesPerPixel(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMaterialTexturePixelColor(int index, int row, int column) throws IOException, AutomationException
index
- The index (in)row
- The row (in)column
- The column (in)
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 |