This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control functions common to all TIN renderers.
Name | Description | |
---|---|---|
CanRender | Indicates if renderer can draw. | |
Copy | Copies the properties of the given renderer. | |
Draw | Draws the TIN. | |
Name | The descriptive name of a renderer. | |
Tin | The TIN associated with the renderer. | |
Visible | Indicates if the renderer is currently visible. |
Classes | Description |
---|---|
LasPointElevationRenderer | LasDataset point renderer component. |
LasUniqueValueRenderer | LAS dataset unique value renderer component. |
TerrainPointUniqueValueRenderer | Terrain point unique value renderer component. |
TinAspectRenderer | TIN aspect renderer component. |
TinBreaklineRenderer | TIN breakline renderer component. |
TinContourRenderer | TIN contour renderer component. |
TinEdgeRenderer | TIN edge renderer component. |
TinElevationRenderer | TIN elevation renderer component. |
TinFaceRenderer | TIN face renderer component. |
TinFaceValueRenderer | TIN face value renderer component. |
TinNodeElevationRenderer | TIN node elevation renderer component. |
TinNodeRenderer | TIN node renderer component. |
TinNodeValueRenderer | TIN node value renderer component. |
TinSlopeRenderer | TIN slope renderer component. |
This interface is implemented by all ten TIN renderers at ArcGIS 9.0. It provides the basic info for a specific TIN renderer. The following sample VBA code shows a way to query a TIN renderer's name and visibility properties in ArcMap:
Sub ShowTinRenderer()
Dim pDoc As IMxDocument: Set pDoc = ThisDocument
Dim pMap As IMap: Set pMap = pDoc.Maps.Item(0) 'assuming we're working on the first map
Dim pTinLyr As ITinLayer: Set pTinLyr = pMap.Layer(0) 'assuming the first layer is a TIN layer
Dim i As Integer
For i = 0 To pTinLyr.RendererCount - 1
Dim pTinRenderer As ITinRenderer
Set pTinRenderer = pTinLyr.GetRenderer(i)
Debug.Print pTinRenderer.Name, pTinRenderer.Visible
Next i
End Sub
A TIN layer can have one of more TIN renderers. When you load a TIN dataset into an application, two default TIN renderers are added. Depending on applications, the two default TIN renderers vary. In ArcMap, the two default TIN renderers are Edge Type and Elevation renderers. In ArcScene, they're Edge Type and Faces.
The order of TIN renderers in the application has an effect on how the TIN is drawn. In ArcMap, the effect is the same as that in the the TOC in general; higher ones get drawn on top of the lower ones. In ArcScene, rendering conflict may arise if multiple renderers are drawn simultaneously (especially with face renderers) and that should be avoided.