15 #ifndef __IPSDKIMAGEPROCESSING_KERNELATTRIBUTEHDRMACROS_H__ 16 #define __IPSDKIMAGEPROCESSING_KERNELATTRIBUTEHDRMACROS_H__ 19 #include <IPSDKImageProcessing/Attribute/Kernel/KernelXY/BaseMandatoryKernelXYAttribute.h> 20 #include <IPSDKImageProcessing/Attribute/Kernel/KernelXY/BaseOptionalKernelXYAttribute.h> 21 #include <IPSDKImageProcessing/Attribute/Kernel/KernelXYZ/BaseMandatoryKernelXYZAttribute.h> 22 #include <IPSDKImageProcessing/Attribute/Kernel/KernelXYZ/BaseOptionalKernelXYZAttribute.h> 30 #define IPSDK_DECLARE_KERNEL_ATTRIBUTE_BODY(libraryName, className, baseClassName, RuleString) \ 31 IPSDK_DECLARE_SERIAL_WITHOUT_COPY(libraryName, className); \ 32 IPSDK_DECLARE_TOOLTIP(); \ 33 IPSDK_DECLARE_ATTRIBUTE_BASE_BODY(libraryName, className, RuleString); \ 35 typedef baseClassName BaseKernelAttributeClassType; \ 40 void init(const StorageType& pKernel); 44 #define IPSDK_DECLARE_KERNEL_ATTRIBUTE(libraryName, className, baseClassName, RuleString) \ 45 class IPSDK_LIB_API(libraryName) className : public baseClassName { \ 46 IPSDK_DECLARE_KERNEL_ATTRIBUTE_BODY(libraryName, className, baseClassName, RuleString) \ 55 #define IPSDK_DECLARE_INPUT_KERNEL_XY_ATTRIBUTE(libraryName, className, RuleString) \ 56 IPSDK_DECLARE_KERNEL_ATTRIBUTE(libraryName, className, \ 57 ipsdk::imaproc::BaseMandatoryKernelXYAttribute, \ 62 #define IPSDK_DECLARE_INPUT_KERNEL_XYZ_ATTRIBUTE(libraryName, className, RuleString) \ 63 IPSDK_DECLARE_KERNEL_ATTRIBUTE(libraryName, className, \ 64 ipsdk::imaproc::BaseMandatoryKernelXYZAttribute, \ 73 #define IPSDK_DECLARE_INPUT_OPTIONAL_KERNEL_XY_ATTRIBUTE(libraryName, className, RuleString) \ 74 IPSDK_DECLARE_KERNEL_ATTRIBUTE(libraryName, className, \ 75 ipsdk::imaproc::BaseOptionalKernelXYAttribute, \ 80 #define IPSDK_DECLARE_INPUT_OPTIONAL_KERNEL_XYZ_ATTRIBUTE(libraryName, className, RuleString) \ 81 IPSDK_DECLARE_KERNEL_ATTRIBUTE(libraryName, className, \ 82 ipsdk::imaproc::BaseOptionalKernelXYZAttribute, \ 88 #endif // __IPSDKIMAGEPROCESSING_KERNELATTRIBUTEHDRMACROS_H__ Header part of macros set for attribute class declaration.
Operators used to enable rules on kernels.