AGI Components with Insight3D Alpha 2008 r8
IAgGxPrimitiveMarker Interface
Library ReferenceAGI.Graphics.Scene3DIAgGxPrimitiveMarker
The Marker Primitive render a texture that always faces the user. The Marker is position is defined in 3-space but it remains a constaint pixel size.
Declaration Syntax
C# Visual Basic Visual C++
public 
interface 
IAgGxPrimitiveMarker
Public 
Interface 
IAgGxPrimitiveMarker
public 
interface class 
IAgGxPrimitiveMarker
Members
All Members Methods Properties



Icon Member Description
CentralBody
Prototype. Will be removed after alpha.

Color
The color for the marker. This is multiplied with the color of the texture.

HorizontalOrigin
The horizontal point of origin for the marker (left, center or right). The default is center.

ID
Prototype. Will be removed after alpha.

InitializeCartographicFromTexture2D(IAgGxCentralBody, Double, Double, Double, IAgGxRendererTexture2D, Int32)
Initializes a marker using a 2D Texture object. Latitude and Longitude are in radians and altitude is in meters.

InitializeFromTexture2D(IAgGxCentralBody, AgGxReferenceFrame, Double, Double, Double, IAgGxRendererTexture2D, Int32)
Initializes a marker using a 2D Texture object.

OffDistance
The maximum distance, in meters, the marker should be from the viewer for the marker to be displayed. At distances beyond this, the marker is not displayed. The default is 1.0e12 meters. The OnDistance and OffDistance define the interval when a marker is di???

OnDistance
The minimum distance, in meters, the marker should be from the viewer for the marker to be displayed. The default is zero, so the marker will not disappear because the viewer moves closer to it. The OnDistance and OffDistance define the interval when a marke???

OnPreAdd(Int32, IAgGxSceneManager)
Prototype. Will be removed after alpha.

OnRemove () () ()
Prototype. Will be removed after alpha.

PixelSize
The size of the marker in pixels. If the marker is not square, this is the size of the longer size. Note that markers did not resize as the window size is changed.

Position
Returns the cartesian position of a marker in it's reference frame.

Rotation
The marker's rotation. The rotation is counterclockwise and defined in radians. The default is zero.

SetFromTexture2D(IAgGxRendererTexture2D)
Sets the marker's texture using a 2D Texture object.

SetPosition(Double, Double, Double)
Sets the cartesian position of a marker in it's reference frame.

SetPositionCartographic(Double, Double, Double)
Sets the position of a marker using LLA in radians/meters. This is a helper method that wraps SetPosition().

VerticalOrigin
The vertical point of origin for the marker (top, center or bottom). The default is center.

Assembly: AGI.Graphics.Scene3D.Interop(Module: AGI.Graphics.Scene3D.Interop) Version: 9.0.0.0 (9.0.0.0)