перевел то тут то там на русский

This commit is contained in:
Georgy Shive 2025-05-15 14:46:22 +07:00
parent c53cf7f7e6
commit ae7cba26ce
41 changed files with 1174 additions and 1607 deletions

View File

@ -51,7 +51,7 @@
Point cloud courtesy of <a href="http://www.helimap.com/">Helimap System SA</a>. Images were downsized for this online demo; Original size is 8000x400.`);
viewer.loadGUI(() => {
viewer.setLanguage('en');
viewer.setLanguage('ru');
$("#menu_appearance").next().show();
viewer.toggleSidebar();
});

View File

@ -51,7 +51,7 @@
viewer.setDescription("");
viewer.loadGUI(() => {
viewer.setLanguage('en');
viewer.setLanguage('ru');
$("#menu_appearance").next().show();
viewer.toggleSidebar();
});

View File

@ -82,7 +82,7 @@
potreeViewer.setDescription("");
potreeViewer.loadGUI(() => {
potreeViewer.setLanguage('en');
potreeViewer.setLanguage('ru');
$("#menu_appearance").next().show();
$("#menu_tools").next().show();
$("#menu_scene").next().show();

View File

@ -49,7 +49,7 @@
viewer.setBackground("skybox");
viewer.loadGUI(() => {
viewer.setLanguage('en');
viewer.setLanguage('ru');
$("#menu_scene").next().show();
viewer.toggleSidebar();
});

View File

@ -50,7 +50,7 @@
viewer.setDescription("");
viewer.loadGUI(() => {
viewer.setLanguage('en');
viewer.setLanguage('ru');
$("#menu_tools").next().show();
viewer.toggleSidebar();
});

View File

@ -53,7 +53,7 @@
viewer.setDescription(`Point cloud courtesy of PG&E and <a href="https://opentopography.org/">Open Topography</a>.`);
viewer.loadGUI().then( () => {
viewer.setLanguage('en');
viewer.setLanguage('ru');
// $("#menu_filters").next().show();
viewer.toggleSidebar();
});

View File

@ -50,7 +50,7 @@
`);
viewer.loadGUI(() => {
viewer.setLanguage('en');
viewer.setLanguage('ru');
$("#menu_scene").next().show();
viewer.toggleSidebar();
});

View File

@ -83,7 +83,7 @@
potreeViewer.setBackground(null);
potreeViewer.loadGUI(() => {
potreeViewer.setLanguage('en');
potreeViewer.setLanguage('ru');
$("#menu_appearance").next().show();
$("#menu_tools").next().show();
$("#menu_scene").next().show();

View File

@ -89,7 +89,7 @@
Point cloud courtesy of <a href="http://riegl.com/" target="_blank">Riegl</a><br>`);
potreeViewer.loadGUI(() => {
potreeViewer.setLanguage('en');
potreeViewer.setLanguage('ru');
$("#menu_appearance").next().show();
$("#menu_tools").next().show();
$("#menu_scene").next().show();

View File

@ -82,7 +82,7 @@
potreeViewer.setBackground(null);
potreeViewer.loadGUI(() => {
potreeViewer.setLanguage('en');
potreeViewer.setLanguage('ru');
$("#menu_appearance").next().show();
//viewer.toggleSidebar();
});

View File

@ -47,7 +47,7 @@
viewer.setDescription("");
viewer.loadGUI(() => {
viewer.setLanguage('en');
viewer.setLanguage('ru');
//$("#menu_appearance").next().show();
$("#menu_tools").next().show();
$("#menu_scene").next().show();

View File

@ -2,447 +2,237 @@
"type": "Potree",
"version": 1.7,
"settings": {
"pointBudget": 1000000,
"fov": 60,
"edlEnabled": true,
"edlRadius": 1.4,
"edlStrength": 0.4,
"background": "gradient",
"minNodeSize": 30,
"showBoundingBoxes": false
"pointBudget": 1000000,
"fov": 60,
"edlEnabled": true,
"edlRadius": 1.4,
"edlStrength": 0.4,
"background": "градиент",
"minNodeSize": 30,
"showBoundingBoxes": false
},
"view": {
"position": [
589974.341,
231698.397,
986.146
],
"target": [
589851.587,
231428.213,
715.634
]
"position": [589974.341, 231698.397, 986.146],
"target": [589851.587, 231428.213, 715.634]
},
"classification": {
"0": {
"visible": true,
"name": "never classified",
"color": [
0.5,
0.5,
0.5,
1
]
},
"1": {
"visible": true,
"name": "unclassified",
"color": [
0.5,
0.5,
0.5,
1
]
},
"2": {
"visible": true,
"name": "ground",
"color": [
0.63,
0.32,
0.18,
1
]
},
"3": {
"visible": true,
"name": "low vegetation",
"color": [
0,
1,
0,
1
]
},
"4": {
"visible": true,
"name": "medium vegetation",
"color": [
0,
0.8,
0,
1
]
},
"5": {
"visible": true,
"name": "high vegetation",
"color": [
0,
0.6,
0,
1
]
},
"6": {
"visible": true,
"name": "building",
"color": [
1,
0.66,
0,
1
]
},
"7": {
"visible": true,
"name": "low point(noise)",
"color": [
1,
0,
1,
1
]
},
"8": {
"visible": true,
"name": "key-point",
"color": [
1,
0,
0,
1
]
},
"9": {
"visible": true,
"name": "water",
"color": [
0,
0,
1,
1
]
},
"12": {
"visible": true,
"name": "overlap",
"color": [
1,
1,
0,
1
]
},
"DEFAULT": {
"visible": true,
"name": "default",
"color": [
0.3,
0.6,
0.6,
0.5
]
}
"0": {
"visible": true,
"name": "никогда не классифицировано",
"color": [0.5, 0.5, 0.5, 1]
},
"1": {
"visible": true,
"name": "не классифицировано",
"color": [0.5, 0.5, 0.5, 1]
},
"2": {
"visible": true,
"name": "поверхность земли",
"color": [0.63, 0.32, 0.18, 1]
},
"3": {
"visible": true,
"name": "низкая растительность",
"color": [0, 1, 0, 1]
},
"4": {
"visible": true,
"name": "средняя растительность",
"color": [0, 0.8, 0, 1]
},
"5": {
"visible": true,
"name": "высокая растительность",
"color": [0, 0.6, 0, 1]
},
"6": {
"visible": true,
"name": "здание",
"color": [1, 0.66, 0, 1]
},
"7": {
"visible": true,
"name": "точки шума (низкие)",
"color": [1, 0, 1, 1]
},
"8": {
"visible": true,
"name": "ключевые точки",
"color": [1, 0, 0, 1]
},
"9": {
"visible": true,
"name": "вода",
"color": [0, 0, 1, 1]
},
"12": {
"visible": true,
"name": "перекрытие",
"color": [1, 1, 0, 1]
},
"DEFAULT": {
"visible": true,
"name": "по умолчанию",
"color": [0.3, 0.6, 0.6, 0.5]
}
},
"pointclouds": [
{
"name": "sigeom.sa",
"url": "../pointclouds/vol_total/cloud.js",
"position": [
589500,
231300,
722.505
],
"rotation": [
0,
0,
0,
"XYZ"
],
"scale": [
1,
1,
1
],
"activeAttributeName": "rgba"
}
{
"name": "sigeom.sa",
"url": "../pointclouds/vol_total/cloud.js",
"position": [589500, 231300, 722.505],
"rotation": [0, 0, 0, "XYZ"],
"scale": [1, 1, 1],
"activeAttributeName": "rgba"
}
],
"measurements": [
{
"uuid": "CCFEDDB1-7CEE-4B2C-BBFD-64405DED63C3",
"name": "Measure_0",
"points": [
[
589803.18,
231357.35,
745.38
],
[
589795.74,
231323.42,
746.21
],
[
589822.5,
231315.9,
744.45
]
],
"showDistances": true,
"showCoordinates": false,
"showArea": false,
"closed": false,
"showAngles": false,
"showHeight": false,
"showEdges": true,
"color": [
1,
0,
0
]
},
{
"uuid": "92086379-896A-4608-9584-855A04B915D0",
"name": "Angle Sample",
"points": [
[
589866.11,
231372.25,
737.41
],
[
589842.15,
231366.82,
743.61
],
[
589860.61,
231348.01,
740.33
]
],
"showDistances": false,
"showCoordinates": false,
"showArea": false,
"closed": true,
"showAngles": true,
"showHeight": false,
"showEdges": true,
"color": [
1,
0,
0
]
},
{
"uuid": "D62705BF-C151-49FD-991B-9CEFD223FAFB",
"name": "Canopy",
"points": [
[
589853.73,
231300.24,
775.48
]
],
"showDistances": false,
"showCoordinates": true,
"showArea": false,
"closed": true,
"showAngles": false,
"showHeight": false,
"color": [
1,
0,
0
]
},
{
"uuid": "19D13159-B509-4CB0-8CA2-A58FB60B6D50",
"name": "Tree Height",
"points": [
[
589849.69,
231327.26,
766.32
],
[
589840.96,
231329.53,
744.52
]
],
"showDistances": false,
"showCoordinates": false,
"showArea": false,
"closed": false,
"showAngles": false,
"showHeight": true,
"showEdges": true,
"color": [
1,
0,
0
]
},
{
"uuid": "E46A0D60-EA59-4589-88AA-788DE0A91DF4",
"name": "Area",
"points": [
[
589899.37,
231300.16,
750.25
],
[
589874.6,
231326.06,
743.4
],
[
589911.61,
231352.57,
743.58
],
[
589943.5,
231300.08,
754.62
]
],
"showDistances": true,
"showCoordinates": false,
"showArea": true,
"closed": true,
"showAngles": false,
"showHeight": false,
"showEdges": true,
"color": [
1,
0,
0
]
}
{
"uuid": "CCFEDDB1-7CEE-4B2C-BBFD-64405DED63C3",
"name": "Измерение_0",
"points": [
[589803.18, 231357.35, 745.38],
[589795.74, 231323.42, 746.21],
[589822.5, 231315.9, 744.45]
],
"showDistances": true,
"showCoordinates": false,
"showArea": false,
"closed": false,
"showAngles": false,
"showHeight": false,
"showEdges": true,
"color": [1, 0, 0]
},
{
"uuid": "92086379-896A-4608-9584-855A04B915D0",
"name": "Образец угла",
"points": [
[589866.11, 231372.25, 737.41],
[589842.15, 231366.82, 743.61],
[589860.61, 231348.01, 740.33]
],
"showDistances": false,
"showCoordinates": false,
"showArea": false,
"closed": true,
"showAngles": true,
"showHeight": false,
"showEdges": true,
"color": [1, 0, 0]
},
{
"uuid": "D62705BF-C151-49FD-991B-9CEFD223FAFB",
"name": "Крона",
"points": [[589853.73, 231300.24, 775.48]],
"showDistances": false,
"showCoordinates": true,
"showArea": false,
"closed": true,
"showAngles": false,
"showHeight": false,
"color": [1, 0, 0]
},
{
"uuid": "19D13159-B509-4CB0-8CA2-A58FB60B6D50",
"name": "Высота дерева",
"points": [
[589849.69, 231327.26, 766.32],
[589840.96, 231329.53, 744.52]
],
"showDistances": false,
"showCoordinates": false,
"showArea": false,
"closed": false,
"showAngles": false,
"showHeight": true,
"showEdges": true,
"color": [1, 0, 0]
},
{
"uuid": "E46A0D60-EA59-4589-88AA-788DE0A91DF4",
"name": "Площадь",
"points": [
[589899.37, 231300.16, 750.25],
[589874.6, 231326.06, 743.4],
[589911.61, 231352.57, 743.58],
[589943.5, 231300.08, 754.62]
],
"showDistances": true,
"showCoordinates": false,
"showArea": true,
"closed": true,
"showAngles": false,
"showHeight": false,
"showEdges": true,
"color": [1, 0, 0]
}
],
"volumes": [
{
"uuid": "1A553B0B-D35B-4B26-84BD-F8CFD287A200",
"type": "BoxVolume",
"name": "Test Volume",
"position": [
589688.5173246722,
231341.79786558595,
792.7726157084892
],
"rotation": [
0,
0,
0.6338484063020134,
"XYZ"
],
"scale": [
87.70990081104037,
65.01472874807978,
95.53770288101325
],
"visible": true,
"clip": true
}
{
"uuid": "1A553B0B-D35B-4B26-84BD-F8CFD287A200",
"type": "BoxVolume",
"name": "Тестовый объём",
"position": [589688.5173246722, 231341.79786558595, 792.7726157084892],
"rotation": [0, 0, 0.6338484063020134, "XYZ"],
"scale": [87.70990081104037, 65.01472874807978, 95.53770288101325],
"visible": true,
"clip": true
}
],
"cameraAnimations": [],
"profiles": [
{
"uuid": "C08F6835-4E6E-47BB-8D13-7428BAEA48CE",
"name": "Profile_0",
"points": [
[
589641.6098756103,
231453.76974998094,
760.4950016784668
],
[
589514.4799995422,
231309.46000003815,
775.6249989318848
],
[
589512.4600000381,
231504.9597490845,
764.6350010681152
]
],
"height": 20,
"width": 6
}
{
"uuid": "C08F6835-4E6E-47BB-8D13-7428BAEA48CE",
"name": "Профиль_0",
"points": [
[589641.6098756103, 231453.76974998094, 760.4950016784668],
[589514.4799995422, 231309.46000003815, 775.6249989318848],
[589512.4600000381, 231504.9597490845, 764.6350010681152]
],
"height": 20,
"width": 6
}
],
"annotations": [
{
"uuid": "96E6ECB5-BED1-4903-B8C9-252AC78E864D",
"title": "Sorvilier",
"description": "",
"position": [
589847.17,
231436.78,
892.6
],
"children": [],
"offset": [
0,
0,
0
],
"cameraPosition": [590034.03, 231814.02, 961.68],
"cameraTarget": [589851.587, 231428.213, 715.634]
},{
"uuid": "D94E1D0B-7AA5-46FB-A513-A42282D3BD18",
"title": "Trees",
"description": "Point cloud of a small section in Sorvilier, Switzerland. <br>\n\t\t\t\tCourtesy of sigeom.sa",
"children": [],
"position": [
589850.15,
231300.1,
770.94
],
"offset": [
0,
0,
0
]
},
{
"uuid": "8B6543FC-64CA-4FD6-9C8D-ACE446D4A711",
"title": "About Annotations",
"description": "<ul><li>Click on the annotation label to move a predefined view.</li> \n\t\t\t\t<li>Click on the icon to execute the specified action.</li>\n\t\t\t\tIn this case, the action will bring you to another scene and point cloud.</ul>",
"children": [],
"position": [
590043.63,
231490.79,
740.78
],
"cameraPosition": [590105.53, 231541.63, 782.05],
"cameraTarget": [590043.63, 231488.79, 740.78]
},
{
"uuid": "EE329482-3EF6-448C-A12B-46BF95143F79",
"title": "About Annotations 2",
"description": "\n\t\t\t\tSuitable annotation positions and views can be obtained by \n\t\t\t\tlooking up the current camera position and target in the \"Scene\" panel, \n\t\t\t\tor by evaluating following lines in your browser's developer console:<br><br>\n\t\t\t\t<code>viewer.scene.view.position</code><br>\n\t\t\t\t<code>viewer.scene.view.getPivot()</code><br>\n\t\t\t\t",
"children": [],
"position": [
589621,
231437,
784
],
"cameraPosition": [
589585.81,
231463.63,
804
],
"cameraTarget": [
589625.86,
231439,
775.38
]
}
{
"uuid": "96E6ECB5-BED1-4903-B8C9-252AC78E864D",
"title": "Sorvilier",
"description": "",
"position": [589847.17, 231436.78, 892.6],
"children": [],
"offset": [0, 0, 0],
"cameraPosition": [590034.03, 231814.02, 961.68],
"cameraTarget": [589851.587, 231428.213, 715.634]
},
{
"uuid": "D94E1D0B-7AA5-46FB-A513-A42282D3BD18",
"title": "Деревья",
"description": "Облако точек небольшой части Сорвилье, Швейцария.<br>Предоставлено sigeom.sa",
"children": [],
"position": [589850.15, 231300.1, 770.94],
"offset": [0, 0, 0]
},
{
"uuid": "8B6543FC-64CA-4FD6-9C8D-ACE446D4A711",
"title": "О аннотациях",
"description": "<ul><li>Нажмите на метку аннотации, чтобы перейти к предустановленному виду.</li><li>Нажмите на значок, чтобы выполнить заданное действие.</li>В данном случае действие перенесёт вас в другую сцену и облако точек.</ul>",
"children": [],
"position": [590043.63, 231490.79, 740.78],
"cameraPosition": [590105.53, 231541.63, 782.05],
"cameraTarget": [590043.63, 231488.79, 740.78]
},
{
"uuid": "EE329482-3EF6-448C-A12B-46BF95143F79",
"title": "О аннотациях 2",
"description": "Подходящие позиции и виды аннотаций можно получить, посмотрев текущие положение и точку фокуса камеры в панели «Сцена», или выполнив следующие команды в консоли разработчика браузера:<br><br><code>viewer.scene.view.position</code><br><code>viewer.scene.view.getPivot()</code><br>",
"children": [],
"position": [589621, 231437, 784],
"cameraPosition": [589585.81, 231463.63, 804],
"cameraTarget": [589625.86, 231439, 775.38]
}
],
"objects": []
}
}

175
potree-auth/.gitignore vendored Normal file
View File

@ -0,0 +1,175 @@
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore
# Logs
logs
_.log
npm-debug.log_
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Caches
.cache
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
# Runtime data
pids
_.pid
_.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# parcel-bundler cache (https://parceljs.org/)
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# vuepress v2.x temp and cache directory
.temp
# Docusaurus cache and generated files
.docusaurus
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
# IntelliJ based IDEs
.idea
# Finder (MacOS) folder config
.DS_Store

15
potree-auth/README.md Normal file
View File

@ -0,0 +1,15 @@
# potree-auth
To install dependencies:
```bash
bun install
```
To run:
```bash
bun run index.ts
```
This project was created using `bun init` in bun v1.1.43. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

BIN
potree-auth/bun.lockb Executable file

Binary file not shown.

62
potree-auth/index.ts Normal file
View File

@ -0,0 +1,62 @@
import { Elysia } from 'elysia'
import { jwt } from '@elysiajs/jwt'
import { cookie } from '@elysiajs/cookie'
import { staticPlugin } from '@elysiajs/static'
const app = new Elysia()
.use(cookie())
.use(jwt({
name: 'jwt',
secret: 'your-secret-key' // В продакшене используйте безопасный секретный ключ
}))
.use(staticPlugin({
prefix: '/potree',
assets: '../build/potree'
}))
// Middleware для проверки авторизации
.derive(async ({ jwt, cookie, set }) => {
const token = cookie.auth
if (!token) {
set.status = 401
return { authorized: false }
}
const profile = await jwt.verify(token)
if (!profile) {
set.status = 401
return { authorized: false }
}
return { authorized: true, profile }
})
// Маршрут для авторизации
.post('/login', async ({ body, jwt, setCookie }) => {
const { username, password } = body as { username: string, password: string }
// Здесь должна быть ваша логика проверки учетных данных
if (username === 'admin' && password === 'password') {
const token = await jwt.sign({ username })
setCookie('auth', token, {
httpOnly: true,
maxAge: 7 * 86400 // 7 дней
})
return { success: true }
}
return { success: false, message: 'Неверные учетные данные' }
})
// Защищенный маршрут для Potree
.get('/viewer/*', async ({ authorized, set }) => {
if (!authorized) {
set.status = 401
return { error: 'Требуется авторизация' }
}
return { success: true }
})
.listen(3000)
console.log(`🚀 Сервер запущен на http://localhost:${app.server?.port}`)

17
potree-auth/package.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "potree-auth",
"module": "index.ts",
"type": "module",
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"@elysiajs/cookie": "^0.8.0",
"@elysiajs/jwt": "^1.3.0",
"@elysiajs/static": "^1.3.0",
"elysia": "^1.3.1"
}
}

View File

@ -0,0 +1,118 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Вход в Potree Viewer</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f5f5f5;
}
.login-form {
background: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
width: 300px;
}
input {
display: block;
margin: 10px 0;
padding: 8px;
width: 100%;
box-sizing: border-box;
}
button {
width: 100%;
padding: 10px;
background: #007bff;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
margin-top: 10px;
}
button:hover {
background: #0056b3;
}
.error-message {
color: #dc3545;
margin-top: 10px;
text-align: center;
display: none;
}
.loading {
display: none;
text-align: center;
margin-top: 10px;
}
</style>
</head>
<body>
<div class="login-form">
<h2>Вход в систему</h2>
<form id="loginForm">
<input type="text" id="username" name="username" placeholder="Имя пользователя" required>
<input type="password" id="password" name="password" placeholder="Пароль" required>
<button type="submit">Войти</button>
<div id="loading" class="loading">Загрузка...</div>
<div id="errorMessage" class="error-message"></div>
</form>
</div>
<script>
const form = document.getElementById('loginForm');
const errorMessage = document.getElementById('errorMessage');
const loading = document.getElementById('loading');
function showError(msg) {
loading.style.display = 'none';
errorMessage.textContent = msg;
errorMessage.style.display = 'block';
}
function showLoading() {
errorMessage.style.display = 'none';
loading.style.display = 'block';
}
form.addEventListener('submit', async e => {
e.preventDefault();
showLoading();
const username = form.username.value;
const password = form.password.value;
try {
const response = await fetch('/login', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ username, password }),
redirect: 'manual' // Отключаем авто-редиректы
});
if (response.status === 302) {
// Получаем куда перенаправить
const loc = response.headers.get('Location');
window.location.href = loc;
} else if (response.headers.get('Content-Type')?.includes('application/json')) {
const data = await response.json();
showError(data.message || 'Неверные учетные данные');
} else {
showError('Не удалось войти');
}
} catch (err) {
console.error(err);
showError('Произошла ошибка при подключении к серверу');
}
});
</script>
</body>
</html>

27
potree-auth/tsconfig.json Normal file
View File

@ -0,0 +1,27 @@
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}

View File

@ -1,108 +0,0 @@
{
"tb": {
"navigation_opt": "Navegació",
"rendering_opt": "Visualització",
"tools_opt": "Eines",
"measurments_opt": "Mesures",
"clipping_opt": "Retall",
"annotations_opt": "Anotacions",
"materials_opt": "Materials",
"scene_opt": "Capes",
"properties_opt": "Propietats de la capa",
"classification_filter_opt": "Classificació per filtres",
"filters_opt": "Filtres",
"parameters_opt": "Altres configuracions",
"info_opt": "Informació de les dades",
"about_opt": "Informació sobre el visor"
},
"tt": {
"angle_measurement": "Angle",
"point_measurement": "Coordenada del punt",
"distance_measurement": "Distància",
"height_measurement": "Alçada",
"circle_measurement": "Dimensió del cercle",
"area_measurement": "Àrea",
"volume_measurement": "Volum",
"height_profile": "Perfil 2D",
"annotation": "Annotació",
"clip_volume": "Retall de volum",
"clip_polygon": "Retall de polígon",
"screen_clip_box": "Dibuixeu un quadre de selecció. Cal estar en mode de càmera ortogràfica",
"clip_plane_x": "Pla del retall en l'eix x",
"clip_plane_y": "Pla del retall en l'eix y",
"clip_plane_z": "Pla del retall en l'eix z",
"remove_all_measurement": "Eliminar totes les mesures",
"left_view_control": "Vista esquerra",
"right_view_control": "Vista dreta",
"front_view_control": "Vista frontal",
"back_view_control": "Vista posterior",
"top_view_control": "Vista superior",
"bottom_view_control": "Vista inferior",
"focus_control": "Vista completa",
"orbit_control": "Control orbital",
"flight_control": "Control de vol",
"heli_control": "Control d'helicòpter",
"earth_control": "Control espacial",
"perspective_camera_control": "Perspectiva de la camera",
"orthographic_camera_control": "Camera ortogràfica",
"navigation_cube_control": "Cub de navegació",
"remove_all_clipping_volumes": "Eliminar tots els volums retallats",
"compass": "Brúixola",
"camera_animation": "Moviment de càmera"
},
"appearance": {
"nb_max_pts": "Densitat de punts",
"point_size": "Mida del punt",
"min_point_size": "Mida mínima del punt",
"point_opacity": "Opacitat",
"field_view": "Zoom",
"point_size_type": "Tamany del punt",
"point_material": "Textura",
"elevation_range": "Rang d'elevació",
"extra_range": "Rang escalar",
"point_quality": "Qualitat",
"point_shape": "Forma del punt",
"edl_radius": "Radi",
"edl_strength": "Distància",
"edl_opacity": "Opacity",
"edl_enable": "Habilitar",
"min_node_size": "Mida de node mínima",
"clip_mode": "Mode retall",
"move_speed": "Velocitat de moviment",
"skybox": "Cel",
"bottom_lock": "Mantenir-se sobre el terra",
"box": "Caixa",
"length_unit": "Unitats de mesura",
"freeze": "Bloquejar la vista",
"language": "Idioma",
"backface_culling": "Eliminació de la cara posterior"
},
"measurements": {
"clip": "Retall",
"show": "Veure el volum"
},
"annotations": {
"show3D": "Veure en 3D",
"showMap": "Veure al mapa"
},
"profile": {
"nb_points": "Nombre de punts",
"title": "Perfil en alçada",
"save_las": "Desar LAS(3D)",
"save_ortho": "Desar CSV(2D)"
},
"scene": {
"camera_position": "Posició de la camera",
"camera_target": "Objectiu de la camera"
},
"filters": {
"return_number": "Número de retorn",
"number_of_returns": "Nombre de Retorns",
"gps_min": "min",
"gps_max": "màx",
"gps_time": "Temps GPS"
},
"settings": {
"language": "Idioma"
}
}

View File

@ -1,69 +0,0 @@
{
"tb": {
"navigation_opt": "Navigation",
"rendering_opt": "Aussehen",
"tools_opt": "Tools",
"measurments_opt": "Messungen",
"clipping_opt": "Clipping",
"materials_opt": "Materials",
"scene_opt": "Szene",
"classification_filter_opt": "Klassifizierung Filter",
"parameters_opt": "Weitere Einstellungen",
"about_opt": "Über Potree"
},
"tt": {
"angle_measurement": "Winkelmessung",
"distance_measurement": "Abstandsmessung",
"area_measurement": "Flächenmessung",
"volume_measurement": "Volumenmessung",
"height_profile": "Höhenprofil",
"clip_volume": "Volume clip",
"clip_polygon": "Polygon clip",
"clip_plane_x": "Clipebene auf x-Achse",
"clip_plane_y": "Clipebene auf y-Achse",
"clip_plane_z": "Clipebene auf z-Achse",
"remove_all_measurement": "Alle Messungen entfernen",
"left_view_control": "Linke Seite",
"front_view_control": "Vorderseite",
"top_view_control": "Draufsicht",
"focus_control": "Volle Ausdehnung",
"orbit_control": "Orbit Kontrolle ",
"flight_control": "Fly Kontrolle",
"earth_control": "Earth Kontrolle",
"perspective_camera_control": "Perspektivische Kamera",
"orthographic_camera_control": "Orthografische Kamera",
"navigation_cube_control": "Navigationswürfel",
"remove_all_clipping_volumes": "Alle Clipvolumen entfernen"
},
"appearance": {
"nb_max_pts": "Max Punkte",
"point_size": "Punktgrösse",
"point_opacity": "Deckkraft",
"field_view": "Sichtfeld",
"point_size_type": "Punktgrösse",
"point_material": "Materials",
"elevation_range": "Elevation Bereich",
"point_quality": "Qualität",
"point_shape": "Form",
"edl_radius": "Radius",
"edl_strength": "Stärke",
"edl_enable": "Ein",
"min_node_size": "Min Knotengrösse",
"clip_mode": "Clip-Modus",
"move_speed": "Speed",
"skybox": "Sky",
"bottom_lock": "Halten über dem Boden",
"box": "Box",
"length_unit": "Lenght unit",
"freeze": "Lock view",
"language": "Sprache"
},
"profile": {
"nb_points": "Punkt number",
"title": "Höhenprofil",
"save": "Speichern"
},
"settings": {
"language": "Sprache"
}
}

View File

@ -1,7 +0,0 @@
{
"simple_dev": "ok_from_common_dev",
"test": {
"simple_dev": "ok_from_common_dev",
"fallback_dev": "ok_from_common_dev-fallback"
}
}

View File

@ -1,6 +0,0 @@
{
"simple_dev": "ok_from_special_dev",
"test": {
"simple_dev": "ok_from_special_dev"
}
}

View File

@ -1,6 +0,0 @@
{
"simple_dev": "ok_from_dev",
"test": {
"simple_dev": "ok_from_dev"
}
}

View File

@ -1,6 +0,0 @@
{
"simple_en-US": "ok_from_common_en-US",
"test": {
"simple_en-US": "ok_from_common_en-US"
}
}

View File

@ -1,6 +0,0 @@
{
"simple_en-US": "ok_from_special_en-US",
"test": {
"simple_en-US": "ok_from_special_en-US"
}
}

View File

@ -1,6 +0,0 @@
{
"simple_en-US": "ok_from_en-US",
"test": {
"simple_en-US": "ok_from_en-US"
}
}

View File

@ -1,106 +1,107 @@
{
"tb": {
"navigation_opt": "Navigation",
"rendering_opt": "Appearance",
"tools_opt": "Tools",
"measurments_opt": "Measurements",
"clipping_opt": "Clipping",
"annotations_opt": "Annotations",
"materials_opt": "Materials",
"scene_opt": "Scene",
"classification_filter_opt": "Classification filter",
"filters_opt": "Filters",
"parameters_opt": "Other settings",
"about_opt": "About"
"navigation_opt": "Навигация",
"rendering_opt": "Внешний вид",
"tools_opt": "Инструменты",
"measurments_opt": "Измерения",
"clipping_opt": "Обрезка",
"annotations_opt": "Аннотации",
"materials_opt": "Материалы",
"scene_opt": "Сцена",
"classification_filter_opt": "Фильтр классификации",
"filters_opt": "Фильтры",
"parameters_opt": "Другие настройки",
"about_opt": "О программе"
},
"tt": {
"angle_measurement": "Angle measurement",
"point_measurement": "Point measurement",
"distance_measurement": "Distance measurement",
"height_measurement": "Height measurement",
"circle_measurement": "Circle measurement",
"area_measurement": "Area measurement",
"volume_measurement": "Volume measurement",
"height_profile": "Height profile",
"annotation": "Annotation",
"clip_volume": "Volume clip",
"clip_polygon": "Polygon clip",
"screen_clip_box": "Draw a selection box. Requires you to be in orthographic camera mode!",
"clip_plane_x": "Clip plane on x axis",
"clip_plane_y": "Clip plane on y axis",
"clip_plane_z": "Clip plane on z axis",
"remove_all_measurement": "Remove all measurements",
"left_view_control": "Left view",
"right_view_control": "Righ view",
"front_view_control": "Front view",
"back_view_control": "Back view",
"top_view_control": "Top view",
"bottom_view_control": "Bottom view",
"focus_control": "Full extent",
"orbit_control": "Orbit control",
"flight_control": "Fly control",
"heli_control": "Helicopter control",
"earth_control": "Earth control",
"perspective_camera_control": "Perspective camera",
"orthographic_camera_control": "Orthographic camera",
"navigation_cube_control": "Navigation cube",
"remove_all_clipping_volumes": "Remove all clipping volumes",
"compass": "Compass",
"camera_animation": "Camera Animation"
"angle_measurement": "Измерение угла",
"point_measurement": "Измерение точки",
"distance_measurement": "Измерение расстояния",
"height_measurement": "Измерение высоты",
"circle_measurement": "Измерение круга",
"area_measurement": "Измерение площади",
"volume_measurement": "Измерение объёма",
"height_profile": "Профиль высот",
"annotation": "Аннотация",
"clip_volume": "Обрез объёма",
"clip_polygon": "Обрез полигоном",
"screen_clip_box": "Нарисуйте рамку выделения. Требуется ортографическая камера!",
"clip_plane_x": "Плоскость обрезки по оси X",
"clip_plane_y": "Плоскость обрезки по оси Y",
"clip_plane_z": "Плоскость обрезки по оси Z",
"remove_all_measurement": "Удалить все измерения",
"left_view_control": "Вид слева",
"right_view_control": "Вид справа",
"front_view_control": "Вид спереди",
"back_view_control": "Вид сзади",
"top_view_control": "Вид сверху",
"bottom_view_control": "Вид снизу",
"focus_control": "Полный обзор",
"orbit_control": "Управление орбитой",
"flight_control": "Управление полётом",
"heli_control": "Управление вертолётом",
"earth_control": "Управление Землёй",
"perspective_camera_control": "Перспективная камера",
"orthographic_camera_control": "Ортографическая камера",
"navigation_cube_control": "Куб навигации",
"remove_all_clipping_volumes": "Удалить все объёмы обрезки",
"compass": "Компас",
"camera_animation": "Анимация камеры"
},
"appearance": {
"nb_max_pts": "Point budget",
"point_size": "Point size",
"min_point_size": "Minimum size",
"point_opacity": "Opacity",
"field_view": "Field of view",
"point_size_type": "Point sizing",
"point_material": "Materials",
"elevation_range": "Elevation range",
"extra_range": "Scalar range",
"point_quality": "Quality",
"point_shape": "Shape",
"edl_radius": "Radius",
"edl_strength": "Strength",
"edl_opacity": "Opacity",
"edl_enable": "Enable",
"min_node_size": "Min node size",
"clip_mode": "Clip mode",
"move_speed": "Speed",
"skybox": "Sky",
"bottom_lock": "Keep above ground",
"box": "Box",
"length_unit": "Length unit",
"freeze": "Lock view",
"language": "Language",
"backface_culling": "Backface Culling"
"nb_max_pts": "Лимит точек",
"point_size": "Размер точки",
"min_point_size": "Минимальный размер",
"point_opacity": "Непрозрачность",
"field_view": "Поле зрения",
"point_size_type": "Тип размера точки",
"point_material": "Материалы",
"elevation_range": "Диапазон высот",
"extra_range": "Диапазон значений",
"point_quality": "Качество",
"point_shape": "Форма",
"edl_radius": "Радиус EDL",
"edl_strength": "Сила EDL",
"edl_opacity": "Непрозрачность EDL",
"edl_enable": "Включить EDL",
"min_node_size": "Минимальный размер узла",
"clip_mode": "Режим обрезки",
"move_speed": "Скорость",
"skybox": "Небо",
"bottom_lock": "Держать над землёй",
"box": "Коробка",
"length_unit": "Единица длины",
"freeze": "Заблокировать вид",
"language": "Язык",
"backface_culling": "Отсечение задних граней"
},
"measurements": {
"clip": "clip",
"show": "show volume"
"clip": "обрезать",
"show": "показать объём"
},
"annotations": {
"show3D": "show in 3D",
"showMap": "show on map"
"show3D": "показать в 3D",
"showMap": "показать на карте"
},
"profile": {
"nb_points": "Number of Points",
"title": "Height profile",
"save_las": "Save LAS(3D)",
"save_ortho": "Save CSV(2D)"
"nb_points": "Количество точек",
"title": "Профиль высот",
"save_las": "Сохранить LAS (3D)",
"save_ortho": "Сохранить CSV (2D)"
},
"scene": {
"camera_position": "Camera Position",
"camera_target": "Camera Target"
"camera_position": "Положение камеры",
"camera_target": "Цель камеры"
},
"filters": {
"return_number": "Return Number",
"number_of_returns": "Number of Returns",
"gps_min": "min",
"gps_max": "max",
"gps_time": "GPS Time"
"return_number": "Номер возврата",
"number_of_returns": "Количество возвратов",
"gps_min": "мин",
"gps_max": "макс",
"gps_time": "GPS-время"
},
"settings": {
"language": "Language"
"language": "Язык"
}
}
}

View File

@ -1,90 +0,0 @@
{
"tb": {
"navigation_opt": "Navegación",
"rendering_opt": "Apariencia",
"tools_opt": "Herramientas",
"measurments_opt": "Medidas",
"clipping_opt": "Recorte",
"annotations_opt": "Anotaciones",
"materials_opt": "Materiales",
"scene_opt": "Escena",
"classification_filter_opt": "Filtro de clasificación",
"parameters_opt": "Otros ajustes",
"about_opt": "Acerca de"
},
"tt": {
"angle_measurement": "Medición de ángulos",
"point_measurement": "Medición de puntos",
"distance_measurement": "Medición de distancia",
"height_measurement": "Medición de altura",
"area_measurement": "Medición de área",
"volume_measurement": "Medición de volumen",
"height_profile": "Perfil de altura",
"clip_volume": "Clip de volumen",
"clip_polygon": "Clip poligonal",
"screen_clip_box": "Dibuje un cuadro de selección. Requiere que usted esté en modo de cámara ortográfica",
"clip_plane_x": "Plano del clip en el eje x",
"clip_plane_y": "Plano del clip en el eje y",
"clip_plane_z": "Plano del clip en el eje z",
"remove_all_measurement": "Eliminar todas las mediciones",
"left_view_control": "Vista izquierda",
"right_view_control": "Vista derecha",
"front_view_control": "Vista de frente",
"back_view_control": "Vista desde atrás",
"top_view_control": "Vista superior",
"bottom_view_control": "Vista inferior",
"focus_control": "Alcance total",
"orbit_control": "Control de órbita",
"flight_control": "Control de vuelo",
"heli_control": "Control de helicóptero",
"earth_control": "Control de la tierra",
"perspective_camera_control": "Perspectiva de la cámara",
"orthographic_camera_control": "Cámara ortográfica",
"navigation_cube_control": "Cubo de navegación",
"remove_all_clipping_volumes": "Eliminar todos los volúmenes de recorte"
},
"appearance": {
"nb_max_pts": "Presupuesto de puntos",
"point_size": "Tamaño del punto",
"point_opacity": "Opacidad",
"field_view": "Campo de visión",
"point_size_type": "Dimensionamiento de puntos",
"point_material": "Materiales",
"elevation_range": "Rango de elevación",
"point_quality": "Calidad",
"point_shape": "Forma",
"edl_radius": "Radio",
"edl_strength": "Fuerza",
"edl_enable": "Habilitar",
"min_node_size": "Tamaño de nodo mínimo",
"clip_mode": "Modo clip",
"move_speed": "Velocidad",
"skybox": "Cielo",
"bottom_lock": "Mantenerse sobre el suelo",
"box": "Caja",
"length_unit": "Unidad de longitud",
"freeze": "Vista de bloqueo",
"language": "Lenguaje"
},
"measurements": {
"clip": "clip",
"show": "ver volumen"
},
"annotations": {
"show3D": "ver en 3D",
"showMap": "ver en mapa"
},
"profile": {
"nb_points": "Número de puntos",
"title": "Perfil de altura",
"save_las": "Guardar LAS(3D)",
"save_ortho": "Guardar CSV(2D)"
},
"scene": {
"camera_position": "Posición de la cámara",
"camera_target": "Objetuvo de la cámara"
},
"settings": {
"language": "Lenguaje"
}
}

View File

@ -1,58 +0,0 @@
{
"tb": {
"navigation_opt": "Navigation",
"rendering_opt": "Apparence",
"tools_opt": "Outils",
"measurments_opt": "Mesures",
"materials_opt": "Matériaux",
"scene_opt": "Scène",
"classification_filter_opt": "Filtre de classification",
"parameters_opt": "Autres paramètres",
"about_opt": "À propos"
},
"tt": {
"angle_measurement": "Mesurer un angle",
"distance_measurement": "Mesurer une distance",
"area_measurement": "Mesurer une surface",
"volume_measurement": "Mesurer un volume",
"height_profile": "Mesurer un profil",
"clip_volume": "Sélectionner des points par un volume",
"remove_all_measurement": "Supprimer toutes les mesures",
"left_view_control": "Vue de la gauche",
"front_view_control": "Vue de face",
"top_view_control": "Vue de dessus",
"focus_control": "Vue complète",
"orbit_control": "Orbite",
"flight_control": "Vol",
"earth_control": "Earth"
},
"appearance": {
"nb_max_pts": "Nb points max",
"point_size": "Taille des points",
"point_opacity": "Opacité",
"field_view": "Angle de vue",
"point_size_type": "Type de taille",
"point_material": "Matériaux",
"elevation_range": "Plage altimétrique",
"point_quality": "Qualité",
"edl_radius": "Rayon",
"edl_strength": "Intensité",
"edl_enable": "Activer",
"min_node_size": "Taille minimum des noeuds",
"clip_mode": "Mode d'intersection",
"move_speed": "Vitesse",
"skybox": "Ciel",
"bottom_lock": "Rester au-dessus du sol",
"box": "Boite",
"freeze": "Vérouiller la vue",
"language": "Choix de la langue"
},
"profile": {
"nb_points": "Nombre de points",
"title": "Profil altimétrique",
"save": "Enregistrer"
},
"settings": {
"language": "Langue"
}
}

View File

@ -1,99 +0,0 @@
{
"tb": {
"navigation_opt": "Navigazione",
"rendering_opt": "Visualizzazione",
"tools_opt": "Strumenti",
"measurments_opt": "Misure",
"clipping_opt": "Opzioni di ritaglio",
"annotations_opt": "Annotazioni",
"materials_opt": "Materiali",
"scene_opt": "Scena",
"classification_filter_opt": "Filtro di classificazione",
"filters_opt": "Filtri",
"parameters_opt": "Altri parametri",
"about_opt": "A proposito"
},
"tt": {
"angle_measurement": "Misurazione angolo",
"point_measurement": "Misurazione punto",
"distance_measurement": "Misurazione distanza",
"height_measurement": "Misurazione quota",
"circle_measurement": "Misurazione cerchio",
"area_measurement": "Misurazione superficie",
"volume_measurement": "Misurazione volume",
"height_profile": "Misurazione profilo",
"annotation": "Annotazione",
"clip_volume": "Ritaglio con volume",
"clip_polygon": "Ritaglio con poligono",
"remove_all_measurement": "Cancellazione misure",
"left_view_control": "Vista da sinistra",
"front_view_control": "Vista frontale",
"back_view_control": "Vista da dietro",
"top_view_control": "Vista nadirale",
"bottom_view_control": "Vista dal basso",
"focus_control": "Massima estensione",
"orbit_control": "Modalità orbit",
"flight_control": "Modalità volo",
"heli_control": "Modalità elicottero",
"earth_control": "Modalità Earth",
"perspective_camera_control": "Vista prospettica",
"orthographic_camera_control": "Vista ortografica",
"remove_all_clipping_volumes": "Rimuovere tutti i volumi ritagliati",
"compass": "Bussola",
"camera_animation": "Animazione"
},
"appearance": {
"nb_max_pts": "Numero di punti",
"point_size": "Dimensione dei punti",
"min_point_size": "Minima dimensione dei punti",
"point_opacity": "Opacità",
"field_view": "Angolo di vista",
"point_size_type": "Metodo di dimensionamento dei punti",
"point_material": "Materiale",
"elevation_range": "Intervallo altimetrico",
"extra_range": "Intervallo scalare",
"point_quality": "Qualità",
"point_shape": "Forma",
"edl_radius": "Raggio",
"edl_strength": "Intensità",
"edl_opacity": "Opacità",
"edl_enable": "Attiva",
"min_node_size": "Min dimensione dei nodi",
"clip_mode": "Modalità di ritaglio",
"move_speed": "Velocità",
"skybox": "Cielo",
"bottom_lock": "Rimani sotto al suolo",
"box": "Box",
"length_unit": "Unità di misura",
"freeze": "Blocca vista",
"language": "Lingua"
},
"measurements": {
"clip": "ritaglia",
"show": "mostra volume"
},
"annotations": {
"show3D": "mostra in 3D",
"showMap": "mostra sulla mappa"
},
"profile": {
"nb_points": "Numero di punti",
"title": "Profilo altimetrico",
"save_las": "Salva come LAS(3D)",
"save_ortho": "Salva come CSV(2D)"
},
"scene": {
"camera_position": "Posizione della camera",
"camera_target": "Obiettivo della camera"
},
"filters": {
"return_number": "Numero di ritorno",
"number_of_returns": "Numero di ritorno",
"gps_min": "min",
"gps_max": "max",
"gps_time": "tempo GPS"
},
"settings": {
"language": "Lingua"
}
}

View File

@ -1,66 +0,0 @@
{
"tb": {
"navigation_opt": "ナビゲーション",
"rendering_opt": "外観",
"tools_opt": "ツール",
"measurments_opt": "測定結果",
"annotations_opt": "注釈",
"materials_opt": "材料",
"scene_opt": "シーン",
"classification_filter_opt": "フィルター分類",
"parameters_opt": "その他の設定",
"about_opt": "協力"
},
"tt": {
"angle_measurement": "角度測定",
"distance_measurement": "距離測定",
"height_measurement": "標高測定",
"area_measurement": "面積測定",
"volume_measurement": "体積測定",
"height_profile": "断面図",
"clip_volume": "クリッピングボリューム",
"remove_all_measurement": "計測結果のクリア",
"left_view_control": "左から見る",
"front_view_control": "前から見る",
"top_view_control": "上から見る",
"focus_control": "全体表示",
"orbit_control": " 軌道制御",
"flight_control": "Vol",
"earth_control": "地球"
},
"appearance": {
"nb_max_pts": "表示するポイント数を設定",
"point_size": "点サイズを設定",
"point_opacity": "不透明度",
"field_view": "視野",
"point_size_type": "点タイプ設定",
"point_material": "点の材質",
"elevation_range": "Plage altimétrique",
"point_quality": "品質",
"edl_radius": "点群の半径",
"edl_strength": "点群の強度",
"edl_enable": "アクティブにする",
"min_node_size": "最小ノードサイズ",
"clip_mode": "クリップモード",
"move_speed": "動く速度",
"skybox": "空",
"bottom_lock": "地上面を固定します。",
"box": "ボックス",
"freeze": "ビューの固定",
"language": "言語"
},
"profile": {
"nb_points": "点群番号",
"title": "Profil altimétrique",
"save_las": "LAS(3D)形式で保存",
"save_ortho": "CSV(2D)形式で保存",
"save": "保存"
},
"scene": {
"camera_position": "Camera Position",
"camera_target": "Camera Target"
},
"settings": {
"language": "言語"
}
}

View File

@ -0,0 +1,7 @@
{
"simple_en": "ok_from_common_en",
"test": {
"simple_en": "ok_from_common_en",
"fallback_en": "ok_from_common_en-fallback"
}
}

View File

@ -0,0 +1,6 @@
{
"simple_en": "ok_from_special_en",
"test": {
"simple_en": "ok_from_special_en"
}
}

View File

@ -0,0 +1,107 @@
{
"tb": {
"navigation_opt": "Навигация",
"rendering_opt": "Внешний вид",
"tools_opt": "Инструменты",
"measurments_opt": "Измерения",
"clipping_opt": "Обрезка",
"annotations_opt": "Аннотации",
"materials_opt": "Материалы",
"scene_opt": "Сцена",
"classification_filter_opt": "Фильтр классификации",
"filters_opt": "Фильтры",
"parameters_opt": "Другие настройки",
"about_opt": "О программе"
},
"tt": {
"angle_measurement": "Измерение угла",
"point_measurement": "Измерение точки",
"distance_measurement": "Измерение расстояния",
"height_measurement": "Измерение высоты",
"circle_measurement": "Измерение круга",
"area_measurement": "Измерение площади",
"volume_measurement": "Измерение объёма",
"height_profile": "Профиль высот",
"annotation": "Аннотация",
"clip_volume": "Обрез объёма",
"clip_polygon": "Обрез полигоном",
"screen_clip_box": "Нарисуйте рамку выделения. Требуется ортографическая камера!",
"clip_plane_x": "Плоскость обрезки по оси X",
"clip_plane_y": "Плоскость обрезки по оси Y",
"clip_plane_z": "Плоскость обрезки по оси Z",
"remove_all_measurement": "Удалить все измерения",
"left_view_control": "Вид слева",
"right_view_control": "Вид справа",
"front_view_control": "Вид спереди",
"back_view_control": "Вид сзади",
"top_view_control": "Вид сверху",
"bottom_view_control": "Вид снизу",
"focus_control": "Полный обзор",
"orbit_control": "Управление орбитой",
"flight_control": "Управление полётом",
"heli_control": "Управление вертолётом",
"earth_control": "Управление Землёй",
"perspective_camera_control": "Перспективная камера",
"orthographic_camera_control": "Ортографическая камера",
"navigation_cube_control": "Куб навигации",
"remove_all_clipping_volumes": "Удалить все объёмы обрезки",
"compass": "Компас",
"camera_animation": "Анимация камеры"
},
"appearance": {
"nb_max_pts": "Лимит точек",
"point_size": "Размер точки",
"min_point_size": "Минимальный размер",
"point_opacity": "Непрозрачность",
"field_view": "Поле зрения",
"point_size_type": "Тип размера точки",
"point_material": "Материалы",
"elevation_range": "Диапазон высот",
"extra_range": "Диапазон значений",
"point_quality": "Качество",
"point_shape": "Форма",
"edl_radius": "Радиус EDL",
"edl_strength": "Сила EDL",
"edl_opacity": "Непрозрачность EDL",
"edl_enable": "Включить EDL",
"min_node_size": "Минимальный размер узла",
"clip_mode": "Режим обрезки",
"move_speed": "Скорость",
"skybox": "Небо",
"bottom_lock": "Держать над землёй",
"box": "Коробка",
"length_unit": "Единица длины",
"freeze": "Заблокировать вид",
"language": "Язык",
"backface_culling": "Отсечение задних граней"
},
"measurements": {
"clip": "обрезать",
"show": "показать объём"
},
"annotations": {
"show3D": "показать в 3D",
"showMap": "показать на карте"
},
"profile": {
"nb_points": "Количество точек",
"title": "Профиль высот",
"save_las": "Сохранить LAS (3D)",
"save_ortho": "Сохранить CSV (2D)"
},
"scene": {
"camera_position": "Положение камеры",
"camera_target": "Цель камеры"
},
"filters": {
"return_number": "Номер возврата",
"number_of_returns": "Количество возвратов",
"gps_min": "мин",
"gps_max": "макс",
"gps_time": "GPS-время"
},
"settings": {
"language": "Язык"
}
}

View File

@ -1,98 +0,0 @@
{
"tb": {
"navigation_opt": "Navigering",
"rendering_opt": "Utseende",
"tools_opt": "Verktyg",
"measurments_opt": "Mätning",
"clipping_opt": "Urklipp",
"annotations_opt": "Annoteringar",
"materials_opt": "Material",
"scene_opt": "Scen",
"classification_filter_opt": "Klassificeringsfilter",
"filters_opt": "Filter",
"parameters_opt": "Andra inställningar",
"about_opt": "Om"
},
"tt": {
"angle_measurement": "Vinkelmätning",
"point_measurement": "Punktmätning",
"distance_measurement": "Distansmätning",
"height_measurement": "Höjdmätning",
"area_measurement": "Areamätning",
"volume_measurement": "Volymmätning",
"height_profile": "Höjdprofil",
"clip_volume": "Volymklippning",
"clip_polygon": "Polygonklippning",
"screen_clip_box": "Rita en yta för selektering. Ortogonalt kameraläge krävs!",
"clip_plane_x": "Klippyta på x axel",
"clip_plane_y": "Klippyta på y axel",
"clip_plane_z": "Klippyta på z axel",
"remove_all_measurement": "Ta bort alla mätningar",
"left_view_control": "Vy vänster",
"right_view_control": "Vy höger",
"front_view_control": "Vy fram",
"back_view_control": "Vy bak",
"top_view_control": "Vy ovan",
"bottom_view_control": "Vy under",
"focus_control": "Full utsträckning",
"orbit_control": "Kretsa kontroll",
"flight_control": "Flyga kontroll",
"heli_control": "Helikopter kontroll",
"earth_control": "Earth control",
"perspective_camera_control": "Kamera perspektiv",
"orthographic_camera_control": "Kamera ortogonal",
"navigation_cube_control": "Navigeringskub",
"remove_all_clipping_volumes": "Ta bort alla klippytor"
},
"appearance": {
"nb_max_pts": "Punktbudget",
"point_size": "Punktstorlek",
"point_opacity": "Transparens",
"field_view": "Synfält",
"point_size_type": "Punkttyp",
"point_material": "Material",
"elevation_range": "Höjdintervall",
"point_quality": "Kvalitet",
"point_shape": "Form",
"edl_radius": "Radie",
"edl_strength": "Styrka",
"edl_enable": "Aktiverad",
"min_node_size": "Min nodstorlek",
"clip_mode": "Klippläge",
"move_speed": "Hastighet",
"skybox": "Skybox",
"bottom_lock": "Lås över marknivå",
"box": "Box",
"length_unit": "Enhet för längd",
"freeze": "Lås vy",
"language": "Språk"
},
"measurements": {
"clip": "klipp",
"show": "visa volym"
},
"annotations": {
"show3D": "visa i 3D",
"showMap": "visa på karta"
},
"profile": {
"nb_points": "Antal Punkter",
"title": "Höjdprofil",
"save_las": "Spara LAS(3D)",
"save_ortho": "Spara CSV(2D)"
},
"scene": {
"camera_position": "Kamera Position",
"camera_target": "Kamera Mål"
},
"filters": {
"return_number": "Returnera Antal",
"number_of_returns": "Antal Returneringar",
"gps_min": "min",
"gps_max": "max",
"gps_time": "GPS Tid"
},
"settings": {
"language": "Språk"
}
}

View File

@ -1,106 +0,0 @@
{
"tb": {
"navigation_opt": "导航",
"rendering_opt": "外观",
"tools_opt": "工具",
"measurments_opt": "量测分析",
"clipping_opt": "裁剪",
"annotations_opt": "标注",
"materials_opt": "材质",
"scene_opt": "场景",
"classification_filter_opt": "分类过滤器",
"filters_opt": "过滤器",
"parameters_opt": "其他选项",
"about_opt": "关于"
},
"tt": {
"angle_measurement": "角度量测",
"point_measurement": "点量测",
"distance_measurement": "距离量测",
"height_measurement": "高度量测",
"circle_measurement": "环形量测",
"area_measurement": "面积量测",
"volume_measurement": "体积量测",
"height_profile": "高度剖面",
"annotation": "标注",
"clip_volume": "立体裁剪",
"clip_polygon": "多边形裁剪",
"screen_clip_box": "绘制矩形进行裁剪. 需要使用 orthographic 相机模式!",
"clip_plane_x": "在x轴平面裁剪",
"clip_plane_y": "在y轴平面裁剪",
"clip_plane_z": "在z轴平面裁剪",
"remove_all_measurement": "清除量测结果",
"left_view_control": "左视图",
"right_view_control": "右视图",
"front_view_control": "前视图",
"back_view_control": "后视图",
"top_view_control": "俯视图",
"bottom_view_control": "仰视图",
"focus_control": "复位",
"orbit_control": "轨道控制",
"flight_control": "飞行控制",
"heli_control": "直升机控制",
"earth_control": "地球控制",
"perspective_camera_control": "透视相机",
"orthographic_camera_control": "正交相机",
"navigation_cube_control": "导航立方体",
"remove_all_clipping_volumes": "移除裁剪对象",
"compass": "指北针",
"camera_animation": "相机动画"
},
"appearance": {
"nb_max_pts": "显示点数",
"point_size": "点尺寸",
"min_point_size": "最小尺寸",
"point_opacity": "透明度",
"field_view": "视野范围",
"point_size_type": "尺寸",
"point_material": "材质",
"elevation_range": "高程范围",
"extra_range": "标量范围",
"point_quality": "质量",
"point_shape": "形状",
"edl_radius": "半径",
"edl_strength": "强度",
"edl_opacity": "透明度",
"edl_enable": "启用",
"min_node_size": "节点尺寸",
"clip_mode": "裁剪模式",
"move_speed": "速度",
"skybox": "天空",
"bottom_lock": "保持高于地面",
"box": "辅助网格",
"length_unit": "长度单位",
"freeze": "锁定",
"language": "语言",
"backface_culling": "剔除背面"
},
"measurements": {
"clip": "裁剪",
"show": "显示体积"
},
"annotations": {
"show3D": "以3D形式展示",
"showMap": "在地图展示"
},
"profile": {
"nb_points": "点云数量",
"title": "高度剖面",
"save_las": "保存 LAS(3D)",
"save_ortho": "保存 CSV(2D)"
},
"scene": {
"camera_position": "相机位置",
"camera_target": "相机目标"
},
"filters": {
"return_number": "第几次回波",
"number_of_returns": "回波次数",
"gps_min": "最小值",
"gps_max": "最大值",
"gps_time": "GPS 时间"
},
"settings": {
"language": "语言"
}
}

View File

@ -83,89 +83,89 @@ export class PropertiesPanel{
let panel = $(`
<div class="scene_content selectable">
<ul class="pv-menu-list">
<li>
<span data-i18n="appearance.point_size"></span>:&nbsp;<span id="lblPointSize"></span> <div id="sldPointSize"></div>
<span data-i18n="appearance.point_size">Размер точки</span>: <span id="lblPointSize"></span> <div id="sldPointSize"></div>
</li>
<li>
<span data-i18n="appearance.min_point_size"></span>:&nbsp;<span id="lblMinPointSize"></span> <div id="sldMinPointSize"></div>
<span data-i18n="appearance.min_point_size">Мин. размер точки</span>: <span id="lblMinPointSize"></span> <div id="sldMinPointSize"></div>
</li>
<!-- SIZE TYPE -->
<li>
<label for="optPointSizing" class="pv-select-label" data-i18n="appearance.point_size_type">Point Sizing </label>
<label for="optPointSizing" class="pv-select-label" data-i18n="appearance.point_size_type">Тип размера точки</label>
<select id="optPointSizing" name="optPointSizing">
<option>FIXED</option>
<option>ATTENUATED</option>
<option>ADAPTIVE</option>
<option>ФИКСИРОВАННЫЙ</option>
<option>ЗАТУХАЮЩИЙ</option>
<option>АДАПТИВНЫЙ</option>
</select>
</li>
<!-- SHAPE -->
<li>
<label for="optShape" class="pv-select-label" data-i18n="appearance.point_shape"></label><br>
<label for="optShape" class="pv-select-label" data-i18n="appearance.point_shape">Форма точки</label><br>
<select id="optShape" name="optShape">
<option>SQUARE</option>
<option>CIRCLE</option>
<option>PARABOLOID</option>
<option>КВАДРАТ</option>
<option>КРУГ</option>
<option>ПАРАБОЛОИД</option>
</select>
</li>
<li id="materials_backface_container">
<label><input id="set_backface_culling" type="checkbox" /><span data-i18n="appearance.backface_culling"></span></label>
<label><input id="set_backface_culling" type="checkbox" /><span data-i18n="appearance.backface_culling">Отсечение обратных граней</span></label>
</li>
<!-- OPACITY -->
<li><span data-i18n="appearance.point_opacity"></span>:<span id="lblOpacity"></span><div id="sldOpacity"></div></li>
<li><span data-i18n="appearance.point_opacity">Прозрачность точек</span>:<span id="lblOpacity"></span><div id="sldOpacity"></div></li>
<div class="divider">
<span>Attribute</span>
<span>Атрибут</span>
</div>
<li>
<select id="optMaterial" name="optMaterial"></select>
</li>
<div id="materials.composite_weight_container">
<div class="divider">
<span>Attribute Weights</span>
<span>Веса атрибутов</span>
</div>
<li>RGB: <span id="lblWeightRGB"></span> <div id="sldWeightRGB"></div> </li>
<li>Intensity: <span id="lblWeightIntensity"></span> <div id="sldWeightIntensity"></div> </li>
<li>Elevation: <span id="lblWeightElevation"></span> <div id="sldWeightElevation"></div> </li>
<li>Classification: <span id="lblWeightClassification"></span> <div id="sldWeightClassification"></div> </li>
<li>Return Number: <span id="lblWeightReturnNumber"></span> <div id="sldWeightReturnNumber"></div> </li>
<li>Source ID: <span id="lblWeightSourceID"></span> <div id="sldWeightSourceID"></div> </li>
<li>RGB: <span id="lblWeightRGB"></span> <div id="sldWeightRGB"></div></li>
<li>Интенсивность: <span id="lblWeightIntensity"></span> <div id="sldWeightIntensity"></div></li>
<li>Высота: <span id="lblWeightElevation"></span> <div id="sldWeightElevation"></div></li>
<li>Классификация: <span id="lblWeightClassification"></span> <div id="sldWeightClassification"></div></li>
<li>Номер отражения: <span id="lblWeightReturnNumber"></span> <div id="sldWeightReturnNumber"></div></li>
<li>ID источника: <span id="lblWeightSourceID"></span> <div id="sldWeightSourceID"></div></li>
</div>
<div id="materials.rgb_container">
<div class="divider">
<span>RGB</span>
</div>
<li>Gamma: <span id="lblRGBGamma"></span> <div id="sldRGBGamma"></div> </li>
<li>Brightness: <span id="lblRGBBrightness"></span> <div id="sldRGBBrightness"></div> </li>
<li>Contrast: <span id="lblRGBContrast"></span> <div id="sldRGBContrast"></div> </li>
<li>Гамма: <span id="lblRGBGamma"></span> <div id="sldRGBGamma"></div></li>
<li>Яркость: <span id="lblRGBBrightness"></span> <div id="sldRGBBrightness"></div></li>
<li>Контраст: <span id="lblRGBContrast"></span> <div id="sldRGBContrast"></div></li>
</div>
<div id="materials.extra_container">
<div class="divider">
<span>Extra Attribute</span>
<span>Дополнительный атрибут</span>
</div>
<li><span data-i18n="appearance.extra_range"></span>: <span id="lblExtraRange"></span> <div id="sldExtraRange"></div></li>
<li><span data-i18n="appearance.extra_range">Диапазон</span>: <span id="lblExtraRange"></span> <div id="sldExtraRange"></div></li>
<li>
<selectgroup id="extra_gradient_repeat_option">
<option id="extra_gradient_repeat_clamp" value="CLAMP">Clamp</option>
<option id="extra_gradient_repeat_repeat" value="REPEAT">Repeat</option>
<option id="extra_gradient_repeat_mirrored_repeat" value="MIRRORED_REPEAT">Mirrored Repeat</option>
<option id="extra_gradient_repeat_clamp" value="CLAMP">Ограничить</option>
<option id="extra_gradient_repeat_repeat" value="REPEAT">Повторить</option>
<option id="extra_gradient_repeat_mirrored_repeat" value="MIRRORED_REPEAT">Отраженный повтор</option>
</selectgroup>
</li>
<li>
<span>Gradient Scheme:</span>
<span>Схема градиента:</span>
<div id="extra_gradient_scheme_selection" class="gradient_scheme" style="display: flex; padding: 1em 0em">
</div>
</li>
@ -175,79 +175,77 @@ export class PropertiesPanel{
<div class="divider">
<span>MATCAP</span>
</div>
<li>
<div id="matcap_scheme_selection" style="display: flex; flex-wrap: wrap;"> </div>
<div id="matcap_scheme_selection" style="display: flex; flex-wrap: wrap;"></div>
</li>
</div>
<div id="materials.color_container">
<div class="divider">
<span>Color</span>
<span>Цвет</span>
</div>
<input id="materials.color.picker" />
</div>
<div id="materials.elevation_container">
<div class="divider">
<span>Elevation</span>
<span>Высота</span>
</div>
<li><span data-i18n="appearance.elevation_range"></span>: <span id="lblHeightRange"></span> <div id="sldHeightRange"></div> </li>
<li><span data-i18n="appearance.elevation_range">Диапазон высоты</span>: <span id="lblHeightRange"></span> <div id="sldHeightRange"></div></li>
<li>
<selectgroup id="gradient_repeat_option">
<option id="gradient_repeat_clamp" value="CLAMP">Clamp</option>
<option id="gradient_repeat_repeat" value="REPEAT">Repeat</option>
<option id="gradient_repeat_mirrored_repeat" value="MIRRORED_REPEAT">Mirrored Repeat</option>
<option id="gradient_repeat_clamp" value="CLAMP">Ограничить</option>
<option id="gradient_repeat_repeat" value="REPEAT">Повторить</option>
<option id="gradient_repeat_mirrored_repeat" value="MIRRORED_REPEAT">Отраженный повтор</option>
</selectgroup>
</li>
<li>
<span>Gradient Scheme:</span>
<span>Схема градиента:</span>
<div id="elevation_gradient_scheme_selection" class="gradient_scheme" style="display: flex; padding: 1em 0em">
</div>
</li>
</div>
<div id="materials.transition_container">
<div class="divider">
<span>Transition</span>
<span>Переход</span>
</div>
<li>transition: <span id="lblTransition"></span> <div id="sldTransition"></div> </li>
<li>Переход: <span id="lblTransition"></span> <div id="sldTransition"></div></li>
</div>
<div id="materials.intensity_container">
<div class="divider">
<span>Intensity</span>
<span>Интенсивность</span>
</div>
<li>Range: <span id="lblIntensityRange"></span> <div id="sldIntensityRange"></div> </li>
<li>Gamma: <span id="lblIntensityGamma"></span> <div id="sldIntensityGamma"></div> </li>
<li>Brightness: <span id="lblIntensityBrightness"></span> <div id="sldIntensityBrightness"></div> </li>
<li>Contrast: <span id="lblIntensityContrast"></span> <div id="sldIntensityContrast"></div> </li>
<li>Диапазон: <span id="lblIntensityRange"></span> <div id="sldIntensityRange"></div></li>
<li>Гамма: <span id="lblIntensityGamma"></span> <div id="sldIntensityGamma"></div></li>
<li>Яркость: <span id="lblIntensityBrightness"></span> <div id="sldIntensityBrightness"></div></li>
<li>Контраст: <span id="lblIntensityContrast"></span> <div id="sldIntensityContrast"></div></li>
</div>
<div id="materials.gpstime_container">
<div class="divider">
<span>GPS Time</span>
<span>GPS-время</span>
</div>
</div>
<div id="materials.index_container">
<div class="divider">
<span>Indices</span>
<span>Индексы</span>
</div>
</div>
</ul>
</div>
`);
panel.i18n();
this.container.append(panel);
@ -801,7 +799,7 @@ export class PropertiesPanel{
}
if(range){
let msg = `${range[0].toFixed(2)} to ${range[1].toFixed(2)}`;
let msg = `${range[0].toFixed(2)} до ${range[1].toFixed(2)}`;
panel.find('#lblExtraRange').html(msg);
}else{
panel.find("could not deduce range");
@ -811,7 +809,7 @@ export class PropertiesPanel{
let updateIntensityRange = function () {
let range = material.intensityRange;
panel.find('#lblIntensityRange').html(`${parseInt(range[0])} to ${parseInt(range[1])}`);
panel.find('#lblIntensityRange').html(`${parseInt(range[0])} до ${parseInt(range[1])}`);
};
{

View File

@ -118,7 +118,7 @@
}
.potree_sidebar_brand{
margin: 1px 20px;
margin: 1px 5px;
line-height: 2em;
font-size: 100%;
font-weight: bold;
@ -398,7 +398,7 @@ body{
}
.pv-menu-list > *{
margin: 4px 20px;
margin: 4px 21px 4px 10px;
}
.ui-slider {

View File

@ -1,278 +1,255 @@
<div id="sidebar_root" class="">
<div id="sidebar_header">
<span id="potree_branding" class="potree_sidebar_brand">
<a href="http://potree.org" target="_blank">potree.org</a>
<span style="margin: 0px 3px; color: #9AA1A4"> - </span>
<a href="https://github.com/potree/potree" target="_blank">github</a>
<span style="margin: 0px 3px; color: #9AA1A4"> - </span>
<a href="https://twitter.com/m_schuetz" target="_blank">twitter</a>
<span style="flex-grow: 1"></span>
<span id="potree_version_number" style="color: #9AA1A4; font-size: 80%; font-weight: 100"></span>
</span>
<div id="potree_languages" style="font-family:arial;"></div>
<span id="potree_branding" class="potree_sidebar_brand">
<a href="http://potree.org" target="_blank">potree.org</a>
<span style="margin: 0px 3px; color: #9AA1A4"> – </span>
<a href="https://github.com/potree/potree" target="_blank">github</a>
<span style="flex-grow: 1"></span>
<span id="potree_version_number" style="color: #9AA1A4; font-size: 80%; font-weight: 100"></span>
</span>
<div id="potree_languages" style="font-family:arial;"></div>
</div>
<div>
<div id="potree_menu" class="accordion">
<!-- APPEARANCE -->
<div id="potree_menu" class="accordion">
<!-- ВНЕШНИЙ ВИД -->
<h3 id="menu_appearance"><span data-i18n="tb.rendering_opt"></span></h3>
<div>
<ul class="pv-menu-list">
<li><span data-i18n="appearance.nb_max_pts"></span>: <span id="lblPointBudget"></span> <div id="sldPointBudget"></div></li>
<li><span data-i18n="appearance.field_view"></span>: <span id="lblFOV"></span><div id="sldFOV"></div></li>
<div class="divider"><span>Eye-Dome-Lighting</span></div>
<li><label><input type="checkbox" id="chkEDLEnabled"/><span data-i18n="appearance.edl_enable"></span></label></li>
<li><span data-i18n="appearance.edl_radius"></span>: <span id="lblEDLRadius"></span><div id="sldEDLRadius"></div></li>
<li><span data-i18n="appearance.edl_strength"></span>: <span id="lblEDLStrength"></span><div id="sldEDLStrength"></div></li>
<li><span data-i18n="appearance.edl_opacity"></span>: <span id="lblEDLOpacity"></span><div id="sldEDLOpacity"></div></li>
<div class="divider"><span>Background</span></div>
<li>
<selectgroup id="background_options">
<option id="background_options_skybox" value="skybox">Skybox</option>
<option id="background_options_gradient" value="gradient">Gradient</option>
<option id="background_options_black" value="black">Black</option>
<option id="background_options_white" value="white">White</option>
<option id="background_options_none" value="null">None</option>
</selectgroup>
</li>
<div class="divider"><span>Other</span></div>
<li>
<selectgroup id="splat_quality_options">
<option id="splat_quality_options_standard" value="standard">Standard</option>
<option id="splat_quality_options_hq" value="hq">High Quality</option>
</selectgroup>
</li>
<li><span data-i18n="appearance.min_node_size"></span>: <span id="lblMinNodeSize"></span><div id="sldMinNodeSize"></div></li>
<li><label><input id="show_bounding_box" type="checkbox" /><span data-i18n="appearance.box"></span></label></li>
<li><label><input id="set_freeze" type="checkbox" /><span data-i18n="appearance.freeze"></span></label></li>
</ul>
<ul class="pv-menu-list">
<li><span data-i18n="appearance.nb_max_pts"></span>: <span id="lblPointBudget"></span> <div id="sldPointBudget"></div></li>
<li><span data-i18n="appearance.field_view"></span>: <span id="lblFOV"></span><div id="sldFOV"></div></li>
<div class="divider"><span>Eye-Dome освещение</span></div>
<li>
<label>
<input type="checkbox" id="chkEDLEnabled"/>
<span data-i18n="appearance.edl_enable"></span>
</label>
</li>
<li><span data-i18n="appearance.edl_radius"></span>: <span id="lblEDLRadius"></span><div id="sldEDLRadius"></div></li>
<li><span data-i18n="appearance.edl_strength"></span>: <span id="lblEDLStrength"></span><div id="sldEDLStrength"></div></li>
<li><span data-i18n="appearance.edl_opacity"></span>: <span id="lblEDLOpacity"></span><div id="sldEDLOpacity"></div></li>
<div class="divider"><span>Фон</span></div>
<li>
<selectgroup id="background_options">
<option id="background_options_skybox" value="skybox">Небо (Skybox)</option>
<option id="background_options_gradient" value="gradient">Градиент</option>
<option id="background_options_black" value="black">Чёрный</option>
<option id="background_options_white" value="white">Белый</option>
<option id="background_options_none" value="null">Без фона</option>
</selectgroup>
</li>
<div class="divider"><span>Прочее</span></div>
<li>
<selectgroup id="splat_quality_options">
<option id="splat_quality_options_standard" value="standard">Стандартное</option>
<option id="splat_quality_options_hq" value="hq">Высокое качество</option>
</selectgroup>
</li>
<li><span data-i18n="appearance.min_node_size"></span>: <span id="lblMinNodeSize"></span><div id="sldMinNodeSize"></div></li>
<li>
<label>
<input id="show_bounding_box" type="checkbox" />
<span data-i18n="appearance.box"></span>
</label>
</li>
<li>
<label>
<input id="set_freeze" type="checkbox" />
<span data-i18n="appearance.freeze"></span>
</label>
</li>
</ul>
</div>
<!-- TOOLS -->
<!-- ИНСТРУМЕНТЫ -->
<h3 id="menu_tools"><span data-i18n="tb.tools_opt"></span></h3>
<div class="pv-menu-list">
<div class="divider"><span>Measurement</span></div>
<li id="tools"></li>
<li>
<selectgroup id="measurement_options_show">
<option id="measurement_options_show_yes" value="SHOW">Show</option>
<option id="measurement_options_show_no" value="HIDE">Hide</option>
</selectgroup>
</li>
<div class="divider"><span>Clipping</span></div>
<li id="clipping_tools"></li>
<li>
<selectgroup id="cliptask_options">
<option id="cliptask_options_none" value="NONE">None</option>
<option id="cliptask_options_highlight" value="HIGHLIGHT">Highlight</option>
<option id="cliptask_options_show_inside" value="SHOW_INSIDE">Inside</option>
<option id="cliptask_options_show_outside" value="SHOW_OUTSIDE">Outside</option>
</selectgroup>
</li>
<li>
<selectgroup id="clipmethod_options">
<option id="clipmethod_options_any" value="INSIDE_ANY">Inside Any</option>
<option id="clipmethod_options_all" value="INSIDE_ALL">Inside All</option>
</selectgroup>
</li>
<div class="divider"><span>Navigation</span></div>
<li id="navigation"></li>
<li><span data-i18n="appearance.move_speed"></span>: <span id="lblMoveSpeed"></span><div id="sldMoveSpeed"></div></li>
<div class="divider"><span>Измерение</span></div>
<li id="tools"></li>
<li>
<selectgroup id="measurement_options_show">
<option id="measurement_options_show_yes" value="SHOW">Показать</option>
<option id="measurement_options_show_no" value="HIDE">Скрыть</option>
</selectgroup>
</li>
<div class="divider"><span>Обрезка</span></div>
<li id="clipping_tools"></li>
<li>
<selectgroup id="cliptask_options">
<option id="cliptask_options_none" value="NONE">Нет</option>
<option id="cliptask_options_highlight" value="HIGHLIGHT">Выделение</option>
<option id="cliptask_options_show_inside" value="SHOW_INSIDE">Внутри</option>
<option id="cliptask_options_show_outside" value="SHOW_OUTSIDE">Снаружи</option>
</selectgroup>
</li>
<li>
<selectgroup id="clipmethod_options">
<option id="clipmethod_options_any" value="INSIDE_ANY">Внутри любого</option>
<option id="clipmethod_options_all" value="INSIDE_ALL">Внутри всех</option>
</selectgroup>
</li>
<div class="divider"><span>Навигация</span></div>
<li id="navigation"></li>
<li><span data-i18n="appearance.move_speed"></span>: <span id="lblMoveSpeed"></span><div id="sldMoveSpeed"></div></li>
</div>
<!-- SCENE -->
<!-- СЦЕНА -->
<h3 id="menu_scene"><span data-i18n="tb.scene_opt"></span></h3>
<div class="pv-menu-list">
<div id="scene_export"></div>
<div class="divider"><span>Objects</span></div>
<div id="scene_objects"></div>
<div class="divider"><span>Properties</span></div>
<div id="scene_object_properties"></div>
<div id="scene_export"></div>
<div class="divider"><span>Объекты</span></div>
<div id="scene_objects"></div>
<div class="divider"><span>Свойства</span></div>
<div id="scene_object_properties"></div>
</div>
<!-- Classification -->
<!-- ФИЛЬТРЫ -->
<h3 id="menu_filters"><span data-i18n="tb.filters_opt"></span></h3>
<div>
<div class="divider"><span>Classification</span></div>
<ul id="classificationList" class="pv-menu-list"></ul>
<div class="divider"><span>Returns</span></div>
<div id="return_filter_panel">
<ul class="pv-menu-list">
<li><span data-i18n="filters.return_number"></span>: <span id="lblReturnNumber"></span> <div id="sldReturnNumber"></div></li>
<li><span data-i18n="filters.number_of_returns"></span>: <span id="lblNumberOfReturns"></span> <div id="sldNumberOfReturns"></div></li>
</ul>
</div>
<div class="divider"><span>Point Source ID</span></div>
<div>
<ul class="pv-menu-list" id="pointsourceid_filter_panel">
</ul>
</div>
<div class="divider"><span>GPS Time</span></div>
<div id="gpstime_filter_panel">
<ul class="pv-menu-list">
<div id="gpstime_multilevel_range_container">
<li>
<span style="display: flex">
<span>Time: </span>
<input id="txtGpsTime" type="text" style="margin: auto 10px"/>
<input id="btnFindGpsTime" type="button" value="find" />
</span>
</li>
</div>
</ul>
</div>
<div class="divider"><span>Классификация</span></div>
<ul id="classificationList" class="pv-menu-list"></ul>
<div class="divider"><span>Возвраты</span></div>
<div id="return_filter_panel">
<ul class="pv-menu-list">
<li><span data-i18n="filters.return_number"></span>: <span id="lblReturnNumber"></span> <div id="sldReturnNumber"></div></li>
<li><span data-i18n="filters.number_of_returns"></span>: <span id="lblNumberOfReturns"></span> <div id="sldNumberOfReturns"></div></li>
</ul>
</div>
<div class="divider"><span>ID источника точек</span></div>
<div>
<ul class="pv-menu-list" id="pointsourceid_filter_panel">
</ul>
</div>
<div class="divider"><span>GPS-время</span></div>
<div id="gpstime_filter_panel">
<ul class="pv-menu-list">
<div id="gpstime_multilevel_range_container">
<li>
<span style="display: flex">
<span>Время:</span>
<input id="txtGpsTime" type="text" style="margin: auto 2px"/>
<input id="btnFindGpsTime" type="button" value="Найти" />
</span>
</li>
</div>
</ul>
</div>
</div>
<!-- ABOUT -->
<!-- О ПРОГРАММЕ -->
<h3 id="menu_about"><span data-i18n="tb.about_opt"></span></h3>
<div>
<ul class="pv-menu-list">
<li><a href="http://potree.org" target="_blank">Potree</a> is a viewer for large point cloud / LIDAR data sets, developed at the Vienna University of Technology.
<a href="https://github.com/potree/potree" target="_blank">(github)</a>
</li>
<li><b>Author: </b><a href="mailto:mschuetz@potree.org">Markus Sch&uuml;tz</a></li>
<li><b>License: </b><a target="_blank" href="https://github.com/potree/potree/blob/develop/LICENSE/">FreeBSD (2-clause BSD)</a></li>
<li><b>Dependency Licenses:</b> <a target="_blank" href="https://github.com/potree/potree/tree/develop/libs/">See github</a></li>
<li>
<b>Funding:</b>
Potree is funded by a combination of research projects, companies, institutions and individuals. If you're making good use of Potree, please consider funding its future development <a href="https://github.com/sponsors/potree">via Github Sponsors</a> or by directly inquiring <a href="mailto:mschuetz@potree.org">via e-mail</a>.
<br>
<br>
Research projects who's funding contributes to Potree:
<table>
<tr>
<th>Project Name</th>
<th>Funding Agency</th>
</tr>
<tr>
<td><a href="https://projekte.ffg.at/projekt/3851914">LargeClouds2BIM</a></td>
<td><a href="https://www.ffg.at/">FFG</a></td>
</tr>
<tr>
<td><a href="https://harvest4d.org/">Harvest4D</a></td>
<td><a href="https://ec.europa.eu/transport/themes/research/fp7_en">EU 7th Framework Program 323567</a></td>
</tr>
<tr>
<td><a href="https://gcd.tuwien.ac.at/">GCD Doctoral College</a></td>
<td><a href="https://www.tuwien.at/en/">TU Wien</a></td>
</tr>
<tr>
<td><a href="https://www.cg.tuwien.ac.at/research/projects/Superhumans/">Superhumans</a></td>
<td><a href="https://www.fwf.ac.at/">FWF</a></td>
</tr>
</table>
<br>
Thanks to all the companies and institutions funding Potree:
<table style="width: 100%; text-align: center;">
<tr>
<th style="padding-top: 0.7em;">• Diamond •</th>
</tr>
<tr><td><a href="http://www.ne.ch/autorites/DDTE/SGRF/SITN/Pages/accueil.aspx">SITN</a> </td></tr>
<tr><td><a href="http://synth.earth/">Synth</a></td></tr>
<tr><td><a href="http://www.geocue.com">GeoCue Group</a> </td></tr>
<tr><td><a href="http://rapidlasso.com">Rapidlasso</a> </td></tr>
<tr>
<th style="padding-top: 0.7em;">• Gold •</th>
</tr>
<tr><td><a href="https://www.bart.gov">BART</a></td></tr>
<tr>
<th style="padding-top: 0.7em;">• Silver •</th>
</tr>
<tr><td><a href="https://biology.anu.edu.au/research/facilities/australian-plant-phenomics-facility-anu">APPF ANU</a></td></tr>
<tr><td><a href="https://www.limit-addict.fr/">LimitAddict</a></td></tr>
<tr><td><a href="http://georepublic.info">Georepublic</a></td></tr>
<tr>
<th style="padding-top: 0.7em;">• Bronze •</th>
</tr>
<tr><td><a href="https://www.eventart.at/">EventArt</a></td></tr>
<tr><td><a href="https://www.geodelta.com/">Geodelta</a></td></tr>
<tr><td><a href="https://www.e-cassini.fr/">E-Cassini</a></td></tr>
<tr><td><a href="https://www.sogelink.fr/">Sogelink</a></td></tr>
<tr><td>Data-viewer</td></tr>
<tr><td><a href="http://www.helimap.com/">Helimap</a></td></tr>
<tr><td><a href="http://www.vevey.ch/">Vevey</a></td></tr>
<tr><td><a href="https://www.yverdon-les-bains.ch/">yverdon-les-bains</a></td></tr>
<tr><td><a href="http://archpro.lbg.ac.at">LBI ArchPro</a> </td></tr>
<tr><td><a href="http://www.kts.co.jp">KTS</a></td></tr>
<tr><td><a href="http://veesus.com">Veesus</a></td></tr>
<tr><td><a href="http://www.sigeom.ch">Sigeom</a></td></tr>
</table>
</li>
</ul>
<ul class="pv-menu-list">
<li>
<a href="http://potree.org" target="_blank">Potree</a> — это просмотрщик больших облаков точек / наборов данных LIDAR, разработанный в Венском техническом университете.
<a href="https://github.com/potree/potree" target="_blank">(github)</a>
</li>
<li><b>Автор:</b> <a href="mailto:mschuetz@potree.org">Markus Schütz</a></li>
<li><b>Лицензия:</b> <a target="_blank" href="https://github.com/potree/potree/blob/develop/LICENSE/">FreeBSD (2-клаузная BSD)</a></li>
<li><b>Лицензии зависимостей:</b> <a target="_blank" href="https://github.com/potree/potree/tree/develop/libs/">См. на GitHub</a></li>
<li>
<b>Финансирование:</b><br>
Potree финансируется за счёт исследовательских проектов, компаний, учреждений и частных лиц. Если вы активно используете Potree, пожалуйста, рассмотрите возможность финансирования его будущей разработки <a href="https://github.com/sponsors/potree">через GitHub Sponsors</a> или напрямую, отправив запрос по <a href="mailto:mschuetz@potree.org">электронной почте</a>.<br><br>
Исследовательские проекты, финансирование которых вносит вклад в Potree:
<table>
<tr>
<th>Название проекта</th>
<th>Орган финансирования</th>
</tr>
<tr>
<td><a href="https://projekte.ffg.at/projekt/3851914">LargeClouds2BIM</a></td>
<td><a href="https://www.ffg.at/">FFG</a></td>
</tr>
<tr>
<td><a href="https://harvest4d.org/">Harvest4D</a></td>
<td><a href="https://ec.europa.eu/transport/themes/research/fp7_en">7-я Рамочная программа ЕС, проект 323567</a></td>
</tr>
<tr>
<td><a href="https://gcd.tuwien.ac.at/">Докторский колледж GCD</a></td>
<td><a href="https://www.tuwien.at/en/">ТУ Вена</a></td>
</tr>
<tr>
<td><a href="https://www.cg.tuwien.ac.at/research/projects/Superhumans/">Superhumans</a></td>
<td><a href="https://www.fwf.ac.at/">FWF</a></td>
</tr>
</table><br>
Благодарности всем компаниям и учреждениям, финансирующим Potree:
<table style="width: 100%; text-align: center;">
<tr>
<th style="padding-top: 0.7em;">• Алмазный уровень •</th>
</tr>
<tr><td><a href="http://www.ne.ch/autorites/DDTE/SGRF/SITN/Pages/accueil.aspx">SITN</a></td></tr>
<tr><td><a href="http://synth.earth/">Synth</a></td></tr>
<tr><td><a href="http://www.geocue.com">GeoCue Group</a></td></tr>
<tr><td><a href="http://rapidlasso.com">Rapidlasso</a></td></tr>
<tr>
<th style="padding-top: 0.7em;">• Золотой уровень •</th>
</tr>
<tr><td><a href="https://www.bart.gov">BART</a></td></tr>
<tr>
<th style="padding-top: 0.7em;">• Серебряный уровень •</th>
</tr>
<tr><td><a href="https://biology.anu.edu.au/research/facilities/australian-plant-phenomics-facility-anu">APPF ANU</a></td></tr>
<tr><td><a href="https://www.limit-addict.fr/">LimitAddict</a></td></tr>
<tr><td><a href="http://georepublic.info">Georepublic</a></td></tr>
<tr>
<th style="padding-top: 0.7em;">• Бронзовый уровень •</th>
</tr>
<tr><td><a href="https://www.eventart.at/">EventArt</a></td></tr>
<tr><td><a href="https://www.geodelta.com/">Geodelta</a></td></tr>
<tr><td><a href="https://www.e-cassini.fr/">E-Cassini</a></td></tr>
<tr><td><a href="https://www.sogelink.fr/">Sogelink</a></td></tr>
<tr><td>Data-viewer</td></tr>
<tr><td><a href="http://www.helimap.com/">Helimap</a></td></tr>
<tr><td><a href="http://www.vevey.ch/">Vevey</a></td></tr>
<tr><td><a href="https://www.yverdon-les-bains.ch/">Yverdon-les-Bains</a></td></tr>
<tr><td><a href="http://archpro.lbg.ac.at">LBI ArchPro</a></td></tr>
<tr><td><a href="http://www.kts.co.jp">KTS</a></td></tr>
<tr><td><a href="http://veesus.com">Veesus</a></td></tr>
<tr><td><a href="http://www.sigeom.ch">Sigeom</a></td></tr>
</table>
</li>
</ul>
</div>
</div>
<div>
<br><br><br><br><br><br><br><br><br><br><br><br><br>
</div>
</div>
<div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>

View File

@ -282,7 +282,8 @@ export class Sidebar{
{ // SHOW / HIDE Measurements
let elShow = $("#measurement_options_show");
elShow.selectgroup({title: "Show/Hide labels"});
elShow.selectgroup({title: "Показать/Скрыть подписи"});
elShow.find("input").click( (e) => {
const show = e.target.value === "SHOW";
@ -309,7 +310,7 @@ export class Sidebar{
let potreeIcon = `${Potree.resourcePath}/icons/file_potree.svg`;
elExport.append(`
Export: <br>
Экспорт: <br>
<a href="#" download="measure.json"><img name="geojson_export_button" src="${geoJSONIcon}" class="button-icon" style="height: 24px" /></a>
<a href="#" download="measure.dxf"><img name="dxf_export_button" src="${dxfIcon}" class="button-icon" style="height: 24px" /></a>
<a href="#" download="potree.json5"><img name="potree_export_button" src="${potreeIcon}" class="button-icon" style="height: 24px" /></a>
@ -790,7 +791,8 @@ export class Sidebar{
{
let elClipTask = $("#cliptask_options");
elClipTask.selectgroup({title: "Clip Task"});
elClipTask.selectgroup({ title: "Задача обрезки" });
elClipTask.find("input").click( (e) => {
this.viewer.setClipTask(ClipTask[e.target.value]);
@ -803,7 +805,8 @@ export class Sidebar{
{
let elClipMethod = $("#clipmethod_options");
elClipMethod.selectgroup({title: "Clip Method"});
elClipMethod.selectgroup({ title: "Метод обрезки" });
elClipMethod.find("input").click( (e) => {
this.viewer.setClipMethod(ClipMethod[e.target.value]);
@ -1235,15 +1238,9 @@ export class Sidebar{
});
let languages = [
["RU", "ru"],
["EN", "en"],
["FR", "fr"],
["DE", "de"],
["JP", "jp"],
["ES", "es"],
["SE", "se"],
["ZH", "zh"],
["IT", "it"],
["CA", "ca"]
];
let elLanguages = $('#potree_languages');
@ -1483,7 +1480,8 @@ export class Sidebar{
</selectgroup>
`);
elNavigation.append(elCameraProjection);
elCameraProjection.selectgroup({title: "Camera Projection"});
elCameraProjection.selectgroup({ title: "Проекция камеры" });
elCameraProjection.find("input").click( (e) => {
this.viewer.setCameraMode(CameraMode[e.target.value]);
});