AGI STK Graphics 11 Send comments on this topic.
IAgStkGraphicsPrimitiveManager Collection

Description

The primitive manager contains spatial data structures used to efficiently render primitives. Once a primitive is constructed, it must be added to the primitive manager before it will be rendered.

Public Methods

Public Method Add Adds a primitive to the manager. Primitives must be added to the manager to be rendered.
Public Method Clear Removes all primitives from the manager.
Public Method Contains Determines whether the manager contains a primitive.
Public Method Remove Removes a primitive from the manager. The primitive is no longer rendered unless it is added back into the manager.

Public Properties

Public Property Count Gets the number of primitives in the manager.
Public Property PrecisionExponent Gets or sets the exponent used to compute the maximum precision for primitive rendering. For example, a value of -3 indicates the maximum precision of 2^-3, 0.125 m along the x, y, or z axis. The worst case precision, taking into account all axes, is sqrt(3 * (2^-3)^2), 0.2165 m. The default is -2.
Public Property TranslucentPrimitivesSortOrder Gets or sets the sort order for translucent primitives in the primitive manager. This determines a trade-off between rendering speed and quality. It is only recommended to use PrimitivesSortOrderBackToFront when translucent primitives along the same line of sight cause blending artifacts.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1