brickSettingDidChange (brick) {
    let brickIndex = this._bricks.indexOf(brick)
    if (brickIndex === -1) {
      // encoder is not part of pipe
      // ignore this event
      return
    }

    let brickMeta = this._brickMeta[brickIndex]

    // increment brick settings version
    brickMeta.settingsVersion++

    if (brick instanceof Encoder) {
      // trigger encode or decode depending on last translation direction
      let isEncode = brickMeta.direction !== false
      this.triggerEncoderTranslation(brick, isEncode)
    } else {
      this.triggerViewerView(brick)
    }
  }
/**
   * Delegate method triggered by child Bricks if their settings changed.
   * @protected
   * @param {Encoder} brick Sender
   */
Delegate method triggered by child Bricks if their settings changed.
@protected
@param {Encoder} brick Sender
Delegate method triggered by child Bricks if their settings changed . @protected @param { Encoder } brick Sender
brickSettingDidChange (brick) {
    let brickIndex = this._bricks.indexOf(brick)
    if (brickIndex === -1) {
      return
    }
    let brickMeta = this._brickMeta[brickIndex]
    brickMeta.settingsVersion++
    if (brick instanceof Encoder) {
      let isEncode = brickMeta.direction !== false
      this.triggerEncoderTranslation(brick, isEncode)
    } else {
      this.triggerViewerView(brick)
    }
  }
brickSettingDidChange ( brick ) { let brickIndex = this . _bricks . indexOf ( brick ) if ( brickIndex === - 1 ) { return } let brickMeta = this . _brickMeta [ brickIndex ] brickMeta . settingsVersion ++ if ( brick instanceof Encoder ) { let isEncode = brickMeta . direction !== false this . triggerEncoderTranslation ( brick , isEncode ) } else { this . triggerViewerView ( brick ) } }
Delegate method triggered by child Bricks if their settings changed.
Delegate method triggered by child Bricks if their settings changed .
// encoder is not part of pipe // ignore this event // increment brick settings version // trigger encode or decode depending on last translation direction