Banuba SDK
BNBSegmentationMask.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file was generated by Djinni from scene.djinni
3 
5 #import <Foundation/Foundation.h>
6 @class BNBImage;
7 
8 
9 /**Class, which repesent neural networks segmentation mask texture interface. Subclass of image */
10 
11 #ifndef DJINNI_EXPORT
12  #define DJINNI_EXPORT __attribute__((__visibility__("default")))
13 #endif
14 
16 @interface BNBSegmentationMask : NSObject
17 
18 /**@return segmentation mask type. Can be background, hair, skin, lips, l_eye, r_eye. */
19 - (BNBSegmentationMaskType)getMaskType;
20 
21 /**
22  *set segmentation mask activity flag
23  *@param active (bool): segmentation mask activity flag
24  */
25 - (void)setActive:(BOOL)active;
26 
27 /**@return segmentation mask activity flag (bool). */
28 - (BOOL)isActive;
29 
30 /**@return upcast to base type */
31 - (nullable BNBImage *)asImage;
32 
33 @end
BNBImage
Definition: BNBImage.h:24
BNBSegmentationMask
Definition: BNBSegmentationMask.h:16
DJINNI_EXPORT
#define DJINNI_EXPORT
Class, which repesent neural networks segmentation mask texture interface.
Definition: BNBSegmentationMask.h:12
-[BNBSegmentationMask getMaskType]
BNBSegmentationMaskType getMaskType()
-[BNBSegmentationMask isActive]
BOOL isActive()
BNBSegmentationMaskType.h
-[BNBSegmentationMask asImage]
nullable BNBImage * asImage()