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





Description

Interface for MTO 3D graphics marker options.

Object Model


Public Methods

Public Method SetMarkerImageFile Method to set the marker image file.

Public Properties

Public Property Angle The angle representing the amount of rotation of the marker. Uses Angle Dimension.
Public Property MarkerData The MarkerData property.
Public Property MarkerType Specify a 3D marker type to represent the object at the specified threshold. A member of the AgEMarkerType enumeration.
Public Property OrientationMode Controls the rotation of the marker.
Public Property PixelSize The pixel size of the marker (markers do not resize as the window size is changed). Dimensionless
Public Property RotateFromNorth Opt whether to set the rotation angle relative to north. (By default, the rotation angle is relative to the screen.)
Public Property XOrigin The horizontal point of origin for the marker (left, center or right).
Public Property YOrigin The vertical point of origin for the marker (top, center or bottom).

Example

Configure MTO track marker
[C#] Copy Code
IAgMtoVOMarker marker = track.Marker; 
marker.PixelSize = 12
marker.OrientationMode = AgEVOMarkerOrientation.eVOMarkerOrientationAngle; 
marker.XOrigin = AgEVOMarkerOriginType.eRight; 
marker.YOrigin = AgEVOMarkerOriginType.eBottom; 
marker.Angle = 1.23
marker.MarkerType = AgEMarkerType.eImageFile; 
marker.SetMarkerImageFile(@"STKData\VO\Markers\Fire.ppm"); 
 

Configure MTO track marker
[Visual Basic .NET] Copy Code
Dim marker As IAgMtoVOMarker = track.Marker
marker.PixelSize = 12
marker.OrientationMode = AgEVOMarkerOrientation.eVOMarkerOrientationAngle
marker.XOrigin = AgEVOMarkerOriginType.eRight
marker.YOrigin = AgEVOMarkerOriginType.eBottom
marker.Angle = 1.23
marker.MarkerType = AgEMarkerType.eImageFile
marker.SetMarkerImageFile("STKData\VO\Markers\Fire.ppm")

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1