5.5.4   HGetCElemH1, HGetCElemH, HGetCElemHN

HGetCElemH1 retrieves a single handle from an input parameter. HGetCElemH retrieves all handles from an input parameter. HGetCElemHN retrieves a given number N of handles from an input parameter. The returned array contains pointers to the data stored in the handles. It is freed automatically when the operator finishes.

Names

    HGetCElemH1, HGetCElemH, HGetCElemHN

Synopsis

    #include "Halcon.h"

    HGetCElemH1(    Hproc_handle             proc_handle,
                    int                      par,
                    H_HANDLE_TYPE const     *htype,
                    Hphandle                 elem)

    HGetCElemH(     Hproc_handle             proc_handle,
                    int                      par,
                    H_HANDLE_TYPE const      *htype,
                    Hphandle                 elem,
                    INT4_8                   *num)

    HGetCElemHN(    Hproc_handle             proc_handle,
                    int                      par,
                    H_HANDLE_TYPE const      *htype,
                    INT4_8                   num,
                    Hphandle                 elem)

Figure 5.28: Routines for reading handles by copy.