IC Imaging Control C++

IFrameFilter::getFilterInfo Method

IFrameFilter::getFilterInfo Method

This method returns a FilterInfo structure, containing information about the name of the filter and the directory from which it was loaded.
FilterInfo getFilterInfo() const;
Return Value:

A FilterInfo structure filled with the filter's name, module and filter class.


The following example prints information about the filters in a filter chain to the console. The information is retrieved using the getFilterInfo method.

void printFilterList( const tFrameFilterList& filters )
    std::cout << "Filter Chain:" << std::endl;
    for( unsigned int i = 0; i < filters.size(); ++i )
        std::cout << i << ":" << std::endl;
        FilterInfo fi = filters[i]->getFilterInfo();
        std::cout << "Name: " << fi.getFilterName() << std::endl;
        std::cout << "Module: " << fi.getModuleName() << std::endl;
        std::cout << "Path: " << fi.getModulePath() << std::endl;
        std::cout << "Filter class: ";
        switch( fi.getFilterClass() )
        case eFC_GENERIC:
            std::cout << "generic" << std::endl;
        case eFC_INTERNAL:
            std::cout << "internal" << std::endl;
            std::cout << "unknown" << std::endl;
    std::cout << std::endl;
See also: IFrameFilter, IFrameFilter::getAvailableParameters

<< IFrameFilter

Get in touch with us

About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us