AGI STK Graphics 11 Send comments on this topic.
IAgStkGraphicsPixelSizeDisplayConditionFactory Interface

Description

Defines an inclusive interval, in pixels, that determines when an object, such as a primitive, is rendered based on the number of pixels the object's bounding sphere (or in the case of screen overlays, bounding rectangle) covers on the screen. This is commonly used to implement level of detail algorithms that take into account the field of view.

Object Model

Public Methods

Public Method Initialize Initializes a default pixel size display condition. Minimum Pixel Size is set to 0 and Maximum Pixel Size is set to Int32.MaxValue. With this interval, an object is always rendered regardless of how many pixels its bounding sphere or rectangle covers.
Public Method InitializeWithPixelSizes Initializes a pixel size display condition with the inclusive interval [minimumPixelSize, maximumPixelSize]. When this display condition is assigned to an object, such as a primitive, the object is only rendered when the number of pixels consumed by the object's bounding sphere, projected onto the screen, (or in the case of screen overlays, the area of its bounding rectangle) is within the interval.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1