File size: 5,014 Bytes
7c7ac7e 0aa0f24 7c7ac7e | 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 | <!doctype html>
<html lang="ko" data-viewer-data="./data/graphs"><meta name="referrer" content="no-referrer"><script>// Private Hugging Face Static Spaces authenticate each URL independently.
// Keep their short-lived signature on same-origin resources and navigation only.
(() => {
'use strict';
const signature = new URL(location.href).searchParams.get('__sign');
if (!signature) return;
function signed(value) {
if (!value) return value;
try {
const url = new URL(value, document.baseURI);
if (url.origin !== location.origin || !/^https?:$/.test(url.protocol)) return value;
if (url.searchParams.get('__sign') === signature) return value;
url.searchParams.set('__sign', signature);
return url.href;
} catch (_) { return value; }
}
function update(element) {
if (element.nodeType !== 1) return;
for (const name of ['src', 'href', 'poster']) {
const value = element.getAttribute(name);
if (value) {
const replacement = signed(value);
if (replacement !== value) element.setAttribute(name, replacement);
}
}
}
const observer = new MutationObserver(records => {
for (const record of records) {
if (record.type === 'attributes') update(record.target);
for (const node of record.addedNodes) {
update(node);
if (node.querySelectorAll) node.querySelectorAll('[src],[href],[poster]').forEach(update);
}
}
});
observer.observe(document, {subtree: true, childList: true, attributes: true,
attributeFilter: ['src', 'href', 'poster']});
const originalFetch = window.fetch;
if (originalFetch) window.fetch = function(input, init) {
if (typeof input === 'string' || input instanceof URL) input = signed(String(input));
else if (input instanceof Request) input = new Request(signed(input.url), input);
return originalFetch.call(this, input, init);
};
})();
</script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Rollout graph 3D viewer</title>
<link rel="stylesheet" href="./style.css">
<body class="viewer-page">
<header class="site-header"><a class="back-link" href="./captures.html">← 수집 데이터</a><h1>Rollout graph · 3D</h1><span class="muted" id="episode"></span><span class="status unknown" id="episode-status">미확인</span><a class="back-link" href="./results.html">실험 결과 모아보기 →</a></header>
<main class="viewer-layout">
<aside>
<h2>Episode</h2>
<div id="episode-meta" class="muted"></div>
<div id="variant-controls" hidden><h3>그래프 조건</h3><select id="graph-variant" aria-label="그래프 조건"></select><p id="variant-note" class="muted"></p><a id="capture-link" class="back-link">RGB·영상 보기 →</a></div>
<h3>시간</h3>
<div class="row"><strong id="frame-label">준비 중</strong><span class="muted" id="frame-count"></span></div>
<input id="timeline" type="range" min="0" max="0" value="0" aria-label="프레임">
<div class="control"><button id="prev" aria-label="이전 프레임">◀</button><button class="primary" id="play">재생</button><button id="next" aria-label="다음 프레임">▶</button></div>
<h3>표시 좌표계</h3><div class="control" role="group" aria-label="표시 좌표계"><button id="frame-ee" class="primary" aria-pressed="true">EE 상대</button><button id="frame-world" aria-pressed="false">월드 절대</button></div>
<h3>노드</h3><div id="node-filters"></div>
<div id="status-controls" hidden><label for="color-mode">노드 색상</label><select id="color-mode"><option value="object">물체별</option><option value="status">현재 관측 / 추정 / 낮은 신뢰도</option></select><p class="muted">상태 색상: 현재 관측 청록 · 추정 주황 · 낮은 신뢰도 보라</p></div>
<h3>엣지</h3><div id="edge-filters"></div>
<h3>카메라</h3><button id="reset">현재 프레임에 맞추기</button>
<p class="muted">좌클릭 드래그: 회전<br>Shift+드래그 또는 우클릭 드래그: 이동<br>휠: 확대·축소<br>점 클릭: 모델 입력 확인</p>
</aside>
<section class="stage" aria-label="3D 그래프 뷰"><canvas id="scene" aria-label="회전 가능한 3D 그래프"></canvas><div class="hint" id="coordinate-hint">EE 상대 좌표 · 단위 m · X 빨강 / Y 초록 / Z 파랑</div></section>
<aside>
<h2>프레임 요약</h2><div id="summary" class="muted"></div>
<h3>선택한 노드</h3><div id="inspector" class="empty">점 하나를 클릭하세요.</div>
<h3>표현</h3><p class="muted">EE 모드는 저장된 모델 입력 좌표입니다. 월드 모드는 같은 timestep의 TCP pose로 노드 위치를 변환합니다. F5와 edge_attr은 원래 모델 입력인 EE 기준 그대로 표시합니다. 엣지 수는 방향이 있는 입력 기준이며, 그림에서는 왕복 엣지를 한 선으로 겹쳐 그립니다.</p>
</aside>
</main>
<script src="./app.js" defer></script>
</html>
|