![]() This base class also implements persistence interfaces that allow TIN renderers to be saved and loaded from disk as part of. TinRenderer implements ITinRenderer, which provides access to properties and methods common to all TIN renderers. TinRenderer abstract class - All TIN renderer classes conceptually inherit from an abstract class called TinRenderer. You can see this abstract class on the Renderers page of the Carto OMD. You can implement your own TIN renderer by implementing all the interfaces implemented by this class.However, when two or more renderers of the same type are added, there can be a conflict, and it is the order in which you add your renderers that resolves this conflict. You can add multiple renderers, even of the same general type - node, edge, and face - to a TIN or Terrain layer's renderer collection. For TerrainLayers, use the ITerrainLayer interface. Accessing TIN renderers - A TinLayer keeps a collection of TIN renderers, and you can access them using ITinLayer.All raster renderers also expose display properties and methods through IDisplayAdmin and IRasterDisplayProps. Although ILegendInfo is also implemented by most layer classes, layers typically defer all methods and properties to the renderer's implementation. For example, if working with RasterUniqueValueRenderer, use IRasterUniqueValueRenderer.Symbol, or if using RasterStretchColorRampRenderer, use IRasterStretchColorRampRenderer.ColorRamp. #Source engine sdk renderer class code#However, when writing client code that works with a raster renderer, it is best practice to access and change a renderer's symbols using the interface specific to the renderer you're using. Raster renderers implement ILegendInfo, which provides access to a renderer's legend information and symbols.Įsri raster renderers typically store the symbols they use to draw raster data in LegendClass objects that can be accessed via ILegendInfo. This base class also implements persistence interfaces that allow raster renderers to be saved and loaded from disk as part of. RasterRenderer implements IRasterRenderer, which provides access to properties and methods common to all raster renderers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |