Programmer’s guide¶
The following guide illustrates the key functionalities of ItalaApi and gives an overview of its usage. For each functionality a code snippet is provided along with a description of the key concept behind it.
Warning
The code is written in a lean and minimal way to keep the focus on the usage without overloading the snippet with checks, exception handling and redundancy. It’s not recommended to ignore these practices in a real coding scenario.
Please refer to the API Reference section for a complete documentation of all classes, methods and data structures available in ItalaApi.
ItalaApi architecture¶
The API is composed of three main parts. The first one is a set of interfaces and classes for device enumeration and image acquisition. It runs above the transport layer, which follows the GenTL standard and it’s also available separately as a GenTL producer in .cti format. The second part is the GenApi implementation itself, used for device configuration. Lastly, a set of utilities is provided to support string conversions, RAII wrapping around Itala modules, defective pixel detection and other useful functionalities.