BNBDepthMap

Objective-C

@interface BNBDepthMap : NSObject
- (nonnull instancetype)initWithDepthData:(nonnull NSData *)depthData
                            depthMapWidth:(int32_t)depthMapWidth
                           depthMapHeight:(int32_t)depthMapHeight;
+ (nonnull instancetype)depthMapWithDepthData:(nonnull NSData *)depthData
                                depthMapWidth:(int32_t)depthMapWidth
                               depthMapHeight:(int32_t)depthMapHeight;

@property (nonatomic, readonly, nonnull) NSData * depthData;

@property (nonatomic, readonly) int32_t depthMapWidth;

@property (nonatomic, readonly) int32_t depthMapHeight;

@end

Swift

class BNBDepthMap : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDepthData:(nonnull NSData *)depthData
                                depthMapWidth:(int32_t)depthMapWidth
                               depthMapHeight:(int32_t)depthMapHeight;

    Swift

    init(depthData: Data, depthMapWidth: Int32, depthMapHeight: Int32)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)depthMapWithDepthData:(nonnull NSData *)depthData
                                    depthMapWidth:(int32_t)depthMapWidth
                                   depthMapHeight:(int32_t)depthMapHeight;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSData * depthData

    Swift

    var depthData: Data { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) int32_t depthMapWidth

    Swift

    var depthMapWidth: Int32 { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) int32_t depthMapHeight

    Swift

    var depthMapHeight: Int32 { get }