IAgODProvideTrackingDataLib 13Send comments on this topic.
GetObsSet Method (IAgODProvideTrackingData)
See Also
pObsSetColl
Windows





Windows & Linux

Description

This method is called by ODTK to obtain a collection of observations sets to be processed. It must be implemented if you are trying to read tracking data. The method will read the tracking data file, create observation sets, and add them to the collection.

Any number of observation sets may be returned in a given call. If there are no more observation sets, it will return an empty collection. Typically it will return one observation set at a time, or a number of them (how many is purely a matter of convenience for the author). While it is certainly possible to process an entire file at once and return all the observation sets, this practice is not recommended, since some files can get quite large.

Observation sets must be returned in increasing time order. Out of order sets will generate a warning message in the ODTK message viewer and be ignored. If you suspect that your data is out of time order, you may want to read all the observations into an internal data structure within your plugin and sort them before adding them to the collection.

Syntax

[Visual Basic .NET]
Public Function GetObsSet( _
    ByVal pObsSetColl As IAgODObsSetCollection _
) As Integer
[C#]
public int GetObsSet(
    IAgODObsSetCollection pObsSetColl
);
[Managed C++]
public: int GetObsSet(
    IAgODObsSetCollection ^ pObsSetColl
);
[Unmanaged C++]
public: HRESULT GetObsSet(
    IAgODObsSetCollection * pObsSetColl,
    long * pNumObsSet
);
[Java]
public int getObsSet(
    IAgODObsSetCollection pObsSetColl
);
[Python - STK API ]
def GetObsSet(self, pObsSetColl:"IAgODObsSetCollection") -> int:

Parameters

pObsSetColl

See Also

© 2025 Analytical Graphics, Inc. All Rights Reserved.