BNBTransformableEvent

Objective-C

@interface BNBTransformableEvent : NSObject
- (nonnull instancetype)initWithBasisTransform:(nonnull NSArray<NSNumber *> *)basisTransform
                                       fullRoi:(nonnull BNBPixelRect *)fullRoi;
+ (nonnull instancetype)transformableEventWithBasisTransform:(nonnull NSArray<NSNumber *> *)basisTransform
                                                     fullRoi:(nonnull BNBPixelRect *)fullRoi;

/** (common -> some event data basis) transformation */
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> * basisTransform;

/** rectangle area in common basis that encloses all valid & usable data */
@property (nonatomic, readonly, nonnull) BNBPixelRect * fullRoi;

@end

Swift

class BNBTransformableEvent : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithBasisTransform:(nonnull NSArray<NSNumber *> *)basisTransform
                                           fullRoi:(nonnull BNBPixelRect *)fullRoi;

    Swift

    init(basisTransform: [NSNumber], fullRoi: BNBPixelRect)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)transformableEventWithBasisTransform:(nonnull NSArray<NSNumber *> *)basisTransform
                                                         fullRoi:(nonnull BNBPixelRect *)fullRoi;
  • (common -> some event data basis) transformation

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *basisTransform;

    Swift

    var basisTransform: [NSNumber] { get }
  • rectangle area in common basis that encloses all valid & usable data

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) BNBPixelRect *fullRoi;

    Swift

    var fullRoi: BNBPixelRect { get }