HInfo.h 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /***********************************************************
  2. * File generated by the HALCON-Compiler hcomp version 20.11
  3. * Usage: Interface to C++
  4. *
  5. * Software by: MVTec Software GmbH, www.mvtec.com
  6. ***********************************************************/
  7. #ifndef HCPP_HINFO
  8. #define HCPP_HINFO
  9. namespace HalconCpp
  10. {
  11. // Class grouping system information related functionality.
  12. class LIntExport HInfo
  13. {
  14. public:
  15. /***************************************************************************
  16. * Operators *
  17. ***************************************************************************/
  18. // Query slots concerning information with relation to the operator get_operator_info.
  19. static HTuple QueryOperatorInfo();
  20. // Query slots of the online-information concerning the operator get_param_info.
  21. static HTuple QueryParamInfo();
  22. // Get operators with the given string as a substring of their name.
  23. static HTuple GetOperatorName(const HString& Pattern);
  24. // Get operators with the given string as a substring of their name.
  25. static HTuple GetOperatorName(const char* Pattern);
  26. #ifdef _WIN32
  27. // Get operators with the given string as a substring of their name.
  28. static HTuple GetOperatorName(const wchar_t* Pattern);
  29. #endif
  30. // Get default data type for the control parameters of a HALCON-operator.
  31. static HTuple GetParamTypes(const HString& OperatorName, HTuple* OutpCtrlParType);
  32. // Get default data type for the control parameters of a HALCON-operator.
  33. static HTuple GetParamTypes(const char* OperatorName, HTuple* OutpCtrlParType);
  34. #ifdef _WIN32
  35. // Get default data type for the control parameters of a HALCON-operator.
  36. static HTuple GetParamTypes(const wchar_t* OperatorName, HTuple* OutpCtrlParType);
  37. #endif
  38. // Get number of the different parameter classes of a HALCON-operator.
  39. static HString GetParamNum(const HString& OperatorName, Hlong* InpObjPar, Hlong* OutpObjPar, Hlong* InpCtrlPar, Hlong* OutpCtrlPar, HString* Type);
  40. // Get number of the different parameter classes of a HALCON-operator.
  41. static HString GetParamNum(const char* OperatorName, Hlong* InpObjPar, Hlong* OutpObjPar, Hlong* InpCtrlPar, Hlong* OutpCtrlPar, HString* Type);
  42. #ifdef _WIN32
  43. // Get number of the different parameter classes of a HALCON-operator.
  44. static HString GetParamNum(const wchar_t* OperatorName, Hlong* InpObjPar, Hlong* OutpObjPar, Hlong* InpCtrlPar, Hlong* OutpCtrlPar, HString* Type);
  45. #endif
  46. // Get the names of the parameters of a HALCON-operator.
  47. static HTuple GetParamNames(const HString& OperatorName, HTuple* OutpObjPar, HTuple* InpCtrlPar, HTuple* OutpCtrlPar);
  48. // Get the names of the parameters of a HALCON-operator.
  49. static HTuple GetParamNames(const char* OperatorName, HTuple* OutpObjPar, HTuple* InpCtrlPar, HTuple* OutpCtrlPar);
  50. #ifdef _WIN32
  51. // Get the names of the parameters of a HALCON-operator.
  52. static HTuple GetParamNames(const wchar_t* OperatorName, HTuple* OutpObjPar, HTuple* InpCtrlPar, HTuple* OutpCtrlPar);
  53. #endif
  54. // Get information concerning a HALCON-operator.
  55. static HTuple GetOperatorInfo(const HString& OperatorName, const HString& Slot);
  56. // Get information concerning a HALCON-operator.
  57. static HTuple GetOperatorInfo(const char* OperatorName, const char* Slot);
  58. #ifdef _WIN32
  59. // Get information concerning a HALCON-operator.
  60. static HTuple GetOperatorInfo(const wchar_t* OperatorName, const wchar_t* Slot);
  61. #endif
  62. // Get information concerning the operator parameters.
  63. static HTuple GetParamInfo(const HString& OperatorName, const HString& ParamName, const HString& Slot);
  64. // Get information concerning the operator parameters.
  65. static HTuple GetParamInfo(const char* OperatorName, const char* ParamName, const char* Slot);
  66. #ifdef _WIN32
  67. // Get information concerning the operator parameters.
  68. static HTuple GetParamInfo(const wchar_t* OperatorName, const wchar_t* ParamName, const wchar_t* Slot);
  69. #endif
  70. // Search names of all operators assigned to one keyword.
  71. static HTuple SearchOperator(const HString& Keyword);
  72. // Search names of all operators assigned to one keyword.
  73. static HTuple SearchOperator(const char* Keyword);
  74. #ifdef _WIN32
  75. // Search names of all operators assigned to one keyword.
  76. static HTuple SearchOperator(const wchar_t* Keyword);
  77. #endif
  78. // Get keywords which are assigned to operators.
  79. static HTuple GetKeywords(const HString& OperatorName);
  80. // Get keywords which are assigned to operators.
  81. static HTuple GetKeywords(const char* OperatorName);
  82. #ifdef _WIN32
  83. // Get keywords which are assigned to operators.
  84. static HTuple GetKeywords(const wchar_t* OperatorName);
  85. #endif
  86. // Get information concerning the chapters on operators.
  87. static HTuple GetChapterInfo(const HTuple& Chapter);
  88. // Get information concerning the chapters on operators.
  89. static HTuple GetChapterInfo(const HString& Chapter);
  90. // Get information concerning the chapters on operators.
  91. static HTuple GetChapterInfo(const char* Chapter);
  92. #ifdef _WIN32
  93. // Get information concerning the chapters on operators.
  94. static HTuple GetChapterInfo(const wchar_t* Chapter);
  95. #endif
  96. // Query all available window types.
  97. static HTuple QueryWindowType();
  98. // Get the output treatment of an image matrix.
  99. static HString GetComprise(const HWindow& WindowHandle);
  100. // Query the region display modes.
  101. static HTuple QueryShape();
  102. // Query the possible line widths.
  103. static void QueryLineWidth(Hlong* Min, Hlong* Max);
  104. // Query the number of colors for color output.
  105. static HTuple QueryColored();
  106. // Query information about the specified image acquisition interface.
  107. static HString InfoFramegrabber(const HString& Name, const HString& Query, HTuple* ValueList);
  108. // Query information about the specified image acquisition interface.
  109. static HString InfoFramegrabber(const char* Name, const char* Query, HTuple* ValueList);
  110. #ifdef _WIN32
  111. // Query information about the specified image acquisition interface.
  112. static HString InfoFramegrabber(const wchar_t* Name, const wchar_t* Query, HTuple* ValueList);
  113. #endif
  114. };
  115. }
  116. #endif