STK ObjectsSend comments on this topic.
IAgVODetailThreshold Interface

Description

AgVODetailThreshold used to access the 3D DetailThreshold values.

Public Properties

Public Property AllThe 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 EnableDetailThresholdDetail 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 MarkerThe maximum viewing distance at which a marker representing the object is visible. Uses Distance Dimension.
Public Property MarkerLabelThe maximum viewing distance at which a label and marker representing the object is visible. Uses Distance Dimension.
Public Property ModelLabelThe 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 PointThe maximum viewing distance at which a point representing the object is visible. Uses Distance Dimension.

Example

Configure 3D model level of detail
[C#]
// 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]
' 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 Thresholds Levels
[Python - STK API]
# 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

Modify the Detail Thresholds Levels
[MATLAB]
% 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


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.