OpenFlightModelFormat

Description

sealed class Tinman.AddOns.OpenFlight.OpenFlightModelFormat

Derived from

ModelFormat abstract

Full source code is included in the Tinman 3D SDK download.

A ModelFormat implementation for:
OpenFlight API v22.0 (https://www.presagis.com/en/glossary/detail/openflight/)

The OpenFlightModelFormat is available if any of the following native libraries is present in the search path of the process:

  • 'mgapilib' : dynamic link library

If the OpenFlight API has been installed locally, the libraries can be found there, for example:

c:\Presagis\Suite22\OpenFlight_API_22_0\bin\debug\
c:\Presagis\Suite22\OpenFlight_API_22_0\bin\release\
c:\Presagis\Suite22\OpenFlight_API_22_0\bin_x64\debug\
c:\Presagis\Suite22\OpenFlight_API_22_0\bin_x64\release\

The OpenFlight API binaries are not included in the Tinman 3D SDK. However, an application may choose to bundle and redistribute them, in accordance to the Presagis Software Licence Agreement, which does not require Tinman 3D to be involved in any way.

The ModelFormat.ReadModel method of this file format always returns a OpenFlightModelReader object, which supports the following processing settings:

Public / Constants

Instance


public static readonly attribute Instance → (ModelFormat)

Singleton instance of OpenFlightModelFormat.

The enclosing process must use the MG class to declare that it will be using the OpenFlight API.