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,CAAA,CAdkB,E","sources":["webpack:///./app/javascript/src/setup/models/tag/base.ts","webpack:///./app/javascript/src/setup/models/tag/info.ts","webpack:///./app/javascript/src/setup/models/tag/point.ts","webpack:///./app/javascript/src/setup/models/tag/move.ts","webpack:///./app/javascript/src/setup/models/tag.ts"],"sourcesContent":["import * as THREE from 'three'\nimport { textToCanvasLabel } from '~/shared/text-to-canvas-text'\n\nexport default class TagBase {\n  index: number\n  userData: any\n  data: any\n  hover: boolean\n  object: THREE.Group\n\n  constructor(data: any = {}) {\n    data.index = data.index ?? -1\n    Object.assign(this, data)\n\n    this.data = data\n    this.hover = false\n\n    this.object = new THREE.Group()\n  }\n\n  createLabelSprite(label, spriteY) {\n    const canvas = textToCanvasLabel(label)\n    const texture = new THREE.CanvasTexture(canvas)\n    texture.minFilter = THREE.LinearFilter\n    texture.magFilter = THREE.LinearFilter\n\n    const spriteX = (canvas.width / canvas.height) * spriteY\n    const material = new THREE.SpriteMaterial({\n      color: 0xffffff,\n      opacity: 0.7,\n      map: texture,\n    })\n    material.userData.texture = texture\n\n    const sprite = new THREE.Sprite(material)\n    sprite.scale.set(spriteX, spriteY, 1)\n\n    return sprite\n  }\n\n  get threeObject() {\n    return this.object\n  }\n\n  // eslint-disable-next-line @typescript-eslint/no-empty-function\n  setColor(color) {}\n\n  hoverOn() {\n    if (!this.hover) {\n      this.hover = true\n    }\n  }\n\n  hoverOff() {\n    if (this.hover) {\n      this.hover = false\n    }\n  }\n\n  isVisible(time) {\n    return true\n  }\n\n  showByTime(time) {\n    this.object.visible = this.isVisible(time)\n  }\n\n  onRay(ray) {\n    return this.object.visible && ray.intersectObject(this.object).length > 0\n  }\n\n  // eslint-disable-next-line @typescript-eslint/no-empty-function\n  dispose() {}\n\n  getVisibilityByContext(panoramaState) {\n    return true\n  }\n}\n","import * as THREE from 'three'\n\nimport TagBase from './base'\n\nexport default class extends TagBase {\n  object: THREE.Group\n  phi: number\n  theta: number\n  show_time?: number\n  hide_time?: number\n  constructor(data = {}) {\n    super(data)\n\n    const phi = THREE.MathUtils.degToRad(this.phi)\n    const theta = THREE.MathUtils.degToRad(this.theta + 180)\n    this.object.position.setFromSpherical(new THREE.Spherical(100, phi, theta))\n    this.object.visible = true\n    this.object.renderOrder = 2\n    this.object.scale.set(1, 1, -1)\n\n    // アイコン\n    this.object.add(this.iconSprite)\n  }\n\n  get tagIconTexture() {\n    const texture = new THREE.TextureLoader().load(this.tagIcon)\n    texture.minFilter = THREE.LinearFilter\n    texture.magFilter = THREE.LinearFilter\n\n    return texture\n  }\n\n  get tagIcon() {\n    return require('@/images/tag_info.png')\n  }\n\n  get iconSprite() {\n    const material = new THREE.SpriteMaterial({ color: 0xffffff, map: this.tagIconTexture })\n\n    const sprite = new THREE.Sprite(material)\n    sprite.scale.set(16, 16, 1)\n\n    return sprite\n  }\n\n  isVisible(time) {\n    const showTime = this.show_time ?? 0\n    const hideTime = this.hide_time ?? Number.MAX_VALUE\n    return showTime <= time && time <= hideTime\n  }\n\n  dispose() {\n    this.iconSprite.material.dispose()\n  }\n\n  getVisibilityByContext(panoramaState) {\n    return !panoramaState.vrMode\n  }\n}\n","import * as THREE from 'three'\n\nimport TagBase from './base'\n\nexport default class extends TagBase {\n  object: THREE.Group\n  phi: number\n  theta: number\n  show_time?: number\n  hide_time?: number\n  labelSprite: THREE.Sprite\n  label: string\n  constructor(data = {}) {\n    super(data)\n\n    const phi = THREE.MathUtils.degToRad(this.phi)\n    const theta = THREE.MathUtils.degToRad(this.theta + 180)\n    this.object.position.setFromSpherical(new THREE.Spherical(100, phi, theta))\n    this.object.visible = true\n    this.object.renderOrder = 2\n    this.object.scale.set(1, 1, -1)\n\n    // ラベル\n    this.labelSprite = this.createLabelSprite(this.label, 8)\n\n    // エアタグラベルをエアタグアイコンの上に設置\n    // パノラマと同等の方式だとうまくいかない\n    this.labelSprite.position.setY(17)\n    this.object.add(this.labelSprite)\n\n    // アイコン\n    this.object.add(this.iconSprite)\n  }\n\n  get tagIconTexture() {\n    const texture = new THREE.TextureLoader().load(this.tagIcon)\n    texture.minFilter = THREE.LinearFilter\n    texture.magFilter = THREE.LinearFilter\n\n    return texture\n  }\n\n  get tagIcon() {\n    return require('@/images/tag_point.png')\n  }\n\n  get iconSprite() {\n    const material = new THREE.SpriteMaterial({ color: 0xffffff, map: this.tagIconTexture })\n\n    const sprite = new THREE.Sprite(material)\n    sprite.scale.set(16, 24, 1)\n\n    return sprite\n  }\n\n  isVisible(time) {\n    const showTime = this.show_time ?? 0\n    const hideTime = this.hide_time ?? Number.MAX_VALUE\n    return showTime <= time && time <= hideTime\n  }\n\n  dispose() {\n    this.labelSprite.material.dispose()\n    this.labelSprite.material.userData.texture.dispose()\n\n    this.iconSprite.material.dispose()\n  }\n\n  getVisibilityByContext(panoramaState) {\n    return !panoramaState.vrMode || panoramaState.eyeControlEnable\n  }\n}\n","import * as THREE from 'three'\n\nimport TagBase from './base'\n\nexport default class extends TagBase {\n  object: THREE.Group\n  labelSprite: THREE.Sprite\n  arrowMesh: THREE.Mesh\n\n  hover: boolean\n  data: any\n\n  constructor(data: any = {}) {\n    super(data)\n    const pos = data.pos\n    const deg = data.deg\n\n    this.hover = false\n\n    this.object = new THREE.Group()\n    this.object.position.set(pos.x, pos.y, pos.z)\n\n    if (data.forPanorama ?? false) {\n      this.object.rotation.order = 'YXZ'\n      this.object.lookAt(0, 0, 0)\n      this.object.rotation.x = -Math.PI / 2\n    } else {\n      this.object.rotation.x = Math.PI / 2\n    }\n\n    this.object.rotation.z = THREE.MathUtils.degToRad(deg)\n    this.object.renderOrder = 2\n    this.object.scale.set(1, 1, -1)\n\n    // ラベル\n    this.labelSprite = this.createLabelSprite(data.label, 4)\n\n    // エアタグラベルをエアタグアイコンの上に設置\n    // パノラマと同等の方式だとうまくいかない\n    this.labelSprite.position.setY(17)\n    this.object.add(this.labelSprite)\n\n    // 矢印アイコン\n    const geometry = new THREE.PlaneGeometry(data.arrowSize, data.arrowSize)\n    this.arrowMesh = new THREE.Mesh(geometry, this.arrowMaterial)\n\n    this.object.add(this.arrowMesh)\n  }\n\n  get arrowMaterial() {\n    return new THREE.MeshBasicMaterial({\n      side: THREE.DoubleSide,\n      transparent: true,\n      alphaTest: 0.9,\n      map: this.tagIconTexture,\n    })\n  }\n\n  get tagIconTexture() {\n    const texture = new THREE.TextureLoader().load(this.tagIcon)\n    texture.minFilter = THREE.LinearFilter\n    texture.magFilter = THREE.LinearFilter\n\n    return texture\n  }\n\n  get tagIcon() {\n    return require('@/images/move-arrow.png')\n  }\n\n  notifyOnClick(): void {\n    if (this.data.callback) {\n      this.data.callback()\n    }\n  }\n\n  setColor(color) {\n    if (!this.hover) {\n      const arrowMaterial = this.arrowMesh.material as THREE.MeshBasicMaterial\n      arrowMaterial.color = color\n    }\n  }\n\n  hoverOn(): void {\n    if (!this.hover) {\n      this.hover = true\n\n      const labelMaterial = this.labelSprite.material as THREE.SpriteMaterial\n      labelMaterial.color.setHex(0x3ab7d9)\n      labelMaterial.opacity = 1.0\n\n      const arrowMaterial = this.arrowMesh.material as THREE.MeshBasicMaterial\n      arrowMaterial.color.setHex(0x2ab7d9)\n    }\n  }\n\n  hoverOff(): void {\n    if (this.hover) {\n      this.hover = false\n\n      const labelMaterial = this.labelSprite.material as THREE.SpriteMaterial\n      labelMaterial.color.setHex(0xffffff)\n      labelMaterial.opacity = 0.7\n\n      const arrowMaterial = this.arrowMesh.material as THREE.MeshBasicMaterial\n      arrowMaterial.color.setHex(0xffffff)\n    }\n  }\n\n  dispose() {\n    this.labelSprite.material.dispose()\n    this.labelSprite.material.userData.texture.dispose()\n\n    this.arrowMesh.geometry.dispose()\n    const arrowMaterial = this.arrowMesh.material as THREE.MeshBasicMaterial\n    arrowMaterial.dispose()\n  }\n\n  getVisibilityByContext(panoramaState) {\n    return !panoramaState.vrMode || panoramaState.eyeControlEnable\n  }\n}\n","import TagInfo from './tag/info'\nimport TagPoint from './tag/point'\nimport TagMove from './tag/move'\n\nexport default class {\n  static create(data) {\n    switch (data.type) {\n      case 'info':\n        return new TagInfo(data)\n      case 'point':\n        return new TagPoint(data)\n      case 'move':\n        return new TagMove(data)\n      default:\n        throw new Error(`invalid type: ${data.type}`)\n    }\n  }\n}\n"],"names":["TagBase","_a","data","arguments","length","undefined","_classCallCheck","index","Object","assign","this","hover","object","THREE","key","value","label","spriteY","canvas","textToCanvasLabel","texture","minFilter","magFilter","spriteX","width","height","material","color","opacity","map","userData","sprite","scale","set","get","time","visible","isVisible","ray","intersectObject","panoramaState","_default","_TagBase","_inherits","_super","_this","call","phi","degToRad","theta","position","setFromSpherical","renderOrder","add","iconSprite","load","tagIcon","require","tagIconTexture","_b","showTime","show_time","hideTime","hide_time","Number","MAX_VALUE","dispose","vrMode","labelSprite","createLabelSprite","setY","eyeControlEnable","pos","deg","x","y","z","forPanorama","rotation","order","lookAt","Math","PI","geometry","arrowSize","arrowMesh","arrowMaterial","side","transparent","alphaTest","callback","labelMaterial","setHex","type","TagInfo","TagPoint","TagMove","Error","concat"],"sourceRoot":""}