AGI STK Objects 11 Send comments on this topic.
IAgVODetailThreshold Interface





Description

AgVODetailThreshold used to access the 3D DetailThreshold values.

Public Properties

Public Property All The maximum viewing distance at which the finest detail in the model, label and vectors, attitude sphere, and geostationary box is displayed. Uses Distance Dimension.
Public Property EnableDetailThreshold Detail thresholds as an aid for improving performance when viewing in 3D. Using these thresholds, the viewer sees varying degrees of detail on the models and graphics in the 3D Graphics window, depending on the distance of the object from the viewer.
Public Property Marker The maximum viewing distance at which a marker representing the object is visible. Uses Distance Dimension.
Public Property MarkerLabel The maximum viewing distance at which a label and marker representing the object is visible. Uses Distance Dimension.
Public Property ModelLabel The maximum viewing distance at which the coarsest detail in the model, label and vectors, attitude sphere, and geostationary box is displayed. Uses Distance Dimension.
Public Property Point The maximum viewing distance at which a point representing the object is visible. Uses Distance Dimension.

Example

Configure 3D model level of detail
[C#] Copy Code
// Configure level of details 
IAgVODetailThreshold detail = model.DetailThreshold; 
detail.EnableDetailThreshold = true
 
// (assuming unit preferences set to km) 
detail.All = 2.51189
detail.ModelLabel = 158489
detail.MarkerLabel = 2.51189e+006
detail.Marker = 2.511e+007
detail.Point = 1e+012
 

Configure 3D model level of detail
[Visual Basic .NET] Copy Code
' Configure level of details
Dim detail As IAgVODetailThreshold = model.DetailThreshold
detail.EnableDetailThreshold = True

' (assuming unit preferences set to km)
detail.All = 2.51189
detail.ModelLabel = 158489
detail.MarkerLabel = 2511890
detail.Marker = 25110000
detail.Point = 1000000000000

Modify the Detail Thersolds Levels
[MATLAB] Copy Code
% IAgSatellite satellite: Satellite object 
details = satellite.VO.Model.DetailThreshold; 
details.EnableDetailThreshold = true; 
details.All = 1;    %   km 
details.ModelLabel = 2; %   km 
details.MarkerLabel = 40000;    %   km 
details.Marker = 500000;    %   km 
details.Point = 500000; %   km 
 
 
© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1