STK ObjectsSend comments on this topic.
IAgMtoVOMarker Interface

Description

Interface for MTO 3D graphics marker options.

Public Methods

Public Method SetMarkerImageFileSet the marker image file.

Public Properties

Public Property AngleThe angle representing the amount of rotation of the marker. Uses Angle Dimension.
Public Property MarkerDataThe MarkerData property.
Public Property MarkerTypeSpecify a 3D marker type to represent the object at the specified threshold. A member of the AgEMarkerType enumeration.
Public Property OrientationModeControls the rotation of the marker.
Public Property PixelSizeThe pixel size of the marker (markers do not resize as the window size is changed). Dimensionless.
Public Property RotateFromNorthOpt whether to set the rotation angle relative to north. (By default, the rotation angle is relative to the screen.).
Public Property XOriginThe horizontal point of origin for the marker (left, center or right).
Public Property YOriginThe vertical point of origin for the marker (top, center or bottom).

Example

Configure MTO track marker
[C#]
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]
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")
© 2024 Analytical Graphics, Inc. All Rights Reserved.