STK Graphics PrimitivesSend comments on this topic.
IAgStkGraphicsPrimitiveManager Interface

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 AddAdds a primitive to the manager. Primitives must be added to the manager to be rendered.
Public Method ClearRemoves all primitives from the manager.
Public Method ContainsDetermines whether the manager contains a primitive.
Public Method RemoveRemoves a primitive from the manager. The primitive is no longer rendered unless it is added back into the manager.

Public Properties

Public Property CountGets the number of primitives in the manager.
Public Property PrecisionExponentGets 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 TranslucentPrimitivesSortOrderGets 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

© 2024 Analytical Graphics, Inc. All Rights Reserved.