AGI STK Objects 11 Send comments on this topic.
IAgVOModel Interface
Windows






Windows & Linux

Description

AgVOModel used to access the 3D model attributes.

Object Model




Public Properties

Public Property ArticulationArticulation property.
Public Property DetailThresholdDetailThreshold attributes.
Public Property ModelDataModelData property.
Public Property ModelTypeModelType property. A member of the AgEModelType enumeration.
Public Property ScaleValueSpecify the absolute scaling value for the object. The model scale is an exponential scale. Dimensionless.
Public Property VisibleDisplay one or several models in the 3D Graphics window.

Example

Configure 3D model file
[C#]Copy Code
// Set new ModelFile.Filename 
model.ModelType = AgEModelType.eModelFile; 
IAgVOModelFile modelFile = model.ModelData as IAgVOModelFile; 
modelFile.Filename = @"\STKData\VO\Models\Space\alexis.mdl"
 
// Configure basic settings 
model.Visible = true
model.ScaleValue = 4.800
 

Configure 3D model file
[Visual Basic .NET]Copy Code
' Set new ModelFile.Filename
model.ModelType = AgEModelType.eModelFile
Dim modelFile As IAgVOModelFile = TryCast(model.ModelData, IAgVOModelFile)
modelFile.Filename = "\STKData\VO\Models\Space\alexis.mdl"

' Configure basic settings
model.Visible = True
model.ScaleValue = 4.8

CoClasses that Implement IAgVOModel

© 2018 Analytical Graphics, Inc. All Rights Reserved.