All files / tools/ReFlex.TrackingServer/ClientApp/src/app/processing/interactions interactions.component.html

100% Statements 157/157
57.14% Branches 8/14
100% Functions 0/0
100% Lines 78/78

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 1195x   12x         5x   5x       5x 5x 5x 5x 5x 5x 5x 5x     5x 12x 1x 2x 1x 2x     1x 2x 2x 2x 2x 2x 1x 2x 1x     5x     5x       5x 5x 5x 5x 5x 5x 5x 5x     5x 12x 1x 2x 1x 2x     1x 2x 2x 2x 2x 2x 1x 2x 1x     5x     5x       5x 5x 5x 5x 5x 5x 5x 5x     5x 12x 1x 2x 1x 2x     1x 2x 2x 2x 2x 2x 1x 2x 1x     5x        
<div
  class="content"
  [ngStyle]="{
    visibility: interactions.raw.length > 0 ? 'visible' : 'collapse'
  }"
>
  <div class="content__header">
    <h2 class="heading-secondary">List of Interactions</h2>
  </div>
  <div class="interactions__list">
    <table class="interactions__table">
      <thead class="interactions__table--head">
        <tr>
          <th scope="col" class="narrowCell">Id</th>
          <th scope="col" class="wideCell">Position</th>
          <th scope="col" class="narrowCell">Valid</th>
          <th scope="col" class="narrowCell">Filtered</th>
          <th scope="col" class="narrowCell">Confidence</th>
          <th scope="col">Time</th>
          <th scope="col" class="narrowCell">Type</th>
          <th scope="col" class="narrowCell">%</th>
        </tr>
      </thead>
      <tbody class="interactions__table--body">
        @for (interaction of this.interactions.raw; track interaction) {
        <tr>
          <td>{{ interaction.touchId }}</td>
          <td>
            [ {{ interaction.position.x.toFixed(2) }} |
            {{ interaction.position.y.toFixed(2) }} |
            {{ interaction.position.z.toFixed(2) }} ]
          </td>
          <td>{{ interaction.position.isValid ? "X" : "" }}</td>
          <td>{{ interaction.position.isFiltered ? "X" : "" }}</td>
          <td>{{ interaction.confidence.toFixed(0) }}</td>
          <td>{{ getTime(interaction.time) }}</td>
          <td>{{ interaction.extremumDescription.type }}</td>
          <td>
            {{ interaction.extremumDescription.percentageFittingPoints * 100 }}
          </td>
        </tr>
        }
      </tbody>
    </table>
  </div>
  <div class="interactions__list">
    <table class="interactions__table">
      <thead class="interactions__table--head">
        <tr>
          <th scope="col" class="narrowCell">Id</th>
          <th scope="col" class="wideCell">Position</th>
          <th scope="col" class="narrowCell">Valid</th>
          <th scope="col" class="narrowCell">Filtered</th>
          <th scope="col" class="narrowCell">Confidence</th>
          <th scope="col">Time</th>
          <th scope="col" class="narrowCell">Type</th>
          <th scope="col" class="narrowCell">%</th>
        </tr>
      </thead>
      <tbody class="interactions__table--body">
        @for (interaction of this.interactions.normalized; track interaction) {
        <tr>
          <td>{{ interaction.touchId }}</td>
          <td>
            [ {{ interaction.position.x.toFixed(2) }} |
            {{ interaction.position.y.toFixed(2) }} |
            {{ interaction.position.z.toFixed(2) }} ]
          </td>
          <td>{{ interaction.position.isValid ? "X" : "" }}</td>
          <td>{{ interaction.position.isFiltered ? "X" : "" }}</td>
          <td>{{ interaction.confidence.toFixed(0) }}</td>
          <td>{{ getTime(interaction.time) }}</td>
          <td>{{ interaction.extremumDescription.type }}</td>
          <td>
            {{ interaction.extremumDescription.percentageFittingPoints * 100 }}
          </td>
        </tr>
        }
      </tbody>
    </table>
  </div>
  <div class="interactions__list">
    <table class="interactions__table">
      <thead class="interactions__table--head">
        <tr>
          <th scope="col" class="narrowCell">Id</th>
          <th scope="col" class="wideCell">Position</th>
          <th scope="col" class="narrowCell">Valid</th>
          <th scope="col" class="narrowCell">Filtered</th>
          <th scope="col" class="narrowCell">Confidence</th>
          <th scope="col">Time</th>
          <th scope="col" class="narrowCell">Type</th>
          <th scope="col" class="narrowCell">%</th>
        </tr>
      </thead>
      <tbody class="interactions__table--body">
        @for (interaction of this.interactions.absolute; track interaction) {
        <tr>
          <td>{{ interaction.touchId }}</td>
          <td>
            [ {{ interaction.position.x.toFixed(2) }} |
            {{ interaction.position.y.toFixed(2) }} |
            {{ interaction.position.z.toFixed(2) }} ]
          </td>
          <td>{{ interaction.position.isValid ? "X" : "" }}</td>
          <td>{{ interaction.position.isFiltered ? "X" : "" }}</td>
          <td>{{ interaction.confidence.toFixed(0) }}</td>
          <td>{{ getTime(interaction.time) }}</td>
          <td>{{ interaction.extremumDescription.type }}</td>
          <td>
            {{ interaction.extremumDescription.percentageFittingPoints * 100 }}
          </td>
        </tr>
        }
      </tbody>
    </table>
  </div>
</div>