Merge branch 'develop' into patch-1
23
.jshintrc
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"bitwise": true,
|
||||
"camelcase": true,
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"immed": true,
|
||||
"indent": 4,
|
||||
"latedef": true,
|
||||
"newcap": true,
|
||||
"noarg": true,
|
||||
"nonew": true,
|
||||
"undef": true,
|
||||
"unused": true,
|
||||
"esversion": 6,
|
||||
"sub": true,
|
||||
"browser": true,
|
||||
"node": true,
|
||||
"globals": {
|
||||
"Potree": true,
|
||||
"THREE": true,
|
||||
"$": true
|
||||
}
|
||||
}
|
||||
@ -48,7 +48,6 @@
|
||||
|
||||
|
||||
.potree_container{
|
||||
/*font-size: 75%;*/
|
||||
}
|
||||
|
||||
.potree_info_text{
|
||||
@ -89,7 +88,6 @@
|
||||
|
||||
#potree_sidebar_container a{
|
||||
color: #8Aa1c4;
|
||||
//color: red;
|
||||
}
|
||||
|
||||
.potree_menu_toggle{
|
||||
@ -144,8 +142,39 @@ a:hover, a:visited, a:link, a:active{
|
||||
}
|
||||
|
||||
.annotation{
|
||||
-webkit-transition: opacity .1s;
|
||||
transition: opacity .1s;
|
||||
position: absolute;
|
||||
padding: 10px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.annotation-titlebar{
|
||||
color: white;
|
||||
background-color: black;
|
||||
border-radius: 1.5em;
|
||||
font-size: 1em;
|
||||
opacity: 1;
|
||||
margin: auto;
|
||||
display: table;
|
||||
}
|
||||
|
||||
.annotation-expand{
|
||||
color: white;
|
||||
font-size: 0.6em;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.annotation-action-icon{
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
filter: invert(1);
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
line-height: 1.5em;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
font-weight: bold;
|
||||
padding: 1px 8px 0px 1px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.annotation-item {
|
||||
@ -172,11 +201,43 @@ a:hover, a:visited, a:link, a:active{
|
||||
}
|
||||
|
||||
.annotation-label{
|
||||
display: block;
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
flex-grow: 1;
|
||||
margin: 2px 8px;
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
z-index: 100;
|
||||
vertical-align: middle;
|
||||
line-height: 1.5em;
|
||||
font-family: Arial;
|
||||
font-weight: bold;
|
||||
padding: 1px 8px 0px 8px;
|
||||
cursor: default;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.annotation-description{
|
||||
position: relative;
|
||||
color: white;
|
||||
background-color: black;
|
||||
padding: 10px;
|
||||
margin: 5px 0px 0px 0px;
|
||||
border-radius: 4px;
|
||||
display: none;
|
||||
max-width: 500px;
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
.annotation-description-close{
|
||||
filter: invert(100%);
|
||||
float: right;
|
||||
opacity: 0.5;
|
||||
margin: 0px 0px 8px 8px;
|
||||
}
|
||||
|
||||
|
||||
.annotation-description-content{
|
||||
color: white;
|
||||
}
|
||||
|
||||
.annotation-icon{
|
||||
@ -196,6 +257,9 @@ canvas {
|
||||
body{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.axis {
|
||||
@ -204,21 +268,78 @@ body{
|
||||
}
|
||||
|
||||
.axis path{
|
||||
fill: none;
|
||||
stroke: var(--font-color);
|
||||
shape-rendering: crispEdges;
|
||||
opacity: 0.7;
|
||||
fill: rgba(255, 255, 255, 0.5);
|
||||
stroke: var(--font-color);
|
||||
shape-rendering: crispEdges;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.axis line {
|
||||
fill: none;
|
||||
stroke: var(--font-color);
|
||||
shape-rendering: crispEdges;
|
||||
opacity: 0.1;
|
||||
fill: rgba(255, 255, 255, 0.5);
|
||||
stroke: var(--font-color);
|
||||
shape-rendering: crispEdges;
|
||||
opacity: 0.1;
|
||||
}
|
||||
|
||||
.tick text{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.measurement_item{
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.measurement_header{
|
||||
display:flex;
|
||||
cursor: pointer;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.measurement_header:hover{
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.measurement_item_icon{
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.measurement_header_title{
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.measurement_icon{
|
||||
padding: 0px 6px 0px 4px;
|
||||
}
|
||||
|
||||
.measurement_content{
|
||||
padding: 5px 15px 5px 10px;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.measurement_value_table{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.measurement-panel-icon{
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.measurement-panel-title{
|
||||
flex-grow: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.measurement-panel-remove{
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.measurement-detail-node-marker{
|
||||
border: 1px solid var(--border-color);
|
||||
@ -236,7 +357,7 @@ body{
|
||||
margin-top: 15px;
|
||||
text-align: center;
|
||||
background-color: var(--measurement-detail-node-bg-light);
|
||||
color: var(--border-color);
|
||||
color: var(--border-color);
|
||||
}
|
||||
|
||||
.measurement-detail-node-angle{
|
||||
@ -275,6 +396,13 @@ body{
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.pv-panel-heading{
|
||||
padding: 4px !important;
|
||||
display: flex;
|
||||
@ -346,7 +474,6 @@ body{
|
||||
}
|
||||
|
||||
.ui-widget-content{
|
||||
background-color: none !important;
|
||||
color: var(--font-color) !important;
|
||||
}
|
||||
|
||||
@ -369,6 +496,10 @@ body{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.accordion > h3:hover{
|
||||
filter: brightness(125%);
|
||||
}
|
||||
|
||||
.accordion > div{
|
||||
background: none !important;
|
||||
}
|
||||
@ -418,22 +549,9 @@ body{
|
||||
|
||||
|
||||
|
||||
/* no scrollbar styling in firefox, sadly */
|
||||
.navmenu::-webkit-scrollbar{
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.navmenu::-webkit-scrollbar-track{
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.navmenu::-webkit-scrollbar-thumb{
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.pv-titlebar{
|
||||
background-color: var(--color-1);
|
||||
color: #var(--color-2);
|
||||
color: var(--color-2);
|
||||
font-weight: 700;
|
||||
padding: 5px;
|
||||
}
|
||||
@ -524,7 +642,7 @@ body{
|
||||
|
||||
|
||||
|
||||
/* HOVER MENU */
|
||||
|
||||
|
||||
.hover_menu{
|
||||
position: absolute;
|
||||
@ -534,11 +652,11 @@ body{
|
||||
border-radius: 100px;
|
||||
display: block;
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
}
|
||||
|
||||
.hover_menu_icon{
|
||||
position: absolute;
|
||||
//border: 1px solid black;
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
@ -592,3 +710,35 @@ body{
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
.axis path,
|
||||
.axis line{
|
||||
fill: none;
|
||||
stroke: white;
|
||||
}
|
||||
|
||||
.line{
|
||||
fill: none;
|
||||
stroke: blue;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
|
||||
.tick text{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.tick line{
|
||||
opacity: 0.2;
|
||||
}
|
||||
*/
|
||||
@ -1,9 +1,15 @@
|
||||
<div id="profile_window" style="position: absolute; width: 100%; height: 30%; bottom: 0px; border: 1px solid black; display: none; box-sizing: border-box;">
|
||||
<div id="profile_window" style="
|
||||
position: absolute;
|
||||
width: 70%; height: 40%;
|
||||
left: 15%; top: 55%;
|
||||
margin: 5px;
|
||||
border: 1px solid black;
|
||||
display: none; box-sizing: border-box; z-index:10000">
|
||||
|
||||
<div id="profile_titlebar" class="pv-titlebar" style="display: flex; position: absolute; height: 30px; width: 100%; box-sizing: border-box;">
|
||||
<span style="padding-right: 10px"><span data-i18n="profile.title"></span></span>
|
||||
<span id="profileInfo" style="flex-grow: 1; flex-direction: row"> </span>
|
||||
<span id="profile_toggle_size_button" class="ui-icon ui-icon-newwin profile-button"> </span>
|
||||
<!-- <span id="profile_toggle_size_button" class="ui-icon ui-icon-newwin profile-button"> </span> -->
|
||||
<span id="closeProfileContainer" class="ui-icon ui-icon-close profile-button"> </span>
|
||||
</div>
|
||||
|
||||
@ -34,7 +40,7 @@
|
||||
width: 100%;
|
||||
flex-grow: 1;
|
||||
position: relative; height: 100%;
|
||||
box-sizing: border-box;">
|
||||
box-sizing: border-box; user-select: none">
|
||||
<div style="
|
||||
position: absolute;
|
||||
left: 41px;
|
||||
@ -52,7 +58,7 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
"></svg>
|
||||
<canvas id="profileCanvas" style="
|
||||
<div id="profileCanvasContainer" style="
|
||||
position: absolute;
|
||||
left: 41px;
|
||||
top: 0;
|
||||
@ -60,8 +66,22 @@
|
||||
width: calc(100% - 41px);
|
||||
height: calc(100% - 20px);
|
||||
/*background-color: #000000;*/
|
||||
"></canvas>
|
||||
<div id="profile_selection_marker" style="position: absolute; pointer-events:none;"></div>
|
||||
"></div>
|
||||
|
||||
<div id="profileSelectionProperties" style="
|
||||
position: absolute;
|
||||
left: 50px;
|
||||
top: 10px;
|
||||
background-color: black;
|
||||
color: white;
|
||||
opacity: 0.7;
|
||||
padding: 5px;
|
||||
border: 1px solid white;
|
||||
user-select: auto;
|
||||
">
|
||||
position: asdsadf asdf<br>
|
||||
rgb: 123 423 123
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
|
||||
93
build/potree/resources/icons/eye.svg
Normal file
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64.000001 64.000001"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
sodipodi:docname="eye.svg">
|
||||
<defs
|
||||
id="defs4" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.9195959"
|
||||
inkscape:cx="-11.588817"
|
||||
inkscape:cy="29.04571"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1378"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Ebene 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-988.36216)">
|
||||
<circle
|
||||
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path4138"
|
||||
cx="32.167046"
|
||||
cy="1019.7532"
|
||||
r="12.911013" />
|
||||
<circle
|
||||
r="6.2958488"
|
||||
cy="1016.4803"
|
||||
cx="28.566353"
|
||||
id="circle4140"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 6,1020.3622 c 0,0 8.635627,-20.3563 26,-20.3563 15.414839,0 26,20.3563 26,20.3563 0,0 -5.427431,21.4926 -26,21.4926 -20.126654,0 -26,-21.4926 -26,-21.4926 z"
|
||||
id="path4136"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cscsc" />
|
||||
<g
|
||||
id="g4150"
|
||||
transform="translate(76.645324,0)">
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 8,1044.3622 56,996.36216"
|
||||
id="path4144"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path4142"
|
||||
d="M 8,1044.3622 56,996.36216"
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
93
build/potree/resources/icons/eye_crossed.svg
Normal file
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64.000001 64.000001"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
sodipodi:docname="eye_crossed.svg">
|
||||
<defs
|
||||
id="defs4" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.9195959"
|
||||
inkscape:cx="26.72264"
|
||||
inkscape:cy="42.323076"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1378"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Ebene 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-988.36216)">
|
||||
<circle
|
||||
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path4138"
|
||||
cx="32.167046"
|
||||
cy="1019.7532"
|
||||
r="12.911013" />
|
||||
<circle
|
||||
r="6.2958488"
|
||||
cy="1016.4803"
|
||||
cx="28.566353"
|
||||
id="circle4140"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 6,1020.3622 c 0,0 8.635627,-20.3563 26,-20.3563 15.414839,0 26,20.3563 26,20.3563 0,0 -5.427431,21.4926 -26,21.4926 -20.126654,0 -26,-21.4926 -26,-21.4926 z"
|
||||
id="path4136"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cscsc" />
|
||||
<g
|
||||
id="g4150"
|
||||
transform="translate(-0.63134584,0)">
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 8,1044.3622 56,996.36216"
|
||||
id="path4144"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path4142"
|
||||
d="M 8,1044.3622 56,996.36216"
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
24
build/potree/resources/icons/image_preview.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
|
||||
$dir = './';
|
||||
$files = scandir($dir);
|
||||
|
||||
foreach($files as $key => $value){
|
||||
|
||||
if($value === "." || $value === ".." || $value === "image_preview.php"){
|
||||
continue;
|
||||
}
|
||||
|
||||
?>
|
||||
<div style="float: left; margin: 10px; width: 140px; height: 140px">
|
||||
<span ><?= $value ?></span><br>
|
||||
<img src="<?= $value ?>" style="width: 128px; border: 1px solid black" />
|
||||
</div>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@ -1,237 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.5 r10040"
|
||||
sodipodi:docname="round_dropdown.svg"
|
||||
inkscape:export-filename="D:\dev\workspaces\potree\develop\resources\icons\round_dropdown.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs4">
|
||||
<linearGradient
|
||||
id="linearGradient3777">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3781" />
|
||||
<stop
|
||||
style="stop-color:#316c79;stop-opacity:0.36274511;"
|
||||
offset="1"
|
||||
id="stop3783" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3927">
|
||||
<stop
|
||||
style="stop-color:#1c2a30;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3929" />
|
||||
<stop
|
||||
style="stop-color:#1c2a30;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3931" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3916">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3920" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0.28186274;"
|
||||
offset="1"
|
||||
id="stop3922" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3890">
|
||||
<stop
|
||||
style="stop-color:#a9c1c7;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3902" />
|
||||
<stop
|
||||
id="stop3906"
|
||||
offset="0.53744453"
|
||||
style="stop-color:#375d66;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3904"
|
||||
offset="1"
|
||||
style="stop-color:#1b3b42;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3832">
|
||||
<stop
|
||||
style="stop-color:#486b7d;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3834" />
|
||||
<stop
|
||||
style="stop-color:#486b7d;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3836" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3820">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3822" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3824" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3890"
|
||||
id="radialGradient3898"
|
||||
cx="26.198547"
|
||||
cy="56.964977"
|
||||
fx="26.198547"
|
||||
fy="56.964977"
|
||||
r="31.88294"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="pad"
|
||||
gradientTransform="matrix(2.3801773,-0.00906618,0.00377252,0.99041515,-30.640162,2.2988206)" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3916"
|
||||
id="radialGradient3914"
|
||||
cx="51.502235"
|
||||
cy="44.744881"
|
||||
fx="51.502235"
|
||||
fy="44.744881"
|
||||
r="31.88294"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.01358059,0.34693581,-0.44544965,-0.01743684,50.983185,28.551401)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3927"
|
||||
id="linearGradient3933"
|
||||
x1="62.708218"
|
||||
y1="-5.5219383"
|
||||
x2="8.1835146"
|
||||
y2="102.42551"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3777"
|
||||
id="radialGradient3785"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.06391254,0.55102676,-0.94714653,-0.10985773,40.412692,-13.569564)"
|
||||
spreadMethod="pad"
|
||||
cx="28.949028"
|
||||
cy="0.31425104"
|
||||
fx="28.949028"
|
||||
fy="0.31425104"
|
||||
r="31.88294" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="5.6"
|
||||
inkscape:cx="27.539875"
|
||||
inkscape:cy="13.64197"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1018"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-988.36215)">
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:url(#radialGradient3898);stroke:none;stroke-width:4.62613439999999980;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
id="path3000-1"
|
||||
sodipodi:cx="32.135479"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:ry="31.88294"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)" />
|
||||
<path
|
||||
sodipodi:type="star"
|
||||
style="fill:#22333a;fill-opacity:0.55319147999999996;stroke:#000000;stroke-width:2.98419642000000000;stroke-miterlimit:4;stroke-opacity:0.55851066;stroke-dasharray:none"
|
||||
id="path3789"
|
||||
sodipodi:sides="3"
|
||||
sodipodi:cx="-43.035713"
|
||||
sodipodi:cy="15.428571"
|
||||
sodipodi:r1="17.18837"
|
||||
sodipodi:r2="8.5941849"
|
||||
sodipodi:arg1="2.6179939"
|
||||
sodipodi:arg2="3.6651914"
|
||||
inkscape:flatsided="true"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="m -57.921278,24.022755 14.885565,-25.782554 14.885564,25.782555 z"
|
||||
transform="matrix(-0.33509859,0,0,-0.33509859,17.79358,1042.2203)"
|
||||
inkscape:transform-center-y="-5.4685954" />
|
||||
<image
|
||||
y="998.36212"
|
||||
x="10"
|
||||
id="image2993"
|
||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAA5FJREFU WIXtl11sVFUUhb8zM0ynLZUqmVpH5qEjQUZLiIhiTMSSJtQihh8V+mDQB0xETIwxiEUJaEjwwcSH hhhJoPgXJCUpxjSEEFoKgoSW2FggvvhXA02AWie02rSdLh/O7dzxQqcFZ9oXd7Jy7z17z97rnnXO PneMJKbSfLlIaozJM8aEpowAsAlYNqFISVkFEAX6gf0Tis8BgQMFoDD0AaHx4rMqgTFmCbBmB1AD hcBTkyYBEAA6F4GSoBMg4MvblgDYATx3CwTemGZQZwwpjpJxFAlwfTwZMiXsKgggoAEoGad4KZB4 Zx7SOhevzUXAylsmAJQXBlHX+2h5OQKuAmszEPh8Tgka+AipzkXr6+PLMFbCTUsXIZ2xqN+KiosQ cBAIe2IXG4NaP3bjh07Za/I0ioQzyzAWgeYPdiIlXVz6HT29LDUbz6ctvB9eXu/G/XgRbX3Xfd74 amYZblZ8OjD4WRtq143YVo+KihFwCPhiZilq6bW+thH00BPo3pgbv/t4ZhmMUzR9L6/IL+bQhz1g fPBbO3RfgMdedGMSl+HIThjog4U18ECVHT/5Cex/hR5gZu05iC4AjcCWWfQluglLGvC2gcBNWkN1 uALanRbV0QTfb4eWBnh8NxREgAiU1Vl/P9AG/HUZGjcjYBXwdVMDdz68APBBZDXTE7t4zxhTK2kk YyMCfr2nDpXLonAxAjYCjf5iNGuf60vHHSsRsNfJUR+c7foe/BuVbEOmkBbg7jHXABAHxMWQUL7o zxdBhoAZjr8GuEaFT7zkd/GsX8CfOP0CexKK7/JsnlH8FBJVvh7gydGaXgmqiQQh/qh9+rYXBjtP S0o4s/WVMaaZ4yPrgaDnt2clXXHujwKHWTJUzdtR2ByFkA9igP/8XfDHMWNMpaRW7wwc5YW40JsW bz0ioHai7diTywBbgGFiM8Q3q0TTamHPiBbA/y8JsKfXAPUbhA5YLIwJmH87BNLyVgDdgCjIk3Of WgfpgcsB0XVK6GfR2yF8vkv/pXha7lLnrYfT9fcS2EXZbHFFFp82CtiTDQJOfr+3uHcRVjO30m5q gIPNAIfJkklKAq3e8QCAMeZ+oIyiSmh3PGeak9jVnFMbnQH76fRLPvQNw+A1uHohtf0mg8BSANqe AVME/vsgi9OfyUY/SsOpEV2H4Q6AI5NBIHUaGmOiQBVWjvnAHHmPylwSmCrL1V+z/wlM2P4BOD/f 77tWK3UAAAAASUVORK5CYII= "
|
||||
height="44"
|
||||
width="44" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:none;stroke:url(#linearGradient3933);stroke-width:4.62557993999999970;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
id="path3000"
|
||||
sodipodi:cx="32.135479"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:ry="31.88294"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)" />
|
||||
<rect
|
||||
style="fill:#22333a;fill-opacity:0.5;stroke:#000000;stroke-width:0.77430558;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.6755319;stroke-dasharray:none;stroke-dashoffset:3"
|
||||
id="rect3791"
|
||||
width="10.78497"
|
||||
height="7.18998"
|
||||
x="8.8157263"
|
||||
y="1077.2493" />
|
||||
<path
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
sodipodi:ry="31.88294"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:cx="32.135479"
|
||||
id="path3005"
|
||||
style="fill:url(#radialGradient3785);stroke:none;stroke-width:4.62613439999999980;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
sodipodi:type="arc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 9.7 KiB |
@ -1,230 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.5 r10040"
|
||||
sodipodi:docname="round_icon.svg"
|
||||
inkscape:export-filename="D:\dev\workspaces\potree\develop\resources\icons\round_icon.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs4">
|
||||
<linearGradient
|
||||
id="linearGradient3777">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3781" />
|
||||
<stop
|
||||
style="stop-color:#316c79;stop-opacity:0.36274511;"
|
||||
offset="1"
|
||||
id="stop3783" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3927">
|
||||
<stop
|
||||
style="stop-color:#1c2a30;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3929" />
|
||||
<stop
|
||||
style="stop-color:#1c2a30;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3931" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3916">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3920" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0.28186274;"
|
||||
offset="1"
|
||||
id="stop3922" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3890">
|
||||
<stop
|
||||
style="stop-color:#a9c1c7;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3902" />
|
||||
<stop
|
||||
id="stop3906"
|
||||
offset="0.53744453"
|
||||
style="stop-color:#375d66;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3904"
|
||||
offset="1"
|
||||
style="stop-color:#1b3b42;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3832">
|
||||
<stop
|
||||
style="stop-color:#486b7d;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3834" />
|
||||
<stop
|
||||
style="stop-color:#486b7d;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3836" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3820">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3822" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3824" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3890"
|
||||
id="radialGradient3898"
|
||||
cx="26.198547"
|
||||
cy="56.964977"
|
||||
fx="26.198547"
|
||||
fy="56.964977"
|
||||
r="31.88294"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="pad"
|
||||
gradientTransform="matrix(2.3801773,-0.00906618,0.00377252,0.99041515,-30.640162,2.2988206)" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3916"
|
||||
id="radialGradient3914"
|
||||
cx="51.502235"
|
||||
cy="44.744881"
|
||||
fx="51.502235"
|
||||
fy="44.744881"
|
||||
r="31.88294"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.01358059,0.34693581,-0.44544965,-0.01743684,50.983185,28.551401)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3927"
|
||||
id="linearGradient3933"
|
||||
x1="62.708218"
|
||||
y1="-5.5219383"
|
||||
x2="8.1835146"
|
||||
y2="102.42551"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3777"
|
||||
id="radialGradient3785"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.06391254,0.55102676,-0.94714653,-0.10985773,40.412692,-13.569564)"
|
||||
spreadMethod="pad"
|
||||
cx="28.949028"
|
||||
cy="0.31425104"
|
||||
fx="28.949028"
|
||||
fy="0.31425104"
|
||||
r="31.88294" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="5.6"
|
||||
inkscape:cx="14.039753"
|
||||
inkscape:cy="24.532012"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1018"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-988.36215)">
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:url(#radialGradient3898);stroke:none;stroke-width:4.62613439999999980;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
id="path3000-1"
|
||||
sodipodi:cx="32.135479"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:ry="31.88294"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)" />
|
||||
<path
|
||||
sodipodi:type="star"
|
||||
style="fill:#22333a;fill-opacity:1;stroke:#000000;stroke-opacity:1;stroke-width:2.98419638;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path3789"
|
||||
sodipodi:sides="3"
|
||||
sodipodi:cx="-43.035713"
|
||||
sodipodi:cy="15.428571"
|
||||
sodipodi:r1="17.18837"
|
||||
sodipodi:r2="8.5941849"
|
||||
sodipodi:arg1="2.6179939"
|
||||
sodipodi:arg2="3.6651914"
|
||||
inkscape:flatsided="true"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="m -57.921278,24.022755 14.885565,-25.782554 14.885564,25.782555 z"
|
||||
transform="matrix(-0.33509859,0,0,-0.33509859,17.436437,1043.1132)"
|
||||
inkscape:transform-center-y="-5.4685954" />
|
||||
<image
|
||||
y="998.36212"
|
||||
x="10"
|
||||
id="image2993"
|
||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAA5FJREFU WIXtl11sVFUUhb8zM0ynLZUqmVpH5qEjQUZLiIhiTMSSJtQihh8V+mDQB0xETIwxiEUJaEjwwcSH hhhJoPgXJCUpxjSEEFoKgoSW2FggvvhXA02AWie02rSdLh/O7dzxQqcFZ9oXd7Jy7z17z97rnnXO PneMJKbSfLlIaozJM8aEpowAsAlYNqFISVkFEAX6gf0Tis8BgQMFoDD0AaHx4rMqgTFmCbBmB1AD hcBTkyYBEAA6F4GSoBMg4MvblgDYATx3CwTemGZQZwwpjpJxFAlwfTwZMiXsKgggoAEoGad4KZB4 Zx7SOhevzUXAylsmAJQXBlHX+2h5OQKuAmszEPh8Tgka+AipzkXr6+PLMFbCTUsXIZ2xqN+KiosQ cBAIe2IXG4NaP3bjh07Za/I0ioQzyzAWgeYPdiIlXVz6HT29LDUbz6ctvB9eXu/G/XgRbX3Xfd74 amYZblZ8OjD4WRtq143YVo+KihFwCPhiZilq6bW+thH00BPo3pgbv/t4ZhmMUzR9L6/IL+bQhz1g fPBbO3RfgMdedGMSl+HIThjog4U18ECVHT/5Cex/hR5gZu05iC4AjcCWWfQluglLGvC2gcBNWkN1 uALanRbV0QTfb4eWBnh8NxREgAiU1Vl/P9AG/HUZGjcjYBXwdVMDdz68APBBZDXTE7t4zxhTK2kk YyMCfr2nDpXLonAxAjYCjf5iNGuf60vHHSsRsNfJUR+c7foe/BuVbEOmkBbg7jHXABAHxMWQUL7o zxdBhoAZjr8GuEaFT7zkd/GsX8CfOP0CexKK7/JsnlH8FBJVvh7gydGaXgmqiQQh/qh9+rYXBjtP S0o4s/WVMaaZ4yPrgaDnt2clXXHujwKHWTJUzdtR2ByFkA9igP/8XfDHMWNMpaRW7wwc5YW40JsW bz0ioHai7diTywBbgGFiM8Q3q0TTamHPiBbA/y8JsKfXAPUbhA5YLIwJmH87BNLyVgDdgCjIk3Of WgfpgcsB0XVK6GfR2yF8vkv/pXha7lLnrYfT9fcS2EXZbHFFFp82CtiTDQJOfr+3uHcRVjO30m5q gIPNAIfJkklKAq3e8QCAMeZ+oIyiSmh3PGeak9jVnFMbnQH76fRLPvQNw+A1uHohtf0mg8BSANqe AVME/vsgi9OfyUY/SsOpEV2H4Q6AI5NBIHUaGmOiQBVWjvnAHHmPylwSmCrL1V+z/wlM2P4BOD/f 77tWK3UAAAAASUVORK5CYII= "
|
||||
height="44"
|
||||
width="44" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:none;stroke:url(#linearGradient3933);stroke-width:4.62557993999999970;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
id="path3000"
|
||||
sodipodi:cx="32.135479"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:ry="31.88294"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)" />
|
||||
<path
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
sodipodi:ry="31.88294"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:cx="32.135479"
|
||||
id="path3005"
|
||||
style="fill:url(#radialGradient3785);stroke:none;stroke-width:4.62613439999999980;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
sodipodi:type="arc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 9.4 KiB |
@ -49,7 +49,10 @@
|
||||
"freeze": "Lock view",
|
||||
"language": "Language"
|
||||
},
|
||||
"profile": {
|
||||
"annotations": {
|
||||
"show": "show annotations"
|
||||
},
|
||||
"profile": {
|
||||
"nb_points": "Point number",
|
||||
"title": "Height profile",
|
||||
"save_las": "Save LAS(3D)",
|
||||
|
||||
66
build/potree/resources/lang/jp/translation.json
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
"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": "言語"
|
||||
}
|
||||
}
|
||||
BIN
build/potree/resources/shapefiles/south_sorvilier.dbf
Normal file
BIN
build/potree/resources/shapefiles/south_sorvilier.shp
Normal file
@ -14,7 +14,8 @@
|
||||
<div style="font-family:arial;">
|
||||
<a href="javascript:viewer.setLanguage('en');" style="margin-left: 30px;">EN</a> -
|
||||
<a href="javascript:viewer.setLanguage('fr');">FR</a> -
|
||||
<a href="javascript:viewer.setLanguage('de');">DE</a>
|
||||
<a href="javascript:viewer.setLanguage('de');">DE</a> -
|
||||
<a href="javascript:viewer.setLanguage('jp');">JP</a>
|
||||
</div>
|
||||
<div>
|
||||
<!--<div id="accordion" class="accordion">-->
|
||||
@ -94,8 +95,12 @@
|
||||
|
||||
<!-- MEASUREMENTS -->
|
||||
<h3 id="menu_measurements"><span data-i18n="tb.measurments_opt"></span></h3>
|
||||
<div>
|
||||
<ul class="pv-menu-list selectable" id="measurement_details"></ul>
|
||||
<div id="measurement_details">
|
||||
<!-- <ul class="pv-menu-list selectable" id="measurement_details"></ul> -->
|
||||
|
||||
<div id="measurement_list_before" style="margin: 6px 2px 6px 2px"></div>
|
||||
<div id="measurement_list"></div>
|
||||
<div id="measurement_list_after" style="margin: 6px 2px 6px 2px"></div>
|
||||
</div>
|
||||
|
||||
<!-- ANNOTATIONS -->
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -59,14 +61,8 @@
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(2*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.loadGUI(() => {
|
||||
@ -82,11 +78,16 @@
|
||||
|
||||
viewer.setScene(sceneSG);
|
||||
|
||||
// Sorvilier point cloud in scene 1
|
||||
Potree.loadPointCloud("../pointclouds/vol_total/cloud.js", "sigeom.sa", function(e){
|
||||
sceneSG.addPointCloud(e.pointcloud);
|
||||
sceneSG.view.position.set(590030, 231767, 1007);
|
||||
sceneSG.view.lookAt(new THREE.Vector3(589844, 231376, 710));
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
sceneSG.addAnnotation([589847.17, 231436.78, 892.60], {
|
||||
"cameraPosition": [590034.03, 231814.02, 961.68],
|
||||
"cameraTarget": [589847.17, 231436.78, 742.60],
|
||||
@ -106,7 +107,7 @@
|
||||
"description": `<ul><li>Click on the annotation label to move a predefined view.</li>
|
||||
<li>Click on the icon to execute the specified action.</li>
|
||||
In this case, the action will bring you to another scene and point cloud.</ul>`,
|
||||
"actions": [{
|
||||
actions: [{
|
||||
"icon": Potree.resourcePath + "/icons/goto.svg",
|
||||
"onclick": function(){
|
||||
viewer.setScene(sceneLion);
|
||||
@ -130,6 +131,7 @@
|
||||
|
||||
});
|
||||
|
||||
// Lion point cloud in scene 2
|
||||
Potree.loadPointCloud("../pointclouds/lion_takanawa/cloud.js", "lion", function(e){
|
||||
sceneLion.addPointCloud(e.pointcloud);
|
||||
sceneLion.view.position.set(4.15, -6.12, 8.54);
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -30,42 +32,37 @@
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.setPointBudget(2*1000*1000);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription("Point cloud courtesy of <a target='_blank' href='https://www.sigeom.ch/'>sigeom sa</a>");
|
||||
@ -82,6 +79,10 @@
|
||||
let scene = viewer.scene;
|
||||
scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
{ // VOLUME
|
||||
let volume = new Potree.Volume();
|
||||
volume.scale.set(178.04, 159.14, 70.00);
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -30,42 +32,37 @@
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription("Point cloud courtesy of <a target='_blank' href='https://www.sigeom.ch/'>sigeom sa</a>");
|
||||
@ -75,8 +72,9 @@
|
||||
$("#menu_tools").next().show();
|
||||
$("#menu_measurements").next().show();
|
||||
viewer.toggleSidebar();
|
||||
viewer._2dprofile.show();
|
||||
viewer._2dprofile.draw(viewer.scene.profiles[0]);
|
||||
viewer.profileWindow.show();
|
||||
viewer.profileWindowController.setProfile(viewer.scene.profiles[0]);
|
||||
//viewer.setClipMode(Potree.ClipMode.CLIP_OUTSIDE);
|
||||
});
|
||||
|
||||
// Sigeom
|
||||
@ -84,6 +82,10 @@
|
||||
let scene = viewer.scene;
|
||||
scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
{ // PROFILE
|
||||
let profile = new Potree.Profile();
|
||||
profile.setWidth(6)
|
||||
@ -93,9 +95,9 @@
|
||||
|
||||
scene.addProfile(profile);
|
||||
|
||||
if(viewer._2dprofile){
|
||||
viewer._2dprofile.draw(profile);
|
||||
}
|
||||
//if(viewer.profileWindow){
|
||||
// viewer.profileWindowController.setProfile(profile);
|
||||
//}
|
||||
}
|
||||
|
||||
scene.view.position.set(589974.341, 231698.397, 986.146);
|
||||
|
||||
12
examples/embedded_iframe.html
Normal file
@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head></head>
|
||||
|
||||
<body>
|
||||
|
||||
<div style="position: absolute; left: 20%; right: 20%; top: 20%; bottom: 20%">
|
||||
<iframe src="viewer.html" style="width: 100%; height: 100%"></iframe>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@ -2,21 +2,23 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||
<title>Potree Viewer</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../build/potree/potree.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
<script src="../libs/jquery-ui/jquery-ui.min.js"></script>
|
||||
@ -28,44 +30,39 @@
|
||||
<script src="../libs/proj4/proj4.js"></script>
|
||||
<script src="../libs/openlayers3/ol.js"></script>
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(2.0);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Fixed");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(2*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription('Streaming point clouds from an <a href="https://entwine.io/" target="_blank">Entwine</a> backend.');
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -30,42 +32,37 @@
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription("Point cloud courtesy of <a target='_blank' href='https://www.sigeom.ch/'>sigeom sa</a>");
|
||||
@ -81,6 +78,10 @@
|
||||
let scene = viewer.scene;
|
||||
scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
scene.view.position.set(589974.341, 231698.397, 986.146);
|
||||
scene.view.lookAt(new THREE.Vector3(589851.587, 231428.213, 715.634));
|
||||
// viewer.fitToScreen();
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -30,42 +32,37 @@
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription("");
|
||||
@ -80,6 +77,10 @@
|
||||
Potree.loadPointCloud("../pointclouds/lion_takanawa/cloud.js", "lion", function(e){
|
||||
viewer.scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
viewer.fitToScreen();
|
||||
});
|
||||
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -30,42 +32,37 @@
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription("Loading Octree of LAS files");
|
||||
@ -80,6 +77,10 @@
|
||||
Potree.loadPointCloud("../pointclouds/lion_takanawa_las/cloud.js", "lion", function(e){
|
||||
viewer.scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
e.pointcloud.position.x += 3;
|
||||
e.pointcloud.position.y -= 3;
|
||||
e.pointcloud.position.z += 4;
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -30,42 +32,37 @@
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription("Loading LAZ compressed octree format");
|
||||
@ -79,6 +76,10 @@
|
||||
Potree.loadPointCloud("../pointclouds/lion_takanawa_laz/cloud.js", "lion", function(e){
|
||||
viewer.scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
e.pointcloud.position.x += 3;
|
||||
e.pointcloud.position.y -= 3;
|
||||
e.pointcloud.position.z += 4;
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -30,42 +32,37 @@
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription("Point cloud courtesy of <a target='_blank' href='https://www.sigeom.ch/'>sigeom sa</a>");
|
||||
@ -82,6 +79,10 @@
|
||||
let scene = viewer.scene;
|
||||
scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
{ // DISTANCE MEASURE
|
||||
let measure = new Potree.Measure();
|
||||
measure.closed = false;
|
||||
@ -94,6 +95,7 @@
|
||||
|
||||
{ // ANGLE MEASURE
|
||||
let measure = new Potree.Measure();
|
||||
measure.name = "Angle Sample";
|
||||
measure.closed = true;
|
||||
measure.showAngles = true;
|
||||
measure.showDistances = false;
|
||||
@ -106,6 +108,7 @@
|
||||
|
||||
{ // SINGLE POINT MEASURE
|
||||
let measure = new Potree.Measure();
|
||||
measure.name = "Canopy";
|
||||
measure.showDistances = false;
|
||||
measure.showCoordinates = true;
|
||||
measure.maxMarkers = 1;
|
||||
@ -116,6 +119,7 @@
|
||||
|
||||
{ // HEIGHT MEASURE
|
||||
let measure = new Potree.Measure();
|
||||
measure.name = "Tree Height";
|
||||
measure.closed = false;
|
||||
measure.showDistances = false;
|
||||
measure.showHeight = true;
|
||||
@ -127,6 +131,7 @@
|
||||
|
||||
{ // AREA MEASURE
|
||||
let measure = new Potree.Measure();
|
||||
measure.name = "Area";
|
||||
measure.closed = true;
|
||||
measure.showArea = true;
|
||||
measure.addMarker(new THREE.Vector3(589899.37, 231300.16, 750.25));
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -28,45 +30,40 @@
|
||||
<script src="../libs/proj4/proj4.js"></script>
|
||||
<script src="../libs/openlayers3/ol.js"></script>
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
<script src="../libs/other/PLYLoader.js"></script>
|
||||
<script src="../libs/other/PLYLoader.js"></script>
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription("Point cloud courtesy of <a target='_blank' href='https://www.sigeom.ch/'>sigeom sa</a>");
|
||||
@ -81,6 +78,10 @@
|
||||
Potree.loadPointCloud("../pointclouds/vol_total/cloud.js", "sigeom.sa", function(e){
|
||||
let scene = viewer.scene;
|
||||
scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
scene.view.position.set(589974.341, 231698.397, 986.146);
|
||||
scene.view.lookAt(new THREE.Vector3(589851.587, 231428.213, 715.634));
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -30,47 +32,41 @@
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB");
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive");
|
||||
viewer.setQuality("Squares");
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.setMinNodeSize(10);
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription(`Sorvilier point cloud courtesy of <a target='_blank' href='https://www.sigeom.ch/'>sigeom sa</a><br>
|
||||
One point cloud is initially invisible and it can be turned on in the Scene panel.
|
||||
`);
|
||||
viewer.setDescription(`Sorvilier point cloud courtesy of <a target='_blank' href='https://www.sigeom.ch/'>sigeom sa</a>`);
|
||||
|
||||
viewer.loadGUI(() => {
|
||||
viewer.setLanguage('en');
|
||||
@ -82,6 +78,10 @@
|
||||
Potree.loadPointCloud("../pointclouds/vol_total/cloud.js", "sigeom.sa", e => {
|
||||
viewer.scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
viewer.scene.view.position.set(589974.341, 231698.397, 986.146);
|
||||
viewer.scene.view.lookAt(new THREE.Vector3(589851.587, 231428.213, 715.634));
|
||||
// viewer.fitToScreen();
|
||||
@ -90,19 +90,46 @@
|
||||
Potree.loadPointCloud("../pointclouds/lion_takanawa/cloud.js", "lion 1", e => {
|
||||
viewer.scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
|
||||
e.pointcloud.position.set(589927.44, 231479.04, 726.87);
|
||||
e.pointcloud.scale.set(10, 10, 10);
|
||||
e.pointcloud.rotation.set(0, 0, 0.8 * Math.PI);
|
||||
e.pointcloud.visible = false;
|
||||
//e.pointcloud.visible = false;
|
||||
// viewer.fitToScreen();
|
||||
});
|
||||
|
||||
Potree.loadPointCloud("../pointclouds/lion_takanawa/cloud.js", "lion 2", e => {
|
||||
viewer.scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
material.pointColorType = Potree.PointColorType.ELEVATION;
|
||||
material.heightMin = 720;
|
||||
material.heightMax = 780;
|
||||
|
||||
e.pointcloud.position.set(589997.44, 231479.04, 726.87);
|
||||
e.pointcloud.scale.set(10, 10, 10);
|
||||
e.pointcloud.rotation.set(0, 0, 0.8 * Math.PI);
|
||||
//e.pointcloud.visible = true;
|
||||
// viewer.fitToScreen();
|
||||
});
|
||||
|
||||
Potree.loadPointCloud("../pointclouds/lion_takanawa/cloud.js", "lion 3", e => {
|
||||
viewer.scene.addPointCloud(e.pointcloud);
|
||||
|
||||
let material = e.pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
material.pointColorType = Potree.PointColorType.COLOR;
|
||||
material.color = new THREE.Color().setRGB(0.4, 0.6, 0.7);
|
||||
|
||||
e.pointcloud.position.set(589927.44 -70, 231479.04, 726.87);
|
||||
e.pointcloud.scale.set(10, 10, 10);
|
||||
e.pointcloud.rotation.set(0, 0, 0.8 * Math.PI);
|
||||
e.pointcloud.visible = true;
|
||||
// viewer.fitToScreen();
|
||||
});
|
||||
|
||||
@ -11,11 +11,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="../libs/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/perfect-scrollbar/css/perfect-scrollbar.css">
|
||||
<link rel="stylesheet" href="../libs/openlayers3/ol.css" type="text/css">
|
||||
<link rel="stylesheet" href="../libs/spectrum/spectrum.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="../libs/jquery/jquery-3.1.1.js"></script>
|
||||
<script src="../libs/spectrum/spectrum.js"></script>
|
||||
|
||||
<!--<script src="../libs/other/webgl-debug.js"></script>-->
|
||||
<script src="../libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
|
||||
@ -30,43 +32,37 @@
|
||||
<script src="../libs/i18next/i18next.js"></script>
|
||||
|
||||
<script src="../build/potree/potree.js"></script>
|
||||
<!--<script src="../src/viewer/sidebar.js"></script>-->
|
||||
|
||||
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
|
||||
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
|
||||
<script src="../libs/plasio/js/laslaz.js"></script>
|
||||
<script src="../libs/plasio/vendor/bluebird.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
|
||||
|
||||
|
||||
<div id="potree_render_area">
|
||||
<div id="potree_map" class="mapBox" style="position: absolute; left: 50px; top: 50px; width: 400px; height: 400px; display: none">
|
||||
<div id="potree_map_header" style="position: absolute; width: 100%; height: 25px; top: 0px; background-color: rgba(0,0,0,0.5); z-index: 1000; border-top-left-radius: 3px; border-top-right-radius: 3px;">
|
||||
</div>
|
||||
<div id="potree_map_content" class="map" style="position: absolute; z-index: 100; top: 25px; width: 100%; height: calc(100% - 25px); border: 2px solid rgba(0,0,0,0.5); box-sizing: border-box;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_description" class="potree_info_text"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="potree_sidebar_container"> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
|
||||
|
||||
viewer.setEDLEnabled(true);
|
||||
viewer.setPointSize(1);
|
||||
viewer.setMaterial("RGB"); // ["RGB", "Elevation", "Classification", "Intensity"]
|
||||
viewer.setFOV(60);
|
||||
viewer.setPointSizing("Adaptive"); // ["Fixed", "Attenuated", "Adaptive"]
|
||||
viewer.setQuality("Squares"); // ["Squares", "Circles", "Interpolation"]
|
||||
viewer.setPointBudget(1*1000*1000);
|
||||
viewer.setIntensityRange(0, 300);
|
||||
viewer.setWeightClassification(1);
|
||||
viewer.setBackground("gradient"); // ["skybox", "gradient", "black", "white"];
|
||||
<!-- INCLUDE SETTINGS HERE -->
|
||||
viewer.loadSettingsFromURL();
|
||||
|
||||
viewer.setDescription("Point cloud courtesy of <a target='_blank' href='https://www.sigeom.ch/'>sigeom sa</a>");
|
||||
@ -77,20 +73,23 @@
|
||||
//viewer.toggleSidebar();
|
||||
});
|
||||
|
||||
// Sigeom
|
||||
// Load and add point cloud to scene
|
||||
Potree.loadPointCloud("../pointclouds/vol_total/cloud.js", "sigeom.sa", e => {
|
||||
let scene = viewer.scene;
|
||||
scene.addPointCloud(e.pointcloud);
|
||||
let pointcloud = e.pointcloud;
|
||||
|
||||
let material = pointcloud.material;
|
||||
material.size = 1;
|
||||
material.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
||||
material.shape = Potree.PointShape.SQUARE;
|
||||
|
||||
scene.addPointCloud(pointcloud);
|
||||
|
||||
//scene.view.position.set(589974.341, 231698.397, 986.146);
|
||||
//scene.view.lookAt(new THREE.Vector3(589851.587, 231428.213, 715.634));
|
||||
viewer.fitToScreen();
|
||||
});
|
||||
|
||||
//viewer.addEventListener("update", e => {
|
||||
// console.log("update function, delta: " + e.delta);
|
||||
//});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
117
gulpfile.js
@ -1,19 +1,19 @@
|
||||
|
||||
var path = require('path');
|
||||
var gulp = require('gulp');
|
||||
const path = require('path');
|
||||
const gulp = require('gulp');
|
||||
|
||||
var concat = require('gulp-concat');
|
||||
var size = require('gulp-size');
|
||||
var rename = require('gulp-rename');
|
||||
var uglify = require('gulp-uglify');
|
||||
var gutil = require('gulp-util');
|
||||
var through = require('through');
|
||||
var os = require('os');
|
||||
var File = gutil.File;
|
||||
|
||||
//We need this one for the in-built webserver
|
||||
var connect = require('gulp-connect');
|
||||
const concat = require('gulp-concat');
|
||||
const size = require('gulp-size');
|
||||
const rename = require('gulp-rename');
|
||||
const uglify = require('gulp-uglify');
|
||||
const gutil = require('gulp-util');
|
||||
const through = require('through');
|
||||
const jshint = require('gulp-jshint');
|
||||
const os = require('os');
|
||||
const File = gutil.File;
|
||||
const connect = require('gulp-connect');
|
||||
|
||||
var server;
|
||||
|
||||
var paths = {
|
||||
potree : [
|
||||
@ -40,6 +40,7 @@ var paths = {
|
||||
"src/navigation/EarthControls.js",
|
||||
"src/LRU.js",
|
||||
"src/Annotation.js",
|
||||
"src/Actions.js",
|
||||
"src/ProfileRequest.js",
|
||||
"src/PointCloudOctree.js",
|
||||
"src/PointCloudOctreeGeometry.js",
|
||||
@ -57,8 +58,11 @@ var paths = {
|
||||
"src/utils/TransformationTool.js",
|
||||
"src/utils/Volume.js",
|
||||
"src/utils/VolumeTool.js",
|
||||
"src/utils/Box3Helper.js",
|
||||
"src/exporter/GeoJSONExporter.js",
|
||||
"src/exporter/DXFExporter.js",
|
||||
"src/exporter/CSVExporter.js",
|
||||
"src/exporter/LASExporter.js",
|
||||
"src/arena4d/PointCloudArena4D.js",
|
||||
"src/arena4d/PointCloudArena4DGeometry.js",
|
||||
"src/viewer/ProgressBar.js",
|
||||
@ -66,7 +70,8 @@ var paths = {
|
||||
"src/viewer/profile.js",
|
||||
"src/viewer/map.js",
|
||||
"src/viewer/sidebar.js",
|
||||
"src/stuff/HoverMenu.js"
|
||||
"src/stuff/HoverMenu.js",
|
||||
"src/webgl/GLProgram.js"
|
||||
],
|
||||
laslaz: [
|
||||
"build/workers/laslaz-worker.js",
|
||||
@ -83,23 +88,26 @@ var paths = {
|
||||
};
|
||||
|
||||
var workers = {
|
||||
"laslaz": [
|
||||
"LASLAZWorker": [
|
||||
"libs/plasio/workers/laz-perf.js",
|
||||
"libs/plasio/workers/laz-loader-worker.js"
|
||||
],
|
||||
"LASDecoder": [
|
||||
"LASDecoderWorker": [
|
||||
"src/workers/LASDecoderWorker.js"
|
||||
],
|
||||
"BinaryDecoder": [
|
||||
"BinaryDecoderWorker": [
|
||||
"src/workers/BinaryDecoderWorker.js",
|
||||
"src/Version.js",
|
||||
"src/loader/PointAttributes.js"
|
||||
],
|
||||
"GreyhoundBinaryDecoder": [
|
||||
"GreyhoundBinaryDecoderWorker": [
|
||||
"libs/plasio/workers/laz-perf.js",
|
||||
"src/workers/GreyhoundBinaryDecoderWorker.js",
|
||||
"src/Version.js",
|
||||
"src/loader/PointAttributes.js"
|
||||
],
|
||||
"DEMWorker": [
|
||||
"src/workers/DEMWorker.js"
|
||||
]
|
||||
};
|
||||
|
||||
@ -116,25 +124,16 @@ var shaders = [
|
||||
|
||||
|
||||
gulp.task("workers", function(){
|
||||
gulp.src(workers.laslaz)
|
||||
.pipe(encodeWorker('laslaz-worker.js', "Potree.workers.laslaz"))
|
||||
.pipe(size({showFiles: true}))
|
||||
.pipe(gulp.dest('build/potree/workers'));
|
||||
|
||||
gulp.src(workers.LASDecoder)
|
||||
.pipe(encodeWorker('lasdecoder-worker.js', "Potree.workers.lasdecoder"))
|
||||
.pipe(size({showFiles: true}))
|
||||
.pipe(gulp.dest('build/potree/workers'));
|
||||
for(let workerName of Object.keys(workers)){
|
||||
|
||||
gulp.src(workers[workerName])
|
||||
.pipe(concat(`${workerName}.js`))
|
||||
.pipe(size({showFiles: true}))
|
||||
.pipe(gulp.dest('build/potree/workers'));
|
||||
|
||||
}
|
||||
|
||||
gulp.src(workers.BinaryDecoder)
|
||||
.pipe(encodeWorker('BinaryDecoderWorker.js', "Potree.workers.binaryDecoder"))
|
||||
.pipe(size({showFiles: true}))
|
||||
.pipe(gulp.dest('build/potree/workers'));
|
||||
|
||||
gulp.src(workers.GreyhoundBinaryDecoder)
|
||||
.pipe(encodeWorker('GreyhoundBinaryDecoderWorker.js', "Potree.workers.greyhoundBinaryDecoder"))
|
||||
.pipe(size({showFiles: true}))
|
||||
.pipe(gulp.dest('build/potree/workers'));
|
||||
});
|
||||
|
||||
gulp.task("shaders", function(){
|
||||
@ -167,20 +166,49 @@ gulp.task("scripts", ['workers','shaders'], function(){
|
||||
return;
|
||||
});
|
||||
|
||||
gulp.task('linter', function(){
|
||||
gulp.src(paths.potree)
|
||||
.pipe(jshint())
|
||||
.pipe(jshint.reporter('default'));
|
||||
gulp.src(paths.laslaz)
|
||||
.pipe(jshint())
|
||||
.pipe(jshint.reporter('default'));
|
||||
gulp.src(workers.laslaz)
|
||||
.pipe(jshint())
|
||||
.pipe(jshint.reporter('default'));
|
||||
gulp.src(workers.LASDecoder)
|
||||
.pipe(jshint())
|
||||
.pipe(jshint.reporter('default'));
|
||||
gulp.src(workers.BinaryDecoder)
|
||||
.pipe(jshint())
|
||||
.pipe(jshint.reporter('default'));
|
||||
gulp.src(workers.GreyhoundBinaryDecoder)
|
||||
.pipe(jshint())
|
||||
.pipe(jshint.reporter('default'));
|
||||
});
|
||||
|
||||
gulp.task('build', ['scripts']);
|
||||
|
||||
gulp.task('watch', function() {
|
||||
gulp.watch('src/**/*.js', ['scripts']);
|
||||
})
|
||||
gulp.run("build");
|
||||
gulp.run("webserver");
|
||||
|
||||
gulp.watch([
|
||||
'src/**/*.js',
|
||||
'src/**/*.css',
|
||||
'src/**/*.fs',
|
||||
'src/**/*.vs',
|
||||
'src/**/*.html'], ["build"]);
|
||||
});
|
||||
|
||||
// For development, it is now possible to use 'gulp webserver'
|
||||
// from the command line to start the server (default port is 8080)
|
||||
gulp.task('webserver', function() {
|
||||
connect.server();
|
||||
server = connect.server();
|
||||
});
|
||||
|
||||
|
||||
var encodeWorker = function(fileName, varname, opt){
|
||||
var encodeWorker = function(fileName, opt){
|
||||
if (!fileName) throw new PluginError('gulp-concat', 'Missing fileName option for gulp-concat');
|
||||
if (!opt) opt = {};
|
||||
if (!opt.newLine) opt.newLine = gutil.linefeed;
|
||||
@ -202,7 +230,6 @@ var encodeWorker = function(fileName, varname, opt){
|
||||
if (buffer.length === 0) return this.emit('end');
|
||||
|
||||
var joinedContents = buffer.join("");
|
||||
//var content = varname + " = new Potree.WorkerManager(atob(\"" + new Buffer(joinedContents).toString('base64') + "\"));";
|
||||
let content = joinedContents;
|
||||
|
||||
var joinedPath = path.join(firstFile.base, fileName);
|
||||
@ -253,14 +280,8 @@ var encodeShader = function(fileName, varname, opt){
|
||||
console.log(fname);
|
||||
|
||||
var content = new Buffer(b).toString();
|
||||
var prep = "Potree.Shaders[\"" + fname + "\"] = [\n";
|
||||
var lines = content.split("\n");
|
||||
for(var j = 0; j < lines.length; j++){
|
||||
var line = lines[j];
|
||||
line = line.replace(/(\r\n|\n|\r)/gm,"");
|
||||
prep += " \"" + line + "\",\n";
|
||||
}
|
||||
prep += "].join(\"\\n\");\n\n";
|
||||
|
||||
let prep = `\nPotree.Shaders["${fname}"] = \`${content}\`\n`;
|
||||
|
||||
joinedContent += prep;
|
||||
}
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
{
|
||||
"shadow": true,
|
||||
"eqnull": true,
|
||||
"laxbreak": true
|
||||
}
|
||||
|
Before Width: | Height: | Size: 418 B |
|
Before Width: | Height: | Size: 312 B |
|
Before Width: | Height: | Size: 205 B |
|
Before Width: | Height: | Size: 262 B |
|
Before Width: | Height: | Size: 348 B |
|
Before Width: | Height: | Size: 207 B |
|
Before Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 278 B |
|
Before Width: | Height: | Size: 328 B |
|
Before Width: | Height: | Size: 6.8 KiB |
BIN
libs/jquery-ui/images/ui-icons_444444_256x240.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
libs/jquery-ui/images/ui-icons_555555_256x240.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
libs/jquery-ui/images/ui-icons_777777_256x240.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
559
libs/jquery-ui/index.html
Normal file
@ -0,0 +1,559 @@
|
||||
<!doctype html>
|
||||
<html lang="us">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery UI Example Page</title>
|
||||
<link href="jquery-ui.css" rel="stylesheet">
|
||||
<style>
|
||||
body{
|
||||
font-family: "Trebuchet MS", sans-serif;
|
||||
margin: 50px;
|
||||
}
|
||||
.demoHeaders {
|
||||
margin-top: 2em;
|
||||
}
|
||||
#dialog-link {
|
||||
padding: .4em 1em .4em 20px;
|
||||
text-decoration: none;
|
||||
position: relative;
|
||||
}
|
||||
#dialog-link span.ui-icon {
|
||||
margin: 0 5px 0 0;
|
||||
position: absolute;
|
||||
left: .2em;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
#icons {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#icons li {
|
||||
margin: 2px;
|
||||
position: relative;
|
||||
padding: 4px 0;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
list-style: none;
|
||||
}
|
||||
#icons span.ui-icon {
|
||||
float: left;
|
||||
margin: 0 4px;
|
||||
}
|
||||
.fakewindowcontain .ui-widget-overlay {
|
||||
position: absolute;
|
||||
}
|
||||
select {
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Welcome to jQuery UI!</h1>
|
||||
|
||||
<div class="ui-widget">
|
||||
<p>This page demonstrates the widgets and theme you selected in Download Builder. Please make sure you are using them with a compatible jQuery version.</p>
|
||||
</div>
|
||||
|
||||
<h1>YOUR COMPONENTS:</h1>
|
||||
|
||||
|
||||
<!-- Accordion -->
|
||||
<h2 class="demoHeaders">Accordion</h2>
|
||||
<div id="accordion">
|
||||
<h3>First</h3>
|
||||
<div>Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.</div>
|
||||
<h3>Second</h3>
|
||||
<div>Phasellus mattis tincidunt nibh.</div>
|
||||
<h3>Third</h3>
|
||||
<div>Nam dui erat, auctor a, dignissim quis.</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Autocomplete -->
|
||||
<h2 class="demoHeaders">Autocomplete</h2>
|
||||
<div>
|
||||
<input id="autocomplete" title="type "a"">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Button -->
|
||||
<h2 class="demoHeaders">Button</h2>
|
||||
<button id="button">A button element</button>
|
||||
<button id="button-icon">An icon-only button</button>
|
||||
|
||||
|
||||
|
||||
<!-- Checkboxradio -->
|
||||
<h2 class="demoHeaders">Checkboxradio</h2>
|
||||
<form style="margin-top: 1em;">
|
||||
<div id="radioset">
|
||||
<input type="radio" id="radio1" name="radio"><label for="radio1">Choice 1</label>
|
||||
<input type="radio" id="radio2" name="radio" checked="checked"><label for="radio2">Choice 2</label>
|
||||
<input type="radio" id="radio3" name="radio"><label for="radio3">Choice 3</label>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<!-- Controlgroup -->
|
||||
<h2 class="demoHeaders">Controlgroup</h2>
|
||||
<fieldset>
|
||||
<legend>Rental Car</legend>
|
||||
<div id="controlgroup">
|
||||
<select id="car-type">
|
||||
<option>Compact car</option>
|
||||
<option>Midsize car</option>
|
||||
<option>Full size car</option>
|
||||
<option>SUV</option>
|
||||
<option>Luxury</option>
|
||||
<option>Truck</option>
|
||||
<option>Van</option>
|
||||
</select>
|
||||
<label for="transmission-standard">Standard</label>
|
||||
<input type="radio" name="transmission" id="transmission-standard">
|
||||
<label for="transmission-automatic">Automatic</label>
|
||||
<input type="radio" name="transmission" id="transmission-automatic">
|
||||
<label for="insurance">Insurance</label>
|
||||
<input type="checkbox" name="insurance" id="insurance">
|
||||
<label for="horizontal-spinner" class="ui-controlgroup-label"># of cars</label>
|
||||
<input id="horizontal-spinner" class="ui-spinner-input">
|
||||
<button>Book Now!</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
<!-- Tabs -->
|
||||
<h2 class="demoHeaders">Tabs</h2>
|
||||
<div id="tabs">
|
||||
<ul>
|
||||
<li><a href="#tabs-1">First</a></li>
|
||||
<li><a href="#tabs-2">Second</a></li>
|
||||
<li><a href="#tabs-3">Third</a></li>
|
||||
</ul>
|
||||
<div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
|
||||
<div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</div>
|
||||
<div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<h2 class="demoHeaders">Dialog</h2>
|
||||
<p>
|
||||
<button id="dialog-link" class="ui-button ui-corner-all ui-widget">
|
||||
<span class="ui-icon ui-icon-newwin"></span>Open Dialog
|
||||
</button>
|
||||
</p>
|
||||
|
||||
<h2 class="demoHeaders">Overlay and Shadow Classes</h2>
|
||||
<div style="position: relative; width: 96%; height: 200px; padding:1% 2%; overflow:hidden;" class="fakewindowcontain">
|
||||
<p>Lorem ipsum dolor sit amet, Nulla nec tortor. Donec id elit quis purus consectetur consequat. </p><p>Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. </p><p>Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. </p><p>Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. </p><p>Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. </p><p>Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. </p>
|
||||
|
||||
<!-- ui-dialog -->
|
||||
<div class="ui-widget-overlay ui-front"></div>
|
||||
<div style="position: absolute; width: 320px; left: 50px; top: 30px; padding: 1.2em" class="ui-widget ui-front ui-widget-content ui-corner-all ui-widget-shadow">
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- ui-dialog -->
|
||||
<div id="dialog" title="Dialog Title">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<h2 class="demoHeaders">Framework Icons (content color preview)</h2>
|
||||
<ul id="icons" class="ui-widget ui-helper-clearfix">
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-n"><span class="ui-icon ui-icon-caret-1-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-ne"><span class="ui-icon ui-icon-caret-1-ne"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-e"><span class="ui-icon ui-icon-caret-1-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-se"><span class="ui-icon ui-icon-caret-1-se"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-s"><span class="ui-icon ui-icon-caret-1-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-sw"><span class="ui-icon ui-icon-caret-1-sw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-w"><span class="ui-icon ui-icon-caret-1-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-1-nw"><span class="ui-icon ui-icon-caret-1-nw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-2-n-s"><span class="ui-icon ui-icon-caret-2-n-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-caret-2-e-w"><span class="ui-icon ui-icon-caret-2-e-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-n"><span class="ui-icon ui-icon-triangle-1-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-ne"><span class="ui-icon ui-icon-triangle-1-ne"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-e"><span class="ui-icon ui-icon-triangle-1-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-se"><span class="ui-icon ui-icon-triangle-1-se"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-s"><span class="ui-icon ui-icon-triangle-1-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-sw"><span class="ui-icon ui-icon-triangle-1-sw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-w"><span class="ui-icon ui-icon-triangle-1-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-nw"><span class="ui-icon ui-icon-triangle-1-nw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-n-s"><span class="ui-icon ui-icon-triangle-2-n-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-e-w"><span class="ui-icon ui-icon-triangle-2-e-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-n"><span class="ui-icon ui-icon-arrow-1-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-ne"><span class="ui-icon ui-icon-arrow-1-ne"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-e"><span class="ui-icon ui-icon-arrow-1-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-se"><span class="ui-icon ui-icon-arrow-1-se"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-s"><span class="ui-icon ui-icon-arrow-1-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-sw"><span class="ui-icon ui-icon-arrow-1-sw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-w"><span class="ui-icon ui-icon-arrow-1-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-nw"><span class="ui-icon ui-icon-arrow-1-nw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-n-s"><span class="ui-icon ui-icon-arrow-2-n-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-ne-sw"><span class="ui-icon ui-icon-arrow-2-ne-sw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-e-w"><span class="ui-icon ui-icon-arrow-2-e-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-se-nw"><span class="ui-icon ui-icon-arrow-2-se-nw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-n"><span class="ui-icon ui-icon-arrowstop-1-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-e"><span class="ui-icon ui-icon-arrowstop-1-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-s"><span class="ui-icon ui-icon-arrowstop-1-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-w"><span class="ui-icon ui-icon-arrowstop-1-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-n"><span class="ui-icon ui-icon-arrowthick-1-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-ne"><span class="ui-icon ui-icon-arrowthick-1-ne"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-e"><span class="ui-icon ui-icon-arrowthick-1-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-se"><span class="ui-icon ui-icon-arrowthick-1-se"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-s"><span class="ui-icon ui-icon-arrowthick-1-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-sw"><span class="ui-icon ui-icon-arrowthick-1-sw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-w"><span class="ui-icon ui-icon-arrowthick-1-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-nw"><span class="ui-icon ui-icon-arrowthick-1-nw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-n-s"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-ne-sw"><span class="ui-icon ui-icon-arrowthick-2-ne-sw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-e-w"><span class="ui-icon ui-icon-arrowthick-2-e-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-se-nw"><span class="ui-icon ui-icon-arrowthick-2-se-nw"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-n"><span class="ui-icon ui-icon-arrowthickstop-1-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-e"><span class="ui-icon ui-icon-arrowthickstop-1-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-s"><span class="ui-icon ui-icon-arrowthickstop-1-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-w"><span class="ui-icon ui-icon-arrowthickstop-1-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-w"><span class="ui-icon ui-icon-arrowreturnthick-1-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-n"><span class="ui-icon ui-icon-arrowreturnthick-1-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-e"><span class="ui-icon ui-icon-arrowreturnthick-1-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-s"><span class="ui-icon ui-icon-arrowreturnthick-1-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-w"><span class="ui-icon ui-icon-arrowreturn-1-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-n"><span class="ui-icon ui-icon-arrowreturn-1-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-e"><span class="ui-icon ui-icon-arrowreturn-1-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-s"><span class="ui-icon ui-icon-arrowreturn-1-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-w"><span class="ui-icon ui-icon-arrowrefresh-1-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-n"><span class="ui-icon ui-icon-arrowrefresh-1-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-e"><span class="ui-icon ui-icon-arrowrefresh-1-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-s"><span class="ui-icon ui-icon-arrowrefresh-1-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4"><span class="ui-icon ui-icon-arrow-4"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4-diag"><span class="ui-icon ui-icon-arrow-4-diag"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-extlink"><span class="ui-icon ui-icon-extlink"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-newwin"><span class="ui-icon ui-icon-newwin"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-refresh"><span class="ui-icon ui-icon-refresh"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-shuffle"><span class="ui-icon ui-icon-shuffle"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-transfer-e-w"><span class="ui-icon ui-icon-transfer-e-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-transferthick-e-w"><span class="ui-icon ui-icon-transferthick-e-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-folder-collapsed"><span class="ui-icon ui-icon-folder-collapsed"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-folder-open"><span class="ui-icon ui-icon-folder-open"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-document"><span class="ui-icon ui-icon-document"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-document-b"><span class="ui-icon ui-icon-document-b"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-note"><span class="ui-icon ui-icon-note"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-mail-closed"><span class="ui-icon ui-icon-mail-closed"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-mail-open"><span class="ui-icon ui-icon-mail-open"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-suitcase"><span class="ui-icon ui-icon-suitcase"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-comment"><span class="ui-icon ui-icon-comment"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-person"><span class="ui-icon ui-icon-person"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-print"><span class="ui-icon ui-icon-print"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-trash"><span class="ui-icon ui-icon-trash"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-locked"><span class="ui-icon ui-icon-locked"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-unlocked"><span class="ui-icon ui-icon-unlocked"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-bookmark"><span class="ui-icon ui-icon-bookmark"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-tag"><span class="ui-icon ui-icon-tag"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-home"><span class="ui-icon ui-icon-home"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-flag"><span class="ui-icon ui-icon-flag"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-calculator"><span class="ui-icon ui-icon-calculator"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-cart"><span class="ui-icon ui-icon-cart"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-pencil"><span class="ui-icon ui-icon-pencil"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-clock"><span class="ui-icon ui-icon-clock"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-disk"><span class="ui-icon ui-icon-disk"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-calendar"><span class="ui-icon ui-icon-calendar"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-zoomin"><span class="ui-icon ui-icon-zoomin"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-zoomout"><span class="ui-icon ui-icon-zoomout"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-search"><span class="ui-icon ui-icon-search"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-wrench"><span class="ui-icon ui-icon-wrench"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-gear"><span class="ui-icon ui-icon-gear"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-heart"><span class="ui-icon ui-icon-heart"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-star"><span class="ui-icon ui-icon-star"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-link"><span class="ui-icon ui-icon-link"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-cancel"><span class="ui-icon ui-icon-cancel"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-plus"><span class="ui-icon ui-icon-plus"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-plusthick"><span class="ui-icon ui-icon-plusthick"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-minus"><span class="ui-icon ui-icon-minus"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-minusthick"><span class="ui-icon ui-icon-minusthick"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-close"><span class="ui-icon ui-icon-close"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-closethick"><span class="ui-icon ui-icon-closethick"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-key"><span class="ui-icon ui-icon-key"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-lightbulb"><span class="ui-icon ui-icon-lightbulb"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-scissors"><span class="ui-icon ui-icon-scissors"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-clipboard"><span class="ui-icon ui-icon-clipboard"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-copy"><span class="ui-icon ui-icon-copy"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-contact"><span class="ui-icon ui-icon-contact"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-image"><span class="ui-icon ui-icon-image"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-video"><span class="ui-icon ui-icon-video"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-script"><span class="ui-icon ui-icon-script"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-alert"><span class="ui-icon ui-icon-alert"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-info"><span class="ui-icon ui-icon-info"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-notice"><span class="ui-icon ui-icon-notice"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-help"><span class="ui-icon ui-icon-help"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-check"><span class="ui-icon ui-icon-check"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-bullet"><span class="ui-icon ui-icon-bullet"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-radio-off"><span class="ui-icon ui-icon-radio-off"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-radio-on"><span class="ui-icon ui-icon-radio-on"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-pin-w"><span class="ui-icon ui-icon-pin-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-pin-s"><span class="ui-icon ui-icon-pin-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-play"><span class="ui-icon ui-icon-play"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-pause"><span class="ui-icon ui-icon-pause"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-next"><span class="ui-icon ui-icon-seek-next"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-prev"><span class="ui-icon ui-icon-seek-prev"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-end"><span class="ui-icon ui-icon-seek-end"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-seek-first"><span class="ui-icon ui-icon-seek-first"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-stop"><span class="ui-icon ui-icon-stop"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-eject"><span class="ui-icon ui-icon-eject"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-volume-off"><span class="ui-icon ui-icon-volume-off"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-volume-on"><span class="ui-icon ui-icon-volume-on"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-power"><span class="ui-icon ui-icon-power"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-signal-diag"><span class="ui-icon ui-icon-signal-diag"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-signal"><span class="ui-icon ui-icon-signal"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-0"><span class="ui-icon ui-icon-battery-0"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-1"><span class="ui-icon ui-icon-battery-1"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-2"><span class="ui-icon ui-icon-battery-2"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-battery-3"><span class="ui-icon ui-icon-battery-3"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-plus"><span class="ui-icon ui-icon-circle-plus"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-minus"><span class="ui-icon ui-icon-circle-minus"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-close"><span class="ui-icon ui-icon-circle-close"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-e"><span class="ui-icon ui-icon-circle-triangle-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-s"><span class="ui-icon ui-icon-circle-triangle-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-w"><span class="ui-icon ui-icon-circle-triangle-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-n"><span class="ui-icon ui-icon-circle-triangle-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-e"><span class="ui-icon ui-icon-circle-arrow-e"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-s"><span class="ui-icon ui-icon-circle-arrow-s"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-w"><span class="ui-icon ui-icon-circle-arrow-w"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-n"><span class="ui-icon ui-icon-circle-arrow-n"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomin"><span class="ui-icon ui-icon-circle-zoomin"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomout"><span class="ui-icon ui-icon-circle-zoomout"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circle-check"><span class="ui-icon ui-icon-circle-check"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-plus"><span class="ui-icon ui-icon-circlesmall-plus"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-minus"><span class="ui-icon ui-icon-circlesmall-minus"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-close"><span class="ui-icon ui-icon-circlesmall-close"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-plus"><span class="ui-icon ui-icon-squaresmall-plus"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-minus"><span class="ui-icon ui-icon-squaresmall-minus"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-close"><span class="ui-icon ui-icon-squaresmall-close"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-vertical"><span class="ui-icon ui-icon-grip-dotted-vertical"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-horizontal"><span class="ui-icon ui-icon-grip-dotted-horizontal"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-vertical"><span class="ui-icon ui-icon-grip-solid-vertical"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-horizontal"><span class="ui-icon ui-icon-grip-solid-horizontal"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-gripsmall-diagonal-se"><span class="ui-icon ui-icon-gripsmall-diagonal-se"></span></li>
|
||||
<li class="ui-state-default ui-corner-all" title=".ui-icon-grip-diagonal-se"><span class="ui-icon ui-icon-grip-diagonal-se"></span></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<!-- Slider -->
|
||||
<h2 class="demoHeaders">Slider</h2>
|
||||
<div id="slider"></div>
|
||||
|
||||
|
||||
|
||||
<!-- Datepicker -->
|
||||
<h2 class="demoHeaders">Datepicker</h2>
|
||||
<div id="datepicker"></div>
|
||||
|
||||
|
||||
|
||||
<!-- Progressbar -->
|
||||
<h2 class="demoHeaders">Progressbar</h2>
|
||||
<div id="progressbar"></div>
|
||||
|
||||
|
||||
|
||||
<!-- Progressbar -->
|
||||
<h2 class="demoHeaders">Selectmenu</h2>
|
||||
<select id="selectmenu">
|
||||
<option>Slower</option>
|
||||
<option>Slow</option>
|
||||
<option selected="selected">Medium</option>
|
||||
<option>Fast</option>
|
||||
<option>Faster</option>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
<!-- Spinner -->
|
||||
<h2 class="demoHeaders">Spinner</h2>
|
||||
<input id="spinner">
|
||||
|
||||
|
||||
|
||||
<!-- Menu -->
|
||||
<h2 class="demoHeaders">Menu</h2>
|
||||
<ul style="width:100px;" id="menu">
|
||||
<li><div>Item 1</div></li>
|
||||
<li><div>Item 2</div></li>
|
||||
<li><div>Item 3</div>
|
||||
<ul>
|
||||
<li><div>Item 3-1</div></li>
|
||||
<li><div>Item 3-2</div></li>
|
||||
<li><div>Item 3-3</div></li>
|
||||
<li><div>Item 3-4</div></li>
|
||||
<li><div>Item 3-5</div></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><div>Item 4</div></li>
|
||||
<li><div>Item 5</div></li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<!-- Tooltip -->
|
||||
<h2 class="demoHeaders">Tooltip</h2>
|
||||
<p id="tooltip">
|
||||
<a href="#" title="That's what this widget is">Tooltips</a> can be attached to any element. When you hover
|
||||
the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.
|
||||
</p>
|
||||
|
||||
|
||||
<!-- Highlight / Error -->
|
||||
<h2 class="demoHeaders">Highlight / Error</h2>
|
||||
<div class="ui-widget">
|
||||
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
|
||||
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
|
||||
<strong>Hey!</strong> Sample ui-state-highlight style.</p>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="ui-widget">
|
||||
<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
|
||||
<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
|
||||
<strong>Alert:</strong> Sample ui-state-error style.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="external/jquery/jquery.js"></script>
|
||||
<script src="jquery-ui.js"></script>
|
||||
<script>
|
||||
|
||||
$( "#accordion" ).accordion();
|
||||
|
||||
|
||||
|
||||
var availableTags = [
|
||||
"ActionScript",
|
||||
"AppleScript",
|
||||
"Asp",
|
||||
"BASIC",
|
||||
"C",
|
||||
"C++",
|
||||
"Clojure",
|
||||
"COBOL",
|
||||
"ColdFusion",
|
||||
"Erlang",
|
||||
"Fortran",
|
||||
"Groovy",
|
||||
"Haskell",
|
||||
"Java",
|
||||
"JavaScript",
|
||||
"Lisp",
|
||||
"Perl",
|
||||
"PHP",
|
||||
"Python",
|
||||
"Ruby",
|
||||
"Scala",
|
||||
"Scheme"
|
||||
];
|
||||
$( "#autocomplete" ).autocomplete({
|
||||
source: availableTags
|
||||
});
|
||||
|
||||
|
||||
|
||||
$( "#button" ).button();
|
||||
$( "#button-icon" ).button({
|
||||
icon: "ui-icon-gear",
|
||||
showLabel: false
|
||||
});
|
||||
|
||||
|
||||
|
||||
$( "#radioset" ).buttonset();
|
||||
|
||||
|
||||
|
||||
$( "#controlgroup" ).controlgroup();
|
||||
|
||||
|
||||
|
||||
$( "#tabs" ).tabs();
|
||||
|
||||
|
||||
|
||||
$( "#dialog" ).dialog({
|
||||
autoOpen: false,
|
||||
width: 400,
|
||||
buttons: [
|
||||
{
|
||||
text: "Ok",
|
||||
click: function() {
|
||||
$( this ).dialog( "close" );
|
||||
}
|
||||
},
|
||||
{
|
||||
text: "Cancel",
|
||||
click: function() {
|
||||
$( this ).dialog( "close" );
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
// Link to open the dialog
|
||||
$( "#dialog-link" ).click(function( event ) {
|
||||
$( "#dialog" ).dialog( "open" );
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
|
||||
$( "#datepicker" ).datepicker({
|
||||
inline: true
|
||||
});
|
||||
|
||||
|
||||
|
||||
$( "#slider" ).slider({
|
||||
range: true,
|
||||
values: [ 17, 67 ]
|
||||
});
|
||||
|
||||
|
||||
|
||||
$( "#progressbar" ).progressbar({
|
||||
value: 20
|
||||
});
|
||||
|
||||
|
||||
|
||||
$( "#spinner" ).spinner();
|
||||
|
||||
|
||||
|
||||
$( "#menu" ).menu();
|
||||
|
||||
|
||||
|
||||
$( "#tooltip" ).tooltip();
|
||||
|
||||
|
||||
|
||||
$( "#selectmenu" ).selectmenu();
|
||||
|
||||
|
||||
// Hover states on the static widgets
|
||||
$( "#dialog-link, #icons li" ).hover(
|
||||
function() {
|
||||
$( this ).addClass( "ui-state-hover" );
|
||||
},
|
||||
function() {
|
||||
$( this ).removeClass( "ui-state-hover" );
|
||||
}
|
||||
);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
1312
libs/jquery-ui/jquery-ui.css
vendored
Normal file
10
libs/jquery-ui/jquery-ui.min.css
vendored
18
libs/jquery-ui/jquery-ui.min.js
vendored
886
libs/jquery-ui/jquery-ui.structure.css
vendored
Normal file
@ -0,0 +1,886 @@
|
||||
/*!
|
||||
* jQuery UI CSS Framework 1.12.1
|
||||
* http://jqueryui.com
|
||||
*
|
||||
* Copyright jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://api.jqueryui.com/category/theming/
|
||||
*/
|
||||
.ui-draggable-handle {
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden {
|
||||
display: none;
|
||||
}
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
.ui-helper-reset {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
line-height: 1.3;
|
||||
text-decoration: none;
|
||||
font-size: 100%;
|
||||
list-style: none;
|
||||
}
|
||||
.ui-helper-clearfix:before,
|
||||
.ui-helper-clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.ui-helper-clearfix:after {
|
||||
clear: both;
|
||||
}
|
||||
.ui-helper-zfix {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
filter:Alpha(Opacity=0); /* support: IE8 */
|
||||
}
|
||||
|
||||
.ui-front {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled {
|
||||
cursor: default !important;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
.ui-icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-top: -.25em;
|
||||
position: relative;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ui-widget-icon-block {
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-resizable {
|
||||
position: relative;
|
||||
}
|
||||
.ui-resizable-handle {
|
||||
position: absolute;
|
||||
font-size: 0.1px;
|
||||
display: block;
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
.ui-resizable-disabled .ui-resizable-handle,
|
||||
.ui-resizable-autohide .ui-resizable-handle {
|
||||
display: none;
|
||||
}
|
||||
.ui-resizable-n {
|
||||
cursor: n-resize;
|
||||
height: 7px;
|
||||
width: 100%;
|
||||
top: -5px;
|
||||
left: 0;
|
||||
}
|
||||
.ui-resizable-s {
|
||||
cursor: s-resize;
|
||||
height: 7px;
|
||||
width: 100%;
|
||||
bottom: -5px;
|
||||
left: 0;
|
||||
}
|
||||
.ui-resizable-e {
|
||||
cursor: e-resize;
|
||||
width: 7px;
|
||||
right: -5px;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-resizable-w {
|
||||
cursor: w-resize;
|
||||
width: 7px;
|
||||
left: -5px;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-resizable-se {
|
||||
cursor: se-resize;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
right: 1px;
|
||||
bottom: 1px;
|
||||
}
|
||||
.ui-resizable-sw {
|
||||
cursor: sw-resize;
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
left: -5px;
|
||||
bottom: -5px;
|
||||
}
|
||||
.ui-resizable-nw {
|
||||
cursor: nw-resize;
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
left: -5px;
|
||||
top: -5px;
|
||||
}
|
||||
.ui-resizable-ne {
|
||||
cursor: ne-resize;
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
right: -5px;
|
||||
top: -5px;
|
||||
}
|
||||
.ui-selectable {
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
.ui-selectable-helper {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
border: 1px dotted black;
|
||||
}
|
||||
.ui-sortable-handle {
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
.ui-accordion .ui-accordion-header {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
margin: 2px 0 0 0;
|
||||
padding: .5em .5em .5em .7em;
|
||||
font-size: 100%;
|
||||
}
|
||||
.ui-accordion .ui-accordion-content {
|
||||
padding: 1em 2.2em;
|
||||
border-top: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
.ui-autocomplete {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
cursor: default;
|
||||
}
|
||||
.ui-menu {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: block;
|
||||
outline: 0;
|
||||
}
|
||||
.ui-menu .ui-menu {
|
||||
position: absolute;
|
||||
}
|
||||
.ui-menu .ui-menu-item {
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
/* support: IE10, see #8844 */
|
||||
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
|
||||
}
|
||||
.ui-menu .ui-menu-item-wrapper {
|
||||
position: relative;
|
||||
padding: 3px 1em 3px .4em;
|
||||
}
|
||||
.ui-menu .ui-menu-divider {
|
||||
margin: 5px 0;
|
||||
height: 0;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
.ui-menu .ui-state-focus,
|
||||
.ui-menu .ui-state-active {
|
||||
margin: -1px;
|
||||
}
|
||||
|
||||
/* icon support */
|
||||
.ui-menu-icons {
|
||||
position: relative;
|
||||
}
|
||||
.ui-menu-icons .ui-menu-item-wrapper {
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
/* left-aligned */
|
||||
.ui-menu .ui-icon {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: .2em;
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
/* right-aligned */
|
||||
.ui-menu .ui-menu-icon {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
.ui-button {
|
||||
padding: .4em 1em;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
line-height: normal;
|
||||
margin-right: .1em;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
/* Support: IE <= 11 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.ui-button,
|
||||
.ui-button:link,
|
||||
.ui-button:visited,
|
||||
.ui-button:hover,
|
||||
.ui-button:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* to make room for the icon, a width needs to be set here */
|
||||
.ui-button-icon-only {
|
||||
width: 2em;
|
||||
box-sizing: border-box;
|
||||
text-indent: -9999px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* no icon support for input elements */
|
||||
input.ui-button.ui-button-icon-only {
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
/* button icon element(s) */
|
||||
.ui-button-icon-only .ui-icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -8px;
|
||||
margin-left: -8px;
|
||||
}
|
||||
|
||||
.ui-button.ui-icon-notext .ui-icon {
|
||||
padding: 0;
|
||||
width: 2.1em;
|
||||
height: 2.1em;
|
||||
text-indent: -9999px;
|
||||
white-space: nowrap;
|
||||
|
||||
}
|
||||
|
||||
input.ui-button.ui-icon-notext .ui-icon {
|
||||
width: auto;
|
||||
height: auto;
|
||||
text-indent: 0;
|
||||
white-space: normal;
|
||||
padding: .4em 1em;
|
||||
}
|
||||
|
||||
/* workarounds */
|
||||
/* Support: Firefox 5 - 40 */
|
||||
input.ui-button::-moz-focus-inner,
|
||||
button.ui-button::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.ui-controlgroup {
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
.ui-controlgroup > .ui-controlgroup-item {
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
.ui-controlgroup > .ui-controlgroup-item:focus,
|
||||
.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus {
|
||||
z-index: 9999;
|
||||
}
|
||||
.ui-controlgroup-vertical > .ui-controlgroup-item {
|
||||
display: block;
|
||||
float: none;
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
}
|
||||
.ui-controlgroup-vertical .ui-controlgroup-item {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.ui-controlgroup .ui-controlgroup-label {
|
||||
padding: .4em 1em;
|
||||
}
|
||||
.ui-controlgroup .ui-controlgroup-label span {
|
||||
font-size: 80%;
|
||||
}
|
||||
.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item {
|
||||
border-left: none;
|
||||
}
|
||||
.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item {
|
||||
border-top: none;
|
||||
}
|
||||
.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content {
|
||||
border-right: none;
|
||||
}
|
||||
.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* Spinner specific style fixes */
|
||||
.ui-controlgroup-vertical .ui-spinner-input {
|
||||
|
||||
/* Support: IE8 only, Android < 4.4 only */
|
||||
width: 75%;
|
||||
width: calc( 100% - 2.4em );
|
||||
}
|
||||
.ui-controlgroup-vertical .ui-spinner .ui-spinner-up {
|
||||
border-top-style: solid;
|
||||
}
|
||||
|
||||
.ui-checkboxradio-label .ui-icon-background {
|
||||
box-shadow: inset 1px 1px 1px #ccc;
|
||||
border-radius: .12em;
|
||||
border: none;
|
||||
}
|
||||
.ui-checkboxradio-radio-label .ui-icon-background {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 1em;
|
||||
overflow: visible;
|
||||
border: none;
|
||||
}
|
||||
.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,
|
||||
.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon {
|
||||
background-image: none;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-width: 4px;
|
||||
border-style: solid;
|
||||
}
|
||||
.ui-checkboxradio-disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
.ui-datepicker {
|
||||
width: 17em;
|
||||
padding: .2em .2em 0;
|
||||
display: none;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-header {
|
||||
position: relative;
|
||||
padding: .2em 0;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev,
|
||||
.ui-datepicker .ui-datepicker-next {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
width: 1.8em;
|
||||
height: 1.8em;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev-hover,
|
||||
.ui-datepicker .ui-datepicker-next-hover {
|
||||
top: 1px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev {
|
||||
left: 2px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-next {
|
||||
right: 2px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev-hover {
|
||||
left: 1px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-next-hover {
|
||||
right: 1px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev span,
|
||||
.ui-datepicker .ui-datepicker-next span {
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-title {
|
||||
margin: 0 2.3em;
|
||||
line-height: 1.8em;
|
||||
text-align: center;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-title select {
|
||||
font-size: 1em;
|
||||
margin: 1px 0;
|
||||
}
|
||||
.ui-datepicker select.ui-datepicker-month,
|
||||
.ui-datepicker select.ui-datepicker-year {
|
||||
width: 45%;
|
||||
}
|
||||
.ui-datepicker table {
|
||||
width: 100%;
|
||||
font-size: .9em;
|
||||
border-collapse: collapse;
|
||||
margin: 0 0 .4em;
|
||||
}
|
||||
.ui-datepicker th {
|
||||
padding: .7em .3em;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
border: 0;
|
||||
}
|
||||
.ui-datepicker td {
|
||||
border: 0;
|
||||
padding: 1px;
|
||||
}
|
||||
.ui-datepicker td span,
|
||||
.ui-datepicker td a {
|
||||
display: block;
|
||||
padding: .2em;
|
||||
text-align: right;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-buttonpane {
|
||||
background-image: none;
|
||||
margin: .7em 0 0 0;
|
||||
padding: 0 .2em;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-buttonpane button {
|
||||
float: right;
|
||||
margin: .5em .2em .4em;
|
||||
cursor: pointer;
|
||||
padding: .2em .6em .3em .6em;
|
||||
width: auto;
|
||||
overflow: visible;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* with multiple calendars */
|
||||
.ui-datepicker.ui-datepicker-multi {
|
||||
width: auto;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group {
|
||||
float: left;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group table {
|
||||
width: 95%;
|
||||
margin: 0 auto .4em;
|
||||
}
|
||||
.ui-datepicker-multi-2 .ui-datepicker-group {
|
||||
width: 50%;
|
||||
}
|
||||
.ui-datepicker-multi-3 .ui-datepicker-group {
|
||||
width: 33.3%;
|
||||
}
|
||||
.ui-datepicker-multi-4 .ui-datepicker-group {
|
||||
width: 25%;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
|
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-left-width: 0;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-buttonpane {
|
||||
clear: left;
|
||||
}
|
||||
.ui-datepicker-row-break {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
/* RTL support */
|
||||
.ui-datepicker-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-prev {
|
||||
right: 2px;
|
||||
left: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-next {
|
||||
left: 2px;
|
||||
right: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover {
|
||||
right: 1px;
|
||||
left: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-next:hover {
|
||||
left: 1px;
|
||||
right: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane {
|
||||
clear: right;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
|
||||
float: left;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
|
||||
.ui-datepicker-rtl .ui-datepicker-group {
|
||||
float: right;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-right-width: 0;
|
||||
border-left-width: 1px;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
.ui-datepicker .ui-icon {
|
||||
display: block;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
left: .5em;
|
||||
top: .3em;
|
||||
}
|
||||
.ui-dialog {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding: .2em;
|
||||
outline: 0;
|
||||
}
|
||||
.ui-dialog .ui-dialog-titlebar {
|
||||
padding: .4em 1em;
|
||||
position: relative;
|
||||
}
|
||||
.ui-dialog .ui-dialog-title {
|
||||
float: left;
|
||||
margin: .1em 0;
|
||||
white-space: nowrap;
|
||||
width: 90%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.ui-dialog .ui-dialog-titlebar-close {
|
||||
position: absolute;
|
||||
right: .3em;
|
||||
top: 50%;
|
||||
width: 20px;
|
||||
margin: -10px 0 0 0;
|
||||
padding: 1px;
|
||||
height: 20px;
|
||||
}
|
||||
.ui-dialog .ui-dialog-content {
|
||||
position: relative;
|
||||
border: 0;
|
||||
padding: .5em 1em;
|
||||
background: none;
|
||||
overflow: auto;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane {
|
||||
text-align: left;
|
||||
border-width: 1px 0 0 0;
|
||||
background-image: none;
|
||||
margin-top: .5em;
|
||||
padding: .3em 1em .5em .4em;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
|
||||
float: right;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane button {
|
||||
margin: .5em .4em .5em 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ui-dialog .ui-resizable-n {
|
||||
height: 2px;
|
||||
top: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-e {
|
||||
width: 2px;
|
||||
right: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-s {
|
||||
height: 2px;
|
||||
bottom: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-w {
|
||||
width: 2px;
|
||||
left: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-se,
|
||||
.ui-dialog .ui-resizable-sw,
|
||||
.ui-dialog .ui-resizable-ne,
|
||||
.ui-dialog .ui-resizable-nw {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
}
|
||||
.ui-dialog .ui-resizable-se {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-sw {
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-ne {
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-nw {
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.ui-draggable .ui-dialog-titlebar {
|
||||
cursor: move;
|
||||
}
|
||||
.ui-progressbar {
|
||||
height: 2em;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
.ui-progressbar .ui-progressbar-value {
|
||||
margin: -1px;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-progressbar .ui-progressbar-overlay {
|
||||
background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
|
||||
height: 100%;
|
||||
filter: alpha(opacity=25); /* support: IE8 */
|
||||
opacity: 0.25;
|
||||
}
|
||||
.ui-progressbar-indeterminate .ui-progressbar-value {
|
||||
background-image: none;
|
||||
}
|
||||
.ui-selectmenu-menu {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
}
|
||||
.ui-selectmenu-menu .ui-menu {
|
||||
overflow: auto;
|
||||
overflow-x: hidden;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
line-height: 1.5;
|
||||
padding: 2px 0.4em;
|
||||
margin: 0.5em 0 0 0;
|
||||
height: auto;
|
||||
border: 0;
|
||||
}
|
||||
.ui-selectmenu-open {
|
||||
display: block;
|
||||
}
|
||||
.ui-selectmenu-text {
|
||||
display: block;
|
||||
margin-right: 20px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.ui-selectmenu-button.ui-button {
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
width: 14em;
|
||||
}
|
||||
.ui-selectmenu-icon.ui-icon {
|
||||
float: right;
|
||||
margin-top: 0;
|
||||
}
|
||||
.ui-slider {
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
.ui-slider .ui-slider-handle {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
cursor: default;
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
.ui-slider .ui-slider-range {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
font-size: .7em;
|
||||
display: block;
|
||||
border: 0;
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
/* support: IE8 - See #6727 */
|
||||
.ui-slider.ui-state-disabled .ui-slider-handle,
|
||||
.ui-slider.ui-state-disabled .ui-slider-range {
|
||||
filter: inherit;
|
||||
}
|
||||
|
||||
.ui-slider-horizontal {
|
||||
height: .8em;
|
||||
}
|
||||
.ui-slider-horizontal .ui-slider-handle {
|
||||
top: -.3em;
|
||||
margin-left: -.6em;
|
||||
}
|
||||
.ui-slider-horizontal .ui-slider-range {
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-slider-horizontal .ui-slider-range-min {
|
||||
left: 0;
|
||||
}
|
||||
.ui-slider-horizontal .ui-slider-range-max {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.ui-slider-vertical {
|
||||
width: .8em;
|
||||
height: 100px;
|
||||
}
|
||||
.ui-slider-vertical .ui-slider-handle {
|
||||
left: -.3em;
|
||||
margin-left: 0;
|
||||
margin-bottom: -.6em;
|
||||
}
|
||||
.ui-slider-vertical .ui-slider-range {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.ui-slider-vertical .ui-slider-range-min {
|
||||
bottom: 0;
|
||||
}
|
||||
.ui-slider-vertical .ui-slider-range-max {
|
||||
top: 0;
|
||||
}
|
||||
.ui-spinner {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.ui-spinner-input {
|
||||
border: none;
|
||||
background: none;
|
||||
color: inherit;
|
||||
padding: .222em 0;
|
||||
margin: .2em 0;
|
||||
vertical-align: middle;
|
||||
margin-left: .4em;
|
||||
margin-right: 2em;
|
||||
}
|
||||
.ui-spinner-button {
|
||||
width: 1.6em;
|
||||
height: 50%;
|
||||
font-size: .5em;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
cursor: default;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
right: 0;
|
||||
}
|
||||
/* more specificity required here to override default borders */
|
||||
.ui-spinner a.ui-spinner-button {
|
||||
border-top-style: none;
|
||||
border-bottom-style: none;
|
||||
border-right-style: none;
|
||||
}
|
||||
.ui-spinner-up {
|
||||
top: 0;
|
||||
}
|
||||
.ui-spinner-down {
|
||||
bottom: 0;
|
||||
}
|
||||
.ui-tabs {
|
||||
position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
||||
padding: .2em;
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav {
|
||||
margin: 0;
|
||||
padding: .2em .2em 0;
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li {
|
||||
list-style: none;
|
||||
float: left;
|
||||
position: relative;
|
||||
top: 0;
|
||||
margin: 1px .2em 0 0;
|
||||
border-bottom-width: 0;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
|
||||
float: left;
|
||||
padding: .5em 1em;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
|
||||
margin-bottom: -1px;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
|
||||
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
|
||||
cursor: text;
|
||||
}
|
||||
.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
|
||||
cursor: pointer;
|
||||
}
|
||||
.ui-tabs .ui-tabs-panel {
|
||||
display: block;
|
||||
border-width: 0;
|
||||
padding: 1em 1.4em;
|
||||
background: none;
|
||||
}
|
||||
.ui-tooltip {
|
||||
padding: 8px;
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
max-width: 300px;
|
||||
}
|
||||
body .ui-tooltip {
|
||||
border-width: 2px;
|
||||
}
|
||||
5
libs/jquery-ui/jquery-ui.structure.min.css
vendored
Normal file
443
libs/jquery-ui/jquery-ui.theme.css
vendored
Normal file
@ -0,0 +1,443 @@
|
||||
/*!
|
||||
* jQuery UI CSS Framework 1.12.1
|
||||
* http://jqueryui.com
|
||||
*
|
||||
* Copyright jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://api.jqueryui.com/category/theming/
|
||||
*
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
|
||||
*/
|
||||
|
||||
|
||||
/* Component containers
|
||||
----------------------------------*/
|
||||
.ui-widget {
|
||||
font-family: Arial,Helvetica,sans-serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget .ui-widget {
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget input,
|
||||
.ui-widget select,
|
||||
.ui-widget textarea,
|
||||
.ui-widget button {
|
||||
font-family: Arial,Helvetica,sans-serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget.ui-widget-content {
|
||||
border: 1px solid #c5c5c5;
|
||||
}
|
||||
.ui-widget-content {
|
||||
border: 1px solid #dddddd;
|
||||
background: #ffffff;
|
||||
color: #333333;
|
||||
}
|
||||
.ui-widget-content a {
|
||||
color: #333333;
|
||||
}
|
||||
.ui-widget-header {
|
||||
border: 1px solid #dddddd;
|
||||
background: #e9e9e9;
|
||||
color: #333333;
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-widget-header a {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.ui-state-default,
|
||||
.ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default,
|
||||
.ui-button,
|
||||
|
||||
/* We use html here because we need a greater specificity to make sure disabled
|
||||
works properly when clicked or hovered */
|
||||
html .ui-button.ui-state-disabled:hover,
|
||||
html .ui-button.ui-state-disabled:active {
|
||||
border: 1px solid #c5c5c5;
|
||||
background: #f6f6f6;
|
||||
font-weight: normal;
|
||||
color: #454545;
|
||||
}
|
||||
.ui-state-default a,
|
||||
.ui-state-default a:link,
|
||||
.ui-state-default a:visited,
|
||||
a.ui-button,
|
||||
a:link.ui-button,
|
||||
a:visited.ui-button,
|
||||
.ui-button {
|
||||
color: #454545;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-hover,
|
||||
.ui-widget-content .ui-state-hover,
|
||||
.ui-widget-header .ui-state-hover,
|
||||
.ui-state-focus,
|
||||
.ui-widget-content .ui-state-focus,
|
||||
.ui-widget-header .ui-state-focus,
|
||||
.ui-button:hover,
|
||||
.ui-button:focus {
|
||||
border: 1px solid #cccccc;
|
||||
background: #ededed;
|
||||
font-weight: normal;
|
||||
color: #2b2b2b;
|
||||
}
|
||||
.ui-state-hover a,
|
||||
.ui-state-hover a:hover,
|
||||
.ui-state-hover a:link,
|
||||
.ui-state-hover a:visited,
|
||||
.ui-state-focus a,
|
||||
.ui-state-focus a:hover,
|
||||
.ui-state-focus a:link,
|
||||
.ui-state-focus a:visited,
|
||||
a.ui-button:hover,
|
||||
a.ui-button:focus {
|
||||
color: #2b2b2b;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ui-visual-focus {
|
||||
box-shadow: 0 0 3px 1px rgb(94, 158, 214);
|
||||
}
|
||||
.ui-state-active,
|
||||
.ui-widget-content .ui-state-active,
|
||||
.ui-widget-header .ui-state-active,
|
||||
a.ui-button:active,
|
||||
.ui-button:active,
|
||||
.ui-button.ui-state-active:hover {
|
||||
border: 1px solid #003eff;
|
||||
background: #007fff;
|
||||
font-weight: normal;
|
||||
color: #ffffff;
|
||||
}
|
||||
.ui-icon-background,
|
||||
.ui-state-active .ui-icon-background {
|
||||
border: #003eff;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.ui-state-active a,
|
||||
.ui-state-active a:link,
|
||||
.ui-state-active a:visited {
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-highlight,
|
||||
.ui-widget-content .ui-state-highlight,
|
||||
.ui-widget-header .ui-state-highlight {
|
||||
border: 1px solid #dad55e;
|
||||
background: #fffa90;
|
||||
color: #777620;
|
||||
}
|
||||
.ui-state-checked {
|
||||
border: 1px solid #dad55e;
|
||||
background: #fffa90;
|
||||
}
|
||||
.ui-state-highlight a,
|
||||
.ui-widget-content .ui-state-highlight a,
|
||||
.ui-widget-header .ui-state-highlight a {
|
||||
color: #777620;
|
||||
}
|
||||
.ui-state-error,
|
||||
.ui-widget-content .ui-state-error,
|
||||
.ui-widget-header .ui-state-error {
|
||||
border: 1px solid #f1a899;
|
||||
background: #fddfdf;
|
||||
color: #5f3f3f;
|
||||
}
|
||||
.ui-state-error a,
|
||||
.ui-widget-content .ui-state-error a,
|
||||
.ui-widget-header .ui-state-error a {
|
||||
color: #5f3f3f;
|
||||
}
|
||||
.ui-state-error-text,
|
||||
.ui-widget-content .ui-state-error-text,
|
||||
.ui-widget-header .ui-state-error-text {
|
||||
color: #5f3f3f;
|
||||
}
|
||||
.ui-priority-primary,
|
||||
.ui-widget-content .ui-priority-primary,
|
||||
.ui-widget-header .ui-priority-primary {
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-priority-secondary,
|
||||
.ui-widget-content .ui-priority-secondary,
|
||||
.ui-widget-header .ui-priority-secondary {
|
||||
opacity: .7;
|
||||
filter:Alpha(Opacity=70); /* support: IE8 */
|
||||
font-weight: normal;
|
||||
}
|
||||
.ui-state-disabled,
|
||||
.ui-widget-content .ui-state-disabled,
|
||||
.ui-widget-header .ui-state-disabled {
|
||||
opacity: .35;
|
||||
filter:Alpha(Opacity=35); /* support: IE8 */
|
||||
background-image: none;
|
||||
}
|
||||
.ui-state-disabled .ui-icon {
|
||||
filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
|
||||
}
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.ui-icon,
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image: url("images/ui-icons_444444_256x240.png");
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url("images/ui-icons_444444_256x240.png");
|
||||
}
|
||||
.ui-state-hover .ui-icon,
|
||||
.ui-state-focus .ui-icon,
|
||||
.ui-button:hover .ui-icon,
|
||||
.ui-button:focus .ui-icon {
|
||||
background-image: url("images/ui-icons_555555_256x240.png");
|
||||
}
|
||||
.ui-state-active .ui-icon,
|
||||
.ui-button:active .ui-icon {
|
||||
background-image: url("images/ui-icons_ffffff_256x240.png");
|
||||
}
|
||||
.ui-state-highlight .ui-icon,
|
||||
.ui-button .ui-state-highlight.ui-icon {
|
||||
background-image: url("images/ui-icons_777620_256x240.png");
|
||||
}
|
||||
.ui-state-error .ui-icon,
|
||||
.ui-state-error-text .ui-icon {
|
||||
background-image: url("images/ui-icons_cc0000_256x240.png");
|
||||
}
|
||||
.ui-button .ui-icon {
|
||||
background-image: url("images/ui-icons_777777_256x240.png");
|
||||
}
|
||||
|
||||
/* positioning */
|
||||
.ui-icon-blank { background-position: 16px 16px; }
|
||||
.ui-icon-caret-1-n { background-position: 0 0; }
|
||||
.ui-icon-caret-1-ne { background-position: -16px 0; }
|
||||
.ui-icon-caret-1-e { background-position: -32px 0; }
|
||||
.ui-icon-caret-1-se { background-position: -48px 0; }
|
||||
.ui-icon-caret-1-s { background-position: -65px 0; }
|
||||
.ui-icon-caret-1-sw { background-position: -80px 0; }
|
||||
.ui-icon-caret-1-w { background-position: -96px 0; }
|
||||
.ui-icon-caret-1-nw { background-position: -112px 0; }
|
||||
.ui-icon-caret-2-n-s { background-position: -128px 0; }
|
||||
.ui-icon-caret-2-e-w { background-position: -144px 0; }
|
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.ui-icon-triangle-1-s { background-position: -65px -16px; }
|
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.ui-icon-arrow-1-s { background-position: -65px -32px; }
|
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.ui-icon-arrowthick-1-n { background-position: 1px -48px; }
|
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.ui-icon-extlink { background-position: -32px -80px; }
|
||||
.ui-icon-newwin { background-position: -48px -80px; }
|
||||
.ui-icon-refresh { background-position: -64px -80px; }
|
||||
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.ui-icon-document { background-position: -32px -96px; }
|
||||
.ui-icon-document-b { background-position: -48px -96px; }
|
||||
.ui-icon-note { background-position: -64px -96px; }
|
||||
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.ui-icon-comment { background-position: -128px -96px; }
|
||||
.ui-icon-person { background-position: -144px -96px; }
|
||||
.ui-icon-print { background-position: -160px -96px; }
|
||||
.ui-icon-trash { background-position: -176px -96px; }
|
||||
.ui-icon-locked { background-position: -192px -96px; }
|
||||
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.ui-icon-tag { background-position: -240px -96px; }
|
||||
.ui-icon-home { background-position: 0 -112px; }
|
||||
.ui-icon-flag { background-position: -16px -112px; }
|
||||
.ui-icon-calendar { background-position: -32px -112px; }
|
||||
.ui-icon-cart { background-position: -48px -112px; }
|
||||
.ui-icon-pencil { background-position: -64px -112px; }
|
||||
.ui-icon-clock { background-position: -80px -112px; }
|
||||
.ui-icon-disk { background-position: -96px -112px; }
|
||||
.ui-icon-calculator { background-position: -112px -112px; }
|
||||
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.ui-icon-search { background-position: -160px -112px; }
|
||||
.ui-icon-wrench { background-position: -176px -112px; }
|
||||
.ui-icon-gear { background-position: -192px -112px; }
|
||||
.ui-icon-heart { background-position: -208px -112px; }
|
||||
.ui-icon-star { background-position: -224px -112px; }
|
||||
.ui-icon-link { background-position: -240px -112px; }
|
||||
.ui-icon-cancel { background-position: 0 -128px; }
|
||||
.ui-icon-plus { background-position: -16px -128px; }
|
||||
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.ui-icon-minus { background-position: -48px -128px; }
|
||||
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.ui-icon-close { background-position: -80px -128px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-key { background-position: -112px -128px; }
|
||||
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.ui-icon-scissors { background-position: -144px -128px; }
|
||||
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.ui-icon-copy { background-position: -176px -128px; }
|
||||
.ui-icon-contact { background-position: -192px -128px; }
|
||||
.ui-icon-image { background-position: -208px -128px; }
|
||||
.ui-icon-video { background-position: -224px -128px; }
|
||||
.ui-icon-script { background-position: -240px -128px; }
|
||||
.ui-icon-alert { background-position: 0 -144px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-notice { background-position: -32px -144px; }
|
||||
.ui-icon-help { background-position: -48px -144px; }
|
||||
.ui-icon-check { background-position: -64px -144px; }
|
||||
.ui-icon-bullet { background-position: -80px -144px; }
|
||||
.ui-icon-radio-on { background-position: -96px -144px; }
|
||||
.ui-icon-radio-off { background-position: -112px -144px; }
|
||||
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.ui-icon-play { background-position: 0 -160px; }
|
||||
.ui-icon-pause { background-position: -16px -160px; }
|
||||
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.ui-icon-stop { background-position: -96px -160px; }
|
||||
.ui-icon-eject { background-position: -112px -160px; }
|
||||
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.ui-icon-power { background-position: 0 -176px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.ui-icon-signal { background-position: -32px -176px; }
|
||||
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Corner radius */
|
||||
.ui-corner-all,
|
||||
.ui-corner-top,
|
||||
.ui-corner-left,
|
||||
.ui-corner-tl {
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-top,
|
||||
.ui-corner-right,
|
||||
.ui-corner-tr {
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-bottom,
|
||||
.ui-corner-left,
|
||||
.ui-corner-bl {
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-bottom,
|
||||
.ui-corner-right,
|
||||
.ui-corner-br {
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
background: #aaaaaa;
|
||||
opacity: .3;
|
||||
filter: Alpha(Opacity=30); /* support: IE8 */
|
||||
}
|
||||
.ui-widget-shadow {
|
||||
-webkit-box-shadow: 0px 0px 5px #666666;
|
||||
box-shadow: 0px 0px 5px #666666;
|
||||
}
|
||||
5
libs/jquery-ui/jquery-ui.theme.min.css
vendored
Normal file
74
libs/jquery-ui/package.json
Normal file
@ -0,0 +1,74 @@
|
||||
{
|
||||
"name": "jquery-ui",
|
||||
"title": "jQuery UI",
|
||||
"description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.",
|
||||
"version": "1.12.1",
|
||||
"homepage": "http://jqueryui.com",
|
||||
"author": {
|
||||
"name": "jQuery Foundation and other contributors",
|
||||
"url": "https://github.com/jquery/jquery-ui/blob/1.12.1/AUTHORS.txt"
|
||||
},
|
||||
"main": "ui/widget.js",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "Scott González",
|
||||
"email": "scott.gonzalez@gmail.com",
|
||||
"url": "http://scottgonzalez.com"
|
||||
},
|
||||
{
|
||||
"name": "Jörn Zaefferer",
|
||||
"email": "joern.zaefferer@gmail.com",
|
||||
"url": "http://bassistance.de"
|
||||
},
|
||||
{
|
||||
"name": "Mike Sherov",
|
||||
"email": "mike.sherov@gmail.com",
|
||||
"url": "http://mike.sherov.com"
|
||||
},
|
||||
{
|
||||
"name": "TJ VanToll",
|
||||
"email": "tj.vantoll@gmail.com",
|
||||
"url": "http://tjvantoll.com"
|
||||
},
|
||||
{
|
||||
"name": "Felix Nagel",
|
||||
"email": "info@felixnagel.com",
|
||||
"url": "http://www.felixnagel.com"
|
||||
},
|
||||
{
|
||||
"name": "Alex Schmitz",
|
||||
"email": "arschmitz@gmail.com",
|
||||
"url": "https://github.com/arschmitz"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jquery/jquery-ui.git"
|
||||
},
|
||||
"bugs": "https://bugs.jqueryui.com/",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "grunt"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"commitplease": "2.3.0",
|
||||
"grunt": "0.4.5",
|
||||
"grunt-bowercopy": "1.2.4",
|
||||
"grunt-cli": "0.1.13",
|
||||
"grunt-compare-size": "0.4.0",
|
||||
"grunt-contrib-concat": "0.5.1",
|
||||
"grunt-contrib-csslint": "0.5.0",
|
||||
"grunt-contrib-jshint": "0.12.0",
|
||||
"grunt-contrib-qunit": "1.0.1",
|
||||
"grunt-contrib-requirejs": "0.4.4",
|
||||
"grunt-contrib-uglify": "0.11.1",
|
||||
"grunt-git-authors": "3.1.0",
|
||||
"grunt-html": "6.0.0",
|
||||
"grunt-jscs": "2.1.0",
|
||||
"load-grunt-tasks": "3.4.0",
|
||||
"rimraf": "2.5.1",
|
||||
"testswarm": "1.1.0"
|
||||
},
|
||||
"keywords": []
|
||||
}
|
||||
@ -206,7 +206,7 @@
|
||||
var LAZLoader = function(arraybuffer) {
|
||||
this.arraybuffer = arraybuffer;
|
||||
|
||||
let workerPath = Potree.scriptPath + "/workers/laslaz-worker.js";
|
||||
let workerPath = Potree.scriptPath + "/workers/LASLAZWorker.js";
|
||||
this.ww = Potree.workerPool.getWorker(workerPath);
|
||||
|
||||
this.nextCB = null;
|
||||
@ -274,7 +274,7 @@
|
||||
|
||||
return new Promise(function(res, rej) {
|
||||
o.dorr({type:'close'}, function(r) {
|
||||
let workerPath = Potree.scriptPath + "/workers/laslaz-worker.js";
|
||||
let workerPath = Potree.scriptPath + "/workers/LASLAZWorker.js";
|
||||
Potree.workerPool.returnWorker(workerPath, o.ww);
|
||||
|
||||
if (r.status !== 1)
|
||||
|
||||
469
libs/shapefile/shapefile.js
Normal file
@ -0,0 +1,469 @@
|
||||
// https://github.com/mbostock/shapefile Version 0.6.2. Copyright 2017 Mike Bostock.
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
||||
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
||||
(factory((global.shapefile = global.shapefile || {})));
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
var array_cancel = function() {
|
||||
this._array = null;
|
||||
return Promise.resolve();
|
||||
};
|
||||
|
||||
var array_read = function() {
|
||||
var array = this._array;
|
||||
this._array = null;
|
||||
return Promise.resolve(array ? {done: false, value: array} : {done: true, value: undefined});
|
||||
};
|
||||
|
||||
function array(array) {
|
||||
return new ArraySource(array instanceof Uint8Array ? array : new Uint8Array(array));
|
||||
}
|
||||
|
||||
function ArraySource(array) {
|
||||
this._array = array;
|
||||
}
|
||||
|
||||
ArraySource.prototype.read = array_read;
|
||||
ArraySource.prototype.cancel = array_cancel;
|
||||
|
||||
var fetchPath = function(url) {
|
||||
return fetch(url).then(function(response) {
|
||||
return response.body && response.body.getReader
|
||||
? response.body.getReader()
|
||||
: response.arrayBuffer().then(array);
|
||||
});
|
||||
};
|
||||
|
||||
var requestPath = function(url) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
var request = new XMLHttpRequest;
|
||||
request.responseType = "arraybuffer";
|
||||
request.onload = function() { resolve(array(request.response)); };
|
||||
request.onerror = reject;
|
||||
request.ontimeout = reject;
|
||||
request.open("GET", url, true);
|
||||
request.send();
|
||||
});
|
||||
};
|
||||
|
||||
function path(path) {
|
||||
return (typeof fetch === "function" ? fetchPath : requestPath)(path);
|
||||
}
|
||||
|
||||
function stream(source) {
|
||||
return typeof source.read === "function" ? source : source.getReader();
|
||||
}
|
||||
|
||||
var empty = new Uint8Array(0);
|
||||
|
||||
var slice_cancel = function() {
|
||||
return this._source.cancel();
|
||||
};
|
||||
|
||||
function concat(a, b) {
|
||||
if (!a.length) return b;
|
||||
if (!b.length) return a;
|
||||
var c = new Uint8Array(a.length + b.length);
|
||||
c.set(a);
|
||||
c.set(b, a.length);
|
||||
return c;
|
||||
}
|
||||
|
||||
var slice_read = function() {
|
||||
var that = this, array = that._array.subarray(that._index);
|
||||
return that._source.read().then(function(result) {
|
||||
that._array = empty;
|
||||
that._index = 0;
|
||||
return result.done ? (array.length > 0
|
||||
? {done: false, value: array}
|
||||
: {done: true, value: undefined})
|
||||
: {done: false, value: concat(array, result.value)};
|
||||
});
|
||||
};
|
||||
|
||||
var slice_slice = function(length) {
|
||||
if ((length |= 0) < 0) throw new Error("invalid length");
|
||||
var that = this, index = this._array.length - this._index;
|
||||
|
||||
// If the request fits within the remaining buffer, resolve it immediately.
|
||||
if (this._index + length <= this._array.length) {
|
||||
return Promise.resolve(this._array.subarray(this._index, this._index += length));
|
||||
}
|
||||
|
||||
// Otherwise, read chunks repeatedly until the request is fulfilled.
|
||||
var array = new Uint8Array(length);
|
||||
array.set(this._array.subarray(this._index));
|
||||
return (function read() {
|
||||
return that._source.read().then(function(result) {
|
||||
|
||||
// When done, it’s possible the request wasn’t fully fullfilled!
|
||||
// If so, the pre-allocated array is too big and needs slicing.
|
||||
if (result.done) {
|
||||
that._array = empty;
|
||||
that._index = 0;
|
||||
return index > 0 ? array.subarray(0, index) : null;
|
||||
}
|
||||
|
||||
// If this chunk fulfills the request, return the resulting array.
|
||||
if (index + result.value.length >= length) {
|
||||
that._array = result.value;
|
||||
that._index = length - index;
|
||||
array.set(result.value.subarray(0, length - index), index);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Otherwise copy this chunk into the array, then read the next chunk.
|
||||
array.set(result.value, index);
|
||||
index += result.value.length;
|
||||
return read();
|
||||
});
|
||||
})();
|
||||
};
|
||||
|
||||
function slice(source) {
|
||||
return typeof source.slice === "function" ? source :
|
||||
new SliceSource(typeof source.read === "function" ? source
|
||||
: source.getReader());
|
||||
}
|
||||
|
||||
function SliceSource(source) {
|
||||
this._source = source;
|
||||
this._array = empty;
|
||||
this._index = 0;
|
||||
}
|
||||
|
||||
SliceSource.prototype.read = slice_read;
|
||||
SliceSource.prototype.slice = slice_slice;
|
||||
SliceSource.prototype.cancel = slice_cancel;
|
||||
|
||||
var dbf_cancel = function() {
|
||||
return this._source.cancel();
|
||||
};
|
||||
|
||||
var readBoolean = function(value) {
|
||||
return /^[nf]$/i.test(value) ? false
|
||||
: /^[yt]$/i.test(value) ? true
|
||||
: null;
|
||||
};
|
||||
|
||||
var readDate = function(value) {
|
||||
return new Date(+value.substring(0, 4), value.substring(4, 6) - 1, +value.substring(6, 8));
|
||||
};
|
||||
|
||||
var readNumber = function(value) {
|
||||
return !(value = value.trim()) || isNaN(value = +value) ? null : value;
|
||||
};
|
||||
|
||||
var readString = function(value) {
|
||||
return value.trim() || null;
|
||||
};
|
||||
|
||||
var types = {
|
||||
B: readNumber,
|
||||
C: readString,
|
||||
D: readDate,
|
||||
F: readNumber,
|
||||
L: readBoolean,
|
||||
M: readNumber,
|
||||
N: readNumber
|
||||
};
|
||||
|
||||
var dbf_read = function() {
|
||||
var that = this, i = 1;
|
||||
return that._source.slice(that._recordLength).then(function(value) {
|
||||
return value && (value[0] !== 0x1a) ? {done: false, value: that._fields.reduce(function(p, f) {
|
||||
p[f.name] = types[f.type](that._decode(value.subarray(i, i += f.length)));
|
||||
return p;
|
||||
}, {})} : {done: true, value: undefined};
|
||||
});
|
||||
};
|
||||
|
||||
var view = function(array) {
|
||||
return new DataView(array.buffer, array.byteOffset, array.byteLength);
|
||||
};
|
||||
|
||||
var dbf = function(source, decoder) {
|
||||
source = slice(source);
|
||||
return source.slice(32).then(function(array) {
|
||||
var head = view(array);
|
||||
return source.slice(head.getUint16(8, true) - 32).then(function(array) {
|
||||
return new Dbf(source, decoder, head, view(array));
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
function Dbf(source, decoder, head, body) {
|
||||
this._source = source;
|
||||
this._decode = decoder.decode.bind(decoder);
|
||||
this._recordLength = head.getUint16(10, true);
|
||||
this._fields = [];
|
||||
for (var n = 0; body.getUint8(n) !== 0x0d; n += 32) {
|
||||
for (var j = 0; j < 11; ++j) if (body.getUint8(n + j) === 0) break;
|
||||
this._fields.push({
|
||||
name: this._decode(new Uint8Array(body.buffer, body.byteOffset + n, j)),
|
||||
type: String.fromCharCode(body.getUint8(n + 11)),
|
||||
length: body.getUint8(n + 16)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
var prototype = Dbf.prototype;
|
||||
prototype.read = dbf_read;
|
||||
prototype.cancel = dbf_cancel;
|
||||
|
||||
function cancel() {
|
||||
return this._source.cancel();
|
||||
}
|
||||
|
||||
var readMultiPoint = function(record) {
|
||||
var i = 40, j, n = record.getInt32(36, true), coordinates = new Array(n);
|
||||
for (j = 0; j < n; ++j, i += 16) coordinates[j] = [record.getFloat64(i, true), record.getFloat64(i + 8, true)];
|
||||
return {type: "MultiPoint", coordinates: coordinates};
|
||||
};
|
||||
|
||||
var readNull = function() {
|
||||
return null;
|
||||
};
|
||||
|
||||
var readPoint = function(record) {
|
||||
return {type: "Point", coordinates: [record.getFloat64(4, true), record.getFloat64(12, true)]};
|
||||
};
|
||||
|
||||
var readPolygon = function(record) {
|
||||
var i = 44, j, n = record.getInt32(36, true), m = record.getInt32(40, true), parts = new Array(n), points = new Array(m), polygons = [], holes = [];
|
||||
for (j = 0; j < n; ++j, i += 4) parts[j] = record.getInt32(i, true);
|
||||
for (j = 0; j < m; ++j, i += 16) points[j] = [record.getFloat64(i, true), record.getFloat64(i + 8, true)];
|
||||
|
||||
parts.forEach(function(i, j) {
|
||||
var ring = points.slice(i, parts[j + 1]);
|
||||
if (ringClockwise(ring)) polygons.push([ring]);
|
||||
else holes.push(ring);
|
||||
});
|
||||
|
||||
holes.forEach(function(hole) {
|
||||
polygons.some(function(polygon) {
|
||||
if (ringContainsSome(polygon[0], hole)) {
|
||||
polygon.push(hole);
|
||||
return true;
|
||||
}
|
||||
}) || polygons.push([hole]);
|
||||
});
|
||||
|
||||
return polygons.length === 1
|
||||
? {type: "Polygon", coordinates: polygons[0]}
|
||||
: {type: "MultiPolygon", coordinates: polygons};
|
||||
};
|
||||
|
||||
function ringClockwise(ring) {
|
||||
if ((n = ring.length) < 4) return false;
|
||||
var i = 0, n, area = ring[n - 1][1] * ring[0][0] - ring[n - 1][0] * ring[0][1];
|
||||
while (++i < n) area += ring[i - 1][1] * ring[i][0] - ring[i - 1][0] * ring[i][1];
|
||||
return area >= 0;
|
||||
}
|
||||
|
||||
function ringContainsSome(ring, hole) {
|
||||
var i = -1, n = hole.length, c;
|
||||
while (++i < n) {
|
||||
if (c = ringContains(ring, hole[i])) {
|
||||
return c > 0;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function ringContains(ring, point) {
|
||||
var x = point[0], y = point[1], contains = -1;
|
||||
for (var i = 0, n = ring.length, j = n - 1; i < n; j = i++) {
|
||||
var pi = ring[i], xi = pi[0], yi = pi[1],
|
||||
pj = ring[j], xj = pj[0], yj = pj[1];
|
||||
if (segmentContains(pi, pj, point)) {
|
||||
return 0;
|
||||
}
|
||||
if (((yi > y) !== (yj > y)) && ((x < (xj - xi) * (y - yi) / (yj - yi) + xi))) {
|
||||
contains = -contains;
|
||||
}
|
||||
}
|
||||
return contains;
|
||||
}
|
||||
|
||||
function segmentContains(p0, p1, p2) {
|
||||
var x20 = p2[0] - p0[0], y20 = p2[1] - p0[1];
|
||||
if (x20 === 0 && y20 === 0) return true;
|
||||
var x10 = p1[0] - p0[0], y10 = p1[1] - p0[1];
|
||||
if (x10 === 0 && y10 === 0) return false;
|
||||
var t = (x20 * x10 + y20 * y10) / (x10 * x10 + y10 * y10);
|
||||
return t < 0 || t > 1 ? false : t === 0 || t === 1 ? true : t * x10 === x20 && t * y10 === y20;
|
||||
}
|
||||
|
||||
var readPolyLine = function(record) {
|
||||
var i = 44, j, n = record.getInt32(36, true), m = record.getInt32(40, true), parts = new Array(n), points = new Array(m);
|
||||
for (j = 0; j < n; ++j, i += 4) parts[j] = record.getInt32(i, true);
|
||||
for (j = 0; j < m; ++j, i += 16) points[j] = [record.getFloat64(i, true), record.getFloat64(i + 8, true)];
|
||||
return n === 1
|
||||
? {type: "LineString", coordinates: points}
|
||||
: {type: "MultiLineString", coordinates: parts.map(function(i, j) { return points.slice(i, parts[j + 1]); })};
|
||||
};
|
||||
|
||||
var shp_read = function() {
|
||||
var that = this;
|
||||
return that._source.slice(8).then(function(array) {
|
||||
if (array == null) return {done: true, value: undefined};
|
||||
var header = view(array);
|
||||
return that._source.slice(header.getInt32(4, false) * 2).then(function(array) {
|
||||
var record = view(array);
|
||||
return {done: false, value: record.getInt32(0, true) ? that._type(record) : readNull()};
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
var types$1 = {
|
||||
0: readNull,
|
||||
1: readPoint,
|
||||
3: readPolyLine,
|
||||
5: readPolygon,
|
||||
8: readMultiPoint,
|
||||
11: readPoint,
|
||||
13: readPolyLine,
|
||||
15: readPolygon,
|
||||
18: readMultiPoint
|
||||
};
|
||||
|
||||
var shp = function(source) {
|
||||
source = slice(source);
|
||||
return source.slice(100).then(function(array) {
|
||||
return new Shp(source, view(array));
|
||||
});
|
||||
};
|
||||
|
||||
function Shp(source, header) {
|
||||
var type = header.getInt32(32, true);
|
||||
if (!(type in types$1)) throw new Error("unsupported shape type: " + type);
|
||||
this._source = source;
|
||||
this._type = types$1[type];
|
||||
this.bbox = [header.getFloat64(36, true), header.getFloat64(44, true), header.getFloat64(52, true), header.getFloat64(60, true)];
|
||||
}
|
||||
|
||||
var prototype$2 = Shp.prototype;
|
||||
prototype$2.read = shp_read;
|
||||
prototype$2.cancel = cancel;
|
||||
|
||||
function noop() {}
|
||||
|
||||
var shapefile_cancel = function() {
|
||||
return Promise.all([
|
||||
this._dbf && this._dbf.cancel(),
|
||||
this._shp.cancel()
|
||||
]).then(noop);
|
||||
};
|
||||
|
||||
var shapefile_read = function() {
|
||||
var that = this;
|
||||
return Promise.all([
|
||||
that._dbf ? that._dbf.read() : {value: {}},
|
||||
that._shp.read()
|
||||
]).then(function(results) {
|
||||
var dbf = results[0], shp = results[1];
|
||||
return shp.done ? shp : {
|
||||
done: false,
|
||||
value: {
|
||||
type: "Feature",
|
||||
properties: dbf.value,
|
||||
geometry: shp.value
|
||||
}
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
var shapefile = function(shpSource, dbfSource, decoder) {
|
||||
return Promise.all([
|
||||
shp(shpSource),
|
||||
dbfSource && dbf(dbfSource, decoder)
|
||||
]).then(function(sources) {
|
||||
return new Shapefile(sources[0], sources[1]);
|
||||
});
|
||||
};
|
||||
|
||||
function Shapefile(shp$$1, dbf$$1) {
|
||||
this._shp = shp$$1;
|
||||
this._dbf = dbf$$1;
|
||||
this.bbox = shp$$1.bbox;
|
||||
}
|
||||
|
||||
var prototype$1 = Shapefile.prototype;
|
||||
prototype$1.read = shapefile_read;
|
||||
prototype$1.cancel = shapefile_cancel;
|
||||
|
||||
function open(shp$$1, dbf$$1, options) {
|
||||
if (typeof dbf$$1 === "string") {
|
||||
if (!/\.dbf$/.test(dbf$$1)) dbf$$1 += ".dbf";
|
||||
dbf$$1 = path(dbf$$1, options);
|
||||
} else if (dbf$$1 instanceof ArrayBuffer || dbf$$1 instanceof Uint8Array) {
|
||||
dbf$$1 = array(dbf$$1);
|
||||
} else if (dbf$$1 != null) {
|
||||
dbf$$1 = stream(dbf$$1);
|
||||
}
|
||||
if (typeof shp$$1 === "string") {
|
||||
if (!/\.shp$/.test(shp$$1)) shp$$1 += ".shp";
|
||||
if (dbf$$1 === undefined) dbf$$1 = path(shp$$1.substring(0, shp$$1.length - 4) + ".dbf", options).catch(function() {});
|
||||
shp$$1 = path(shp$$1, options);
|
||||
} else if (shp$$1 instanceof ArrayBuffer || shp$$1 instanceof Uint8Array) {
|
||||
shp$$1 = array(shp$$1);
|
||||
} else {
|
||||
shp$$1 = stream(shp$$1);
|
||||
}
|
||||
return Promise.all([shp$$1, dbf$$1]).then(function(sources) {
|
||||
var shp$$1 = sources[0], dbf$$1 = sources[1], encoding = "windows-1252";
|
||||
if (options && options.encoding != null) encoding = options.encoding;
|
||||
return shapefile(shp$$1, dbf$$1, dbf$$1 && new TextDecoder(encoding));
|
||||
});
|
||||
}
|
||||
|
||||
function openShp(source, options) {
|
||||
if (typeof source === "string") {
|
||||
if (!/\.shp$/.test(source)) source += ".shp";
|
||||
source = path(source, options);
|
||||
} else if (source instanceof ArrayBuffer || source instanceof Uint8Array) {
|
||||
source = array(source);
|
||||
} else {
|
||||
source = stream(source);
|
||||
}
|
||||
return Promise.resolve(source).then(shp);
|
||||
}
|
||||
|
||||
function openDbf(source, options) {
|
||||
var encoding = "windows-1252";
|
||||
if (options && options.encoding != null) encoding = options.encoding;
|
||||
encoding = new TextDecoder(encoding);
|
||||
if (typeof source === "string") {
|
||||
if (!/\.dbf$/.test(source)) source += ".dbf";
|
||||
source = path(source, options);
|
||||
} else if (source instanceof ArrayBuffer || source instanceof Uint8Array) {
|
||||
source = array(source);
|
||||
} else {
|
||||
source = stream(source);
|
||||
}
|
||||
return Promise.resolve(source).then(function(source) {
|
||||
return dbf(source, encoding);
|
||||
});
|
||||
}
|
||||
|
||||
function read(shp$$1, dbf$$1, options) {
|
||||
return open(shp$$1, dbf$$1, options).then(function(source) {
|
||||
var features = [], collection = {type: "FeatureCollection", features: features, bbox: source.bbox};
|
||||
return source.read().then(function read(result) {
|
||||
if (result.done) return collection;
|
||||
features.push(result.value);
|
||||
return source.read().then(read);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
exports.open = open;
|
||||
exports.openShp = openShp;
|
||||
exports.openDbf = openDbf;
|
||||
exports.read = read;
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
})));
|
||||
20
libs/spectrum/LICENSE
Normal file
@ -0,0 +1,20 @@
|
||||
Copyright (c) Brian Grinstead
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
69
libs/spectrum/README.md
Normal file
@ -0,0 +1,69 @@
|
||||
# Spectrum
|
||||
## The No Hassle Colorpicker
|
||||
|
||||
See the demo and docs: http://bgrins.github.io/spectrum.
|
||||
|
||||
I wanted a colorpicker that didn't require images, and that had an API that made sense to me as a developer who has worked with color in a number of applications. I had tried a number of existing plugins, but decided to try and make a smaller, simpler one.
|
||||
|
||||
I started using canvas, then switched to CSS gradients, since it turned out to be easier to manage, and provided better cross browser support.
|
||||
|
||||
### Basic Usage
|
||||
|
||||
Head over to the [docs](http://bgrins.github.io/spectrum) for more information. There is a visual demo of the different options hosted at: http://bgrins.github.io/spectrum.
|
||||
|
||||
<script src='spectrum.js'></script>
|
||||
<link rel='stylesheet' href='spectrum.css' />
|
||||
|
||||
<input id='colorpicker' />
|
||||
|
||||
<script>
|
||||
$("#colorpicker").spectrum({
|
||||
color: "#f00"
|
||||
});
|
||||
</script>
|
||||
|
||||
### npm
|
||||
|
||||
Spectrum is registered as package with npm. It can be installed with:
|
||||
|
||||
npm install spectrum-colorpicker
|
||||
|
||||
### Bower
|
||||
|
||||
Spectrum is registered as a package with [Bower](http://bower.io/), so it can be pulled down using:
|
||||
|
||||
bower install spectrum
|
||||
|
||||
### Using spectrum with a CDN
|
||||
|
||||
CDN provided by [cdnjs](https://cdnjs.com/libraries/spectrum)
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.8.0/spectrum.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.8.0/spectrum.min.css">
|
||||
|
||||
### Continuous Integration
|
||||
|
||||
[](http://travis-ci.org/bgrins/spectrum)
|
||||
|
||||
Visit https://travis-ci.org/bgrins/spectrum to view the status of the automated tests.
|
||||
|
||||
### Building Spectrum Locally
|
||||
|
||||
If you'd like to download and use the plugin, head over to http://bgrins.github.io/spectrum/ and click the 'Download Zip' button.
|
||||
|
||||
If you'd like to run the development version, spectrum uses Grunt to automate the testing, linting, and building. Head over to http://gruntjs.com/getting-started for more information. First, clone the repository, then run:
|
||||
|
||||
npm install -g grunt-cli
|
||||
npm install
|
||||
|
||||
# runs jshint and the unit test suite
|
||||
grunt
|
||||
|
||||
# runs jshint, the unit test suite, and builds a minified version of the file.
|
||||
grunt build
|
||||
|
||||
### Internationalization
|
||||
|
||||
If you are able to translate the text in the UI to another language, please do! You can do so by either [filing a pull request](https://github.com/bgrins/spectrum/pulls) or [opening an issue]( https://github.com/bgrins/spectrum/issues) with the translation. The existing languages are listed at: https://github.com/bgrins/spectrum/tree/master/i18n.
|
||||
|
||||
For an example, see the [Dutch translation](i18n/jquery.spectrum-nl.js).
|
||||
507
libs/spectrum/spectrum.css
Normal file
@ -0,0 +1,507 @@
|
||||
/***
|
||||
Spectrum Colorpicker v1.8.0
|
||||
https://github.com/bgrins/spectrum
|
||||
Author: Brian Grinstead
|
||||
License: MIT
|
||||
***/
|
||||
|
||||
.sp-container {
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
display:inline-block;
|
||||
*display: inline;
|
||||
*zoom: 1;
|
||||
/* https://github.com/bgrins/spectrum/issues/40 */
|
||||
z-index: 9999994;
|
||||
overflow: hidden;
|
||||
}
|
||||
.sp-container.sp-flat {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Fix for * { box-sizing: border-box; } */
|
||||
.sp-container,
|
||||
.sp-container * {
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
|
||||
.sp-top {
|
||||
position:relative;
|
||||
width: 100%;
|
||||
display:inline-block;
|
||||
}
|
||||
.sp-top-inner {
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
bottom:0;
|
||||
right:0;
|
||||
}
|
||||
.sp-color {
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
bottom:0;
|
||||
right:20%;
|
||||
}
|
||||
.sp-hue {
|
||||
position: absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
left:84%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.sp-clear-enabled .sp-hue {
|
||||
top:33px;
|
||||
height: 77.5%;
|
||||
}
|
||||
|
||||
.sp-fill {
|
||||
padding-top: 80%;
|
||||
}
|
||||
.sp-sat, .sp-val {
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
}
|
||||
|
||||
.sp-alpha-enabled .sp-top {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.sp-alpha-enabled .sp-alpha {
|
||||
display: block;
|
||||
}
|
||||
.sp-alpha-handle {
|
||||
position:absolute;
|
||||
top:-4px;
|
||||
bottom: -4px;
|
||||
width: 6px;
|
||||
left: 50%;
|
||||
cursor: pointer;
|
||||
border: 1px solid black;
|
||||
background: white;
|
||||
opacity: .8;
|
||||
}
|
||||
.sp-alpha {
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: -14px;
|
||||
right: 0;
|
||||
left: 0;
|
||||
height: 8px;
|
||||
}
|
||||
.sp-alpha-inner {
|
||||
border: solid 1px #333;
|
||||
}
|
||||
|
||||
.sp-clear {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sp-clear.sp-clear-display {
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.sp-clear-enabled .sp-clear {
|
||||
display: block;
|
||||
position:absolute;
|
||||
top:0px;
|
||||
right:0;
|
||||
bottom:0;
|
||||
left:84%;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
/* Don't allow text selection */
|
||||
.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button {
|
||||
-webkit-user-select:none;
|
||||
-moz-user-select: -moz-none;
|
||||
-o-user-select:none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.sp-container.sp-input-disabled .sp-input-container {
|
||||
display: none;
|
||||
}
|
||||
.sp-container.sp-buttons-disabled .sp-button-container {
|
||||
display: none;
|
||||
}
|
||||
.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
|
||||
display: none;
|
||||
}
|
||||
.sp-palette-only .sp-picker-container {
|
||||
display: none;
|
||||
}
|
||||
.sp-palette-disabled .sp-palette-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sp-initial-disabled .sp-initial {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* Gradients for hue, saturation and value instead of images. Not pretty... but it works */
|
||||
.sp-sat {
|
||||
background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
|
||||
background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
|
||||
background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
|
||||
background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
|
||||
background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
|
||||
background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
|
||||
filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
|
||||
}
|
||||
.sp-val {
|
||||
background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
|
||||
background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
|
||||
background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
|
||||
background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
|
||||
background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
|
||||
background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
|
||||
filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
|
||||
}
|
||||
|
||||
.sp-hue {
|
||||
background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
||||
background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
||||
background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
|
||||
background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
||||
background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
||||
}
|
||||
|
||||
/* IE filters do not support multiple color stops.
|
||||
Generate 6 divs, line them up, and do two color gradients for each.
|
||||
Yes, really.
|
||||
*/
|
||||
.sp-1 {
|
||||
height:17%;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
|
||||
}
|
||||
.sp-2 {
|
||||
height:16%;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
|
||||
}
|
||||
.sp-3 {
|
||||
height:17%;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
|
||||
}
|
||||
.sp-4 {
|
||||
height:17%;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
|
||||
}
|
||||
.sp-5 {
|
||||
height:16%;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
|
||||
}
|
||||
.sp-6 {
|
||||
height:17%;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
|
||||
}
|
||||
|
||||
.sp-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Clearfix hack */
|
||||
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
|
||||
.sp-cf:after { clear: both; }
|
||||
.sp-cf { *zoom: 1; }
|
||||
|
||||
/* Mobile devices, make hue slider bigger so it is easier to slide */
|
||||
@media (max-device-width: 480px) {
|
||||
.sp-color { right: 40%; }
|
||||
.sp-hue { left: 63%; }
|
||||
.sp-fill { padding-top: 60%; }
|
||||
}
|
||||
.sp-dragger {
|
||||
border-radius: 5px;
|
||||
height: 5px;
|
||||
width: 5px;
|
||||
border: 1px solid #fff;
|
||||
background: #000;
|
||||
cursor: pointer;
|
||||
position:absolute;
|
||||
top:0;
|
||||
left: 0;
|
||||
}
|
||||
.sp-slider {
|
||||
position: absolute;
|
||||
top:0;
|
||||
cursor:pointer;
|
||||
height: 3px;
|
||||
left: -1px;
|
||||
right: -1px;
|
||||
border: 1px solid #000;
|
||||
background: white;
|
||||
opacity: .8;
|
||||
}
|
||||
|
||||
/*
|
||||
Theme authors:
|
||||
Here are the basic themeable display options (colors, fonts, global widths).
|
||||
See http://bgrins.github.io/spectrum/themes/ for instructions.
|
||||
*/
|
||||
|
||||
.sp-container {
|
||||
border-radius: 0;
|
||||
background-color: #ECECEC;
|
||||
border: solid 1px #f0c49B;
|
||||
padding: 0;
|
||||
}
|
||||
.sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
|
||||
font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-ms-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.sp-top {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.sp-color, .sp-hue, .sp-clear {
|
||||
border: solid 1px #666;
|
||||
}
|
||||
|
||||
/* Input */
|
||||
.sp-input-container {
|
||||
float:right;
|
||||
width: 100px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.sp-initial-disabled .sp-input-container {
|
||||
width: 100%;
|
||||
}
|
||||
.sp-input {
|
||||
font-size: 12px !important;
|
||||
border: 1px inset;
|
||||
padding: 4px 5px;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
background:transparent;
|
||||
border-radius: 3px;
|
||||
color: #222;
|
||||
}
|
||||
.sp-input:focus {
|
||||
border: 1px solid orange;
|
||||
}
|
||||
.sp-input.sp-validation-error {
|
||||
border: 1px solid red;
|
||||
background: #fdd;
|
||||
}
|
||||
.sp-picker-container , .sp-palette-container {
|
||||
float:left;
|
||||
position: relative;
|
||||
padding: 10px;
|
||||
padding-bottom: 300px;
|
||||
margin-bottom: -290px;
|
||||
}
|
||||
.sp-picker-container {
|
||||
width: 172px;
|
||||
border-left: solid 1px #fff;
|
||||
}
|
||||
|
||||
/* Palettes */
|
||||
.sp-palette-container {
|
||||
border-right: solid 1px #ccc;
|
||||
}
|
||||
|
||||
.sp-palette-only .sp-palette-container {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.sp-palette .sp-thumb-el {
|
||||
display: block;
|
||||
position:relative;
|
||||
float:left;
|
||||
width: 24px;
|
||||
height: 15px;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
border:solid 2px transparent;
|
||||
}
|
||||
.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
|
||||
border-color: orange;
|
||||
}
|
||||
.sp-thumb-el {
|
||||
position:relative;
|
||||
}
|
||||
|
||||
/* Initial */
|
||||
.sp-initial {
|
||||
float: left;
|
||||
border: solid 1px #333;
|
||||
}
|
||||
.sp-initial span {
|
||||
width: 30px;
|
||||
height: 25px;
|
||||
border:none;
|
||||
display:block;
|
||||
float:left;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.sp-initial .sp-clear-display {
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.sp-palette-button-container,
|
||||
.sp-button-container {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Replacer (the little preview div that shows up instead of the <input>) */
|
||||
.sp-replacer {
|
||||
margin:0;
|
||||
overflow:hidden;
|
||||
cursor:pointer;
|
||||
padding: 4px;
|
||||
display:inline-block;
|
||||
*zoom: 1;
|
||||
*display: inline;
|
||||
border: solid 1px #91765d;
|
||||
background: #eee;
|
||||
color: #333;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.sp-replacer:hover, .sp-replacer.sp-active {
|
||||
border-color: #F0C49B;
|
||||
color: #111;
|
||||
}
|
||||
.sp-replacer.sp-disabled {
|
||||
cursor:default;
|
||||
border-color: silver;
|
||||
color: silver;
|
||||
}
|
||||
.sp-dd {
|
||||
padding: 2px 0;
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
float:left;
|
||||
font-size:10px;
|
||||
}
|
||||
.sp-preview {
|
||||
position:relative;
|
||||
width:25px;
|
||||
height: 20px;
|
||||
border: solid 1px #222;
|
||||
margin-right: 5px;
|
||||
float:left;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.sp-palette {
|
||||
*width: 220px;
|
||||
max-width: 220px;
|
||||
}
|
||||
.sp-palette .sp-thumb-el {
|
||||
width:16px;
|
||||
height: 16px;
|
||||
margin:2px 1px;
|
||||
border: solid 1px #d0d0d0;
|
||||
}
|
||||
|
||||
.sp-container {
|
||||
padding-bottom:0;
|
||||
}
|
||||
|
||||
|
||||
/* Buttons: http://hellohappy.org/css3-buttons/ */
|
||||
.sp-container button {
|
||||
background-color: #eeeeee;
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
|
||||
border: 1px solid #ccc;
|
||||
border-bottom: 1px solid #bbb;
|
||||
border-radius: 3px;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
line-height: 1;
|
||||
padding: 5px 4px;
|
||||
text-align: center;
|
||||
text-shadow: 0 1px 0 #eee;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.sp-container button:hover {
|
||||
background-color: #dddddd;
|
||||
background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
|
||||
background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
|
||||
background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
|
||||
background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
|
||||
background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
|
||||
border: 1px solid #bbb;
|
||||
border-bottom: 1px solid #999;
|
||||
cursor: pointer;
|
||||
text-shadow: 0 1px 0 #ddd;
|
||||
}
|
||||
.sp-container button:active {
|
||||
border: 1px solid #aaa;
|
||||
border-bottom: 1px solid #888;
|
||||
-webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
||||
-moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
||||
-ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
||||
-o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
||||
box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
||||
}
|
||||
.sp-cancel {
|
||||
font-size: 11px;
|
||||
color: #d93f3f !important;
|
||||
margin:0;
|
||||
padding:2px;
|
||||
margin-right: 5px;
|
||||
vertical-align: middle;
|
||||
text-decoration:none;
|
||||
|
||||
}
|
||||
.sp-cancel:hover {
|
||||
color: #d93f3f !important;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
.sp-palette span:hover, .sp-palette span.sp-thumb-active {
|
||||
border-color: #000;
|
||||
}
|
||||
|
||||
.sp-preview, .sp-alpha, .sp-thumb-el {
|
||||
position:relative;
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
|
||||
}
|
||||
.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
|
||||
display:block;
|
||||
position:absolute;
|
||||
top:0;left:0;bottom:0;right:0;
|
||||
}
|
||||
|
||||
.sp-palette .sp-thumb-inner {
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
|
||||
}
|
||||
|
||||
.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
|
||||
}
|
||||
|
||||
.sp-clear-display {
|
||||
background-repeat:no-repeat;
|
||||
background-position: center;
|
||||
background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
|
||||
}
|
||||
2341
libs/spectrum/spectrum.js
Normal file
1643
libs/three.js/build/three.min.js
vendored
43191
libs/three.js/build_83/three.js
Normal file
854
libs/three.js/build_83/three.min.js
vendored
Normal file
10385
resources/icons/cloud_icon.svg
Normal file
|
After Width: | Height: | Size: 760 KiB |
93
resources/icons/eye.svg
Normal file
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64.000001 64.000001"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
sodipodi:docname="eye.svg">
|
||||
<defs
|
||||
id="defs4" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.9195959"
|
||||
inkscape:cx="-11.588817"
|
||||
inkscape:cy="29.04571"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1378"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Ebene 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-988.36216)">
|
||||
<circle
|
||||
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path4138"
|
||||
cx="32.167046"
|
||||
cy="1019.7532"
|
||||
r="12.911013" />
|
||||
<circle
|
||||
r="6.2958488"
|
||||
cy="1016.4803"
|
||||
cx="28.566353"
|
||||
id="circle4140"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 6,1020.3622 c 0,0 8.635627,-20.3563 26,-20.3563 15.414839,0 26,20.3563 26,20.3563 0,0 -5.427431,21.4926 -26,21.4926 -20.126654,0 -26,-21.4926 -26,-21.4926 z"
|
||||
id="path4136"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cscsc" />
|
||||
<g
|
||||
id="g4150"
|
||||
transform="translate(76.645324,0)">
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 8,1044.3622 56,996.36216"
|
||||
id="path4144"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path4142"
|
||||
d="M 8,1044.3622 56,996.36216"
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
93
resources/icons/eye_crossed.svg
Normal file
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64.000001 64.000001"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
sodipodi:docname="eye_crossed.svg">
|
||||
<defs
|
||||
id="defs4" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.9195959"
|
||||
inkscape:cx="26.72264"
|
||||
inkscape:cy="42.323076"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
showguides="false"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1378"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Ebene 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-988.36216)">
|
||||
<circle
|
||||
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path4138"
|
||||
cx="32.167046"
|
||||
cy="1019.7532"
|
||||
r="12.911013" />
|
||||
<circle
|
||||
r="6.2958488"
|
||||
cy="1016.4803"
|
||||
cx="28.566353"
|
||||
id="circle4140"
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 6,1020.3622 c 0,0 8.635627,-20.3563 26,-20.3563 15.414839,0 26,20.3563 26,20.3563 0,0 -5.427431,21.4926 -26,21.4926 -20.126654,0 -26,-21.4926 -26,-21.4926 z"
|
||||
id="path4136"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cscsc" />
|
||||
<g
|
||||
id="g4150"
|
||||
transform="translate(-0.63134584,0)">
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 8,1044.3622 56,996.36216"
|
||||
id="path4144"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path4142"
|
||||
d="M 8,1044.3622 56,996.36216"
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
200
resources/icons/file_csv_2d.svg
Normal file
@ -0,0 +1,200 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="42"
|
||||
height="16"
|
||||
id="svg3797"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.5 r10040"
|
||||
sodipodi:docname="file_csv.svg"
|
||||
inkscape:export-filename="D:\dev\workspaces\potree\develop\resources\icons\point.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs3799" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="44.791206"
|
||||
inkscape:cx="15.817185"
|
||||
inkscape:cy="8.389475"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1018"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid3805"
|
||||
empspacing="5"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata3802">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
transform="translate(0,-16)">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
x="57"
|
||||
y="24"
|
||||
id="text3863"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3865"
|
||||
x="57"
|
||||
y="24">JSON</tspan></text>
|
||||
<g
|
||||
id="g3969"
|
||||
transform="translate(-1.0945747,10.000001)">
|
||||
<g
|
||||
transform="matrix(1.2078051,0,0,1.207805,0.66871181,-4.8011637)"
|
||||
style="font-size:7.45153379px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="text3877">
|
||||
<path
|
||||
sodipodi:type="inkscape:offset"
|
||||
inkscape:radius="1.0456477"
|
||||
inkscape:original="M 35.8125 31.03125 C 35.402566 31.031255 35.071111 31.095049 34.78125 31.21875 C 34.491386 31.342463 34.247777 31.513506 34.09375 31.75 C 33.939719 31.986504 33.875 32.259584 33.875 32.53125 C 33.875 32.953313 34.047539 33.300252 34.375 33.59375 C 34.607859 33.802357 35.016449 33.98189 35.59375 34.125 C 36.042489 34.236581 36.311364 34.30009 36.4375 34.34375 C 36.621844 34.409244 36.76976 34.50522 36.84375 34.59375 C 36.917732 34.682288 36.937497 34.780119 36.9375 34.90625 C 36.937497 35.102727 36.863355 35.29075 36.6875 35.4375 C 36.511639 35.584256 36.253112 35.65625 35.90625 35.65625 C 35.578787 35.65625 35.317836 35.571194 35.125 35.40625 C 34.932161 35.241309 34.78182 34.976717 34.71875 34.625 L 33.6875 34.71875 C 33.757843 35.315456 33.98233 35.782057 34.34375 36.09375 C 34.705167 36.405443 35.200673 36.5625 35.875 36.5625 C 36.338293 36.5625 36.720766 36.504771 37.03125 36.375 C 37.341727 36.245229 37.611452 36.04807 37.78125 35.78125 C 37.951041 35.514432 38.031245 35.211881 38.03125 34.90625 C 38.031245 34.56909 37.954395 34.291724 37.8125 34.0625 C 37.670596 33.83328 37.469799 33.66345 37.21875 33.53125 C 36.967694 33.399057 36.586433 33.24871 36.0625 33.125 C 35.538562 33.001296 35.198334 32.895258 35.0625 32.78125 C 34.955769 32.691506 34.906248 32.563636 34.90625 32.4375 C 34.906248 32.299243 34.948493 32.20748 35.0625 32.125 C 35.239569 31.996443 35.499592 31.937504 35.8125 31.9375 C 36.115701 31.937504 36.348395 31.973685 36.5 32.09375 C 36.651598 32.213822 36.73516 32.413408 36.78125 32.6875 L 37.875 32.65625 C 37.858016 32.166277 37.682121 31.762256 37.34375 31.46875 C 37.005371 31.175255 36.48197 31.031255 35.8125 31.03125 z M 41.28125 31.03125 C 40.84706 31.031255 40.488559 31.109319 40.15625 31.25 C 39.906409 31.354308 39.678565 31.502874 39.46875 31.71875 C 39.258932 31.934636 39.090031 32.197084 38.96875 32.46875 C 38.806234 32.83745 38.71875 33.269163 38.71875 33.8125 C 38.71875 34.661473 38.938103 35.328588 39.40625 35.8125 C 39.874395 36.296413 40.519317 36.5625 41.3125 36.5625 C 42.095975 36.5625 42.71935 36.298839 43.1875 35.8125 C 43.655642 35.326163 43.874995 34.673601 43.875 33.8125 C 43.874995 32.944128 43.659279 32.268806 43.1875 31.78125 C 42.71571 31.293704 42.067151 31.031255 41.28125 31.03125 z M 31.71875 31.125 L 31.71875 34.5625 C 31.718747 34.994264 31.6932 35.300453 31.59375 35.4375 C 31.494297 35.574552 31.302635 35.625001 31.0625 35.625 C 30.824787 35.625001 30.647679 35.535375 30.53125 35.34375 C 30.453628 35.217618 30.41838 34.99313 30.40625 34.6875 L 29.40625 34.8125 C 29.408675 35.382524 29.528701 35.830287 29.8125 36.125 C 30.096298 36.419714 30.504887 36.5625 31.03125 36.5625 C 31.479989 36.5625 31.850901 36.469236 32.125 36.28125 C 32.399093 36.093264 32.583195 35.841732 32.6875 35.53125 C 32.765121 35.29354 32.812496 34.941466 32.8125 34.5 L 32.8125 31.125 L 31.71875 31.125 z M 44.75 31.125 L 44.75 36.46875 L 45.75 36.46875 L 45.75 32.96875 L 47.875 36.46875 L 48.96875 36.46875 L 48.96875 31.125 L 47.96875 31.125 L 47.96875 34.6875 L 45.78125 31.125 L 44.75 31.125 z M 41.3125 31.96875 C 41.756387 31.968755 42.106964 32.105476 42.375 32.40625 C 42.643028 32.707032 42.781246 33.169995 42.78125 33.78125 C 42.781246 34.399788 42.650304 34.846984 42.375 35.15625 C 42.099687 35.465519 41.741833 35.625001 41.3125 35.625 C 40.883161 35.625001 40.528945 35.467944 40.25 35.15625 C 39.971051 34.844558 39.812498 34.385234 39.8125 33.78125 C 39.812498 33.167569 39.947078 32.71067 40.21875 32.40625 C 40.490418 32.101838 40.868607 31.968755 41.3125 31.96875 z "
|
||||
id="path3891"
|
||||
d="m 35.8125,30 c -0.51841,6e-6 -1.002329,0.06429 -1.4375,0.25 -0.211066,0.09008 -0.392513,0.314908 -0.59375,0.46875 a 1.0457523,1.0457523 0 0 0 -0.96875,-0.625 l -1.09375,0 A 1.0457523,1.0457523 0 0 0 30.6875,31.125 l 0,2.53125 a 1.0457523,1.0457523 0 0 0 -0.40625,0 l -1,0.125 A 1.0457523,1.0457523 0 0 0 28.375,34.8125 c 0.003,0.714474 0.138816,1.461465 0.6875,2.03125 0.514577,0.53437 1.253286,0.75 1.96875,0.75 0.593621,0 1.183576,-0.09189 1.6875,-0.4375 0.308306,-0.211451 0.470768,-0.556887 0.65625,-0.875 0.127813,0.182745 0.110034,0.446091 0.28125,0.59375 0.587809,0.506938 1.382062,0.71875 2.21875,0.71875 0.550156,0 1.071911,-0.04495 1.5625,-0.25 0.433723,-0.181285 0.845393,-0.490787 1.15625,-0.9375 0.03111,0.03525 0.02959,0.09098 0.0625,0.125 0.668636,0.691157 1.629213,1.0625 2.65625,1.0625 0.922984,0 1.761184,-0.336964 2.40625,-0.90625 A 1.0457523,1.0457523 0 0 0 44.75,37.5 l 1,0 a 1.0457523,1.0457523 0 0 0 1.03125,-0.8125 L 46.96875,37 a 1.0457523,1.0457523 0 0 0 0.90625,0.5 l 1.09375,0 A 1.0457523,1.0457523 0 0 0 50,36.46875 L 50,31.125 a 1.0457523,1.0457523 0 0 0 -1.03125,-1.03125 l -1,0 A 1.0457523,1.0457523 0 0 0 46.9375,30.9375 l -0.25,-0.375 a 1.0457523,1.0457523 0 0 0 -0.90625,-0.46875 l -1.03125,0 a 1.0457523,1.0457523 0 0 0 -1.03125,0.8125 C 43.060062,30.329879 42.204799,30.000006 41.28125,30 c -0.559516,6e-6 -1.078199,0.08945 -1.53125,0.28125 C 39.382983,30.434479 39.025145,30.684754 38.71875,31 38.575648,31.14724 38.485453,31.306319 38.375,31.46875 38.233858,31.210464 38.256746,30.883097 38.03125,30.6875 37.417573,30.155224 36.631909,30.000006 35.8125,30 z m 5.5,3 c 0.229181,3e-6 0.209801,0.01357 0.28125,0.09375 0.03226,0.0362 0.156247,0.233871 0.15625,0.6875 -3e-6,0.470968 -0.104317,0.62916 -0.15625,0.6875 -0.09481,0.106502 -0.110866,0.125 -0.28125,0.125 -0.174331,0 -0.179253,-0.01103 -0.28125,-0.125 -0.06982,-0.07802 -0.187501,-0.266514 -0.1875,-0.6875 -2e-6,-0.460806 0.11643,-0.642879 0.15625,-0.6875 0.05148,-0.05768 0.0776,-0.09375 0.3125,-0.09375 z" />
|
||||
</g>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
x="36.017761"
|
||||
y="39.236652"
|
||||
id="text3873"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3875"
|
||||
x="36.017761"
|
||||
y="39.236652">JSON</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g3839"
|
||||
transform="translate(-0.187988,0.686524)">
|
||||
<g
|
||||
transform="matrix(1.2078051,0,0,1.207805,-17.017087,0.044756)"
|
||||
style="font-size:7.45153379px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="text3929">
|
||||
<path
|
||||
sodipodi:type="inkscape:offset"
|
||||
inkscape:radius="1.0166538"
|
||||
inkscape:original="M 17.6875 31.3125 L 17.6875 36.65625 L 19.71875 36.65625 C 20.11655 36.65625 20.449785 36.60644 20.6875 36.53125 C 21.005254 36.429373 21.250722 36.306922 21.4375 36.125 C 21.684909 35.884863 21.866586 35.544351 22 35.15625 C 22.10915 34.838494 22.156245 34.470291 22.15625 34.03125 C 22.156245 33.531573 22.116425 33.122055 22 32.78125 C 21.883565 32.440453 21.723153 32.14154 21.5 31.90625 C 21.276838 31.670968 21.000402 31.49843 20.6875 31.40625 C 20.454636 31.338333 20.100137 31.312506 19.65625 31.3125 L 17.6875 31.3125 z M 22.71875 31.3125 L 24.375 33.875 L 22.53125 36.65625 L 23.84375 36.65625 L 25.03125 34.8125 L 26.21875 36.65625 L 27.5 36.65625 L 25.6875 33.90625 L 27.34375 31.3125 L 26.09375 31.3125 L 25.03125 33.03125 L 23.96875 31.3125 L 22.71875 31.3125 z M 28.0625 31.3125 L 28.0625 36.65625 L 29.15625 36.65625 L 29.15625 34.375 L 31.375 34.375 L 31.375 33.46875 L 29.15625 33.46875 L 29.15625 32.21875 L 31.71875 32.21875 L 31.71875 31.3125 L 28.0625 31.3125 z M 18.78125 32.21875 L 19.25 32.21875 C 19.689036 32.21876 20.005858 32.24729 20.15625 32.28125 C 20.357574 32.324915 20.525262 32.407547 20.65625 32.53125 C 20.78723 32.654961 20.86473 32.810522 20.9375 33.03125 C 21.010263 33.251986 21.062497 33.587646 21.0625 34 C 21.062497 34.41236 21.01027 34.729827 20.9375 34.96875 C 20.864728 35.207675 20.771463 35.36445 20.65625 35.46875 C 20.541029 35.573054 20.393392 35.64384 20.21875 35.6875 C 20.085337 35.72146 19.894525 35.750001 19.59375 35.75 L 18.78125 35.75 L 18.78125 32.21875 z "
|
||||
id="path3941"
|
||||
d="m 17.6875,30.28125 a 1.0167554,1.0167554 0 0 0 -1.03125,1.03125 l 0,5.34375 a 1.0167554,1.0167554 0 0 0 1.03125,1.03125 l 2.03125,0 c 0.482666,0 0.906153,-0.06886 1.28125,-0.1875 0.226456,-0.07261 0.437309,-0.248639 0.65625,-0.375 a 1.0167554,1.0167554 0 0 0 0.875,0.5625 l 1.3125,0 a 1.0167554,1.0167554 0 0 0 0.84375,-0.46875 l 0.34375,-0.53125 0.34375,0.53125 a 1.0167554,1.0167554 0 0 0 0.84375,0.46875 l 1.28125,0 a 1.0167554,1.0167554 0 0 0 0.28125,-0.0625 1.0167554,1.0167554 0 0 0 0.03125,0 1.0167554,1.0167554 0 0 0 0.25,0.0625 l 1.09375,0 a 1.0167554,1.0167554 0 0 0 1.03125,-1.03125 l 0,-1.25 1.1875,0 A 1.0167554,1.0167554 0 0 0 32.40625,34.375 l 0,-0.90625 a 1.0167554,1.0167554 0 0 0 -0.09375,-0.40625 1.0167554,1.0167554 0 0 0 0,-0.03125 1.0167554,1.0167554 0 0 0 0.4375,-0.8125 l 0,-0.90625 a 1.0167554,1.0167554 0 0 0 -1.03125,-1.03125 l -3.65625,0 a 1.0167554,1.0167554 0 0 0 -0.34375,0.0625 1.0167554,1.0167554 0 0 0 -0.03125,0 1.0167554,1.0167554 0 0 0 -0.34375,-0.0625 l -1.25,0 a 1.0167554,1.0167554 0 0 0 -0.875,0.5 l -0.1875,0.3125 -0.1875,-0.3125 a 1.0167554,1.0167554 0 0 0 -0.875,-0.5 l -1.25,0 a 1.0167554,1.0167554 0 0 0 -0.9375,0.65625 c -0.256719,-0.18474 -0.502851,-0.408778 -0.8125,-0.5 -0.432605,-0.126173 -0.829185,-0.156243 -1.3125,-0.15625 l -1.96875,0 z m 2.125,3 c 0.01585,0.0016 0.130355,0.0012 0.125,0 0.05596,0.01214 0.05085,0.01851 0.03125,0 -0.03277,-0.03095 -0.05004,-0.08928 0,0.0625 0.02212,0.06709 0.0625,0.329747 0.0625,0.65625 -2e-6,0.326522 -0.02336,0.558999 -0.0625,0.6875 -0.01688,0.0043 -0.114233,-0.0056 -0.15625,0 l 0,-1.40625 z m 7.21875,0.40625 0,0.40625 -0.125,-0.1875 0.125,-0.21875 z" />
|
||||
</g>
|
||||
<g
|
||||
transform="translate(1.100289,16.564035)"
|
||||
id="text3893"
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3011"
|
||||
d="m 3.2581091,21.307058 2.3774414,0 c 0.5361292,7e-6 0.9448202,0.04102 1.2260742,0.123047 0.3779251,0.111335 0.7016552,0.309088 0.9711914,0.593262 0.2695258,0.284185 0.4746037,0.632085 0.6152344,1.043701 0.140619,0.411625 0.2109314,0.919193 0.2109375,1.522705 -6.1e-6,0.530276 -0.065924,0.987307 -0.1977539,1.371094 -0.1611385,0.468751 -0.3911188,0.848145 -0.6899414,1.138184 -0.2255909,0.219727 -0.5302781,0.391113 -0.9140625,0.51416 -0.2871134,0.09082 -0.670902,0.13623 -1.1513672,0.13623 l -2.4477539,0 z m 1.3007812,1.089844 0,4.26709 0.9711914,0 c 0.363278,1e-6 0.6254848,-0.02051 0.7866211,-0.06152 0.2109336,-0.05273 0.3859823,-0.142088 0.5251465,-0.268066 0.1391558,-0.125975 0.2526811,-0.33325 0.3405762,-0.621826 0.087886,-0.288572 0.1318312,-0.681882 0.1318359,-1.179932 -4.7e-6,-0.498043 -0.04395,-0.880367 -0.1318359,-1.146972 C 7.0945304,23.119075 6.9714836,22.911067 6.8132849,22.761648 6.6550777,22.612239 6.4543943,22.511165 6.2112341,22.458426 6.02959,22.417415 5.6736334,22.396907 5.143363,22.396902 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3013"
|
||||
d="m 9.1116247,27.749441 2.2016603,-3.361816 -1.9951173,-3.080567 1.5205073,0 1.291993,2.069825 1.265625,-2.069825 1.507324,0 -2.003906,3.128907 2.20166,3.313476 -1.568848,0 -1.428223,-2.228027 -1.432617,2.228027 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3015"
|
||||
d="m 15.786918,27.749441 0,-6.442383 4.416504,0 0,1.089844 -3.115723,0 0,1.524902 2.689453,0 0,1.089844 -2.689453,0 0,2.737793 z" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g3832"
|
||||
transform="matrix(1,0,0,0.99466628,-24.5,-10.898659)">
|
||||
<path
|
||||
transform="translate(0,16)"
|
||||
d="M 2.34375,2.1875 A 0.82341756,0.82341756 0 0 0 1.6875,3 l 0,1.9375 A 0.82341756,0.82341756 0 0 0 0.75,5.0625 L 0.0625,5.75 a 0.82341756,0.82341756 0 0 0 0,1.1875 l 2,1.96875 0.34375,0.375 a 0.82341756,0.82341756 0 0 0 1.1875,0 L 3.9375,8.9375 l 0,-0.03125 2,-1.96875 a 0.82341756,0.82341756 0 0 0 0,-1.1875 L 5.25,5.0625 A 0.82341756,0.82341756 0 0 0 4.3125,4.90625 L 4.3125,3 A 0.82341756,0.82341756 0 0 0 3.5,2.1875 l -1,0 a 0.82341756,0.82341756 0 0 0 -0.15625,0 z"
|
||||
id="path3830"
|
||||
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
|
||||
inkscape:original="M 2.5 3 L 2.5 6.8125 L 1.34375 5.65625 L 0.65625 6.34375 L 2.65625 8.34375 L 3 8.71875 L 3.34375 8.34375 L 5.34375 6.34375 L 4.65625 5.65625 L 3.5 6.8125 L 3.5 3 L 2.5 3 z "
|
||||
inkscape:radius="0.82333523"
|
||||
sodipodi:type="inkscape:offset" />
|
||||
<path
|
||||
transform="translate(0,16)"
|
||||
id="path3819"
|
||||
d="m 2.5,3 0,3.8125 -1.15625,-1.15625 -0.6875,0.6875 2,2 0.34375,0.375 0.34375,-0.375 2,-2 L 4.65625,5.65625 3.5,6.8125 3.5,3 2.5,3 z"
|
||||
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
<path
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
|
||||
d="m 6.4551648,18.888338 c -1.2012608,9e-6 -2.338575,0.469909 -3.125,1.3125 -0.8291855,0.88842 -1.1562505,2.094747 -1.15625,3.375 -5e-7,1.236177 0.3535462,2.398198 1.15625,3.25 0.773331,0.820639 1.8828758,1.3125 3.0625,1.3125 0.9281513,0 1.8013636,-0.274737 2.46875,-0.78125 0.228838,-0.17368 0.2888222,-0.495964 0.46875,-0.71875 0.1502067,0.212386 0.2676978,0.45161 0.46875,0.625 0.7384272,0.636834 1.7074482,0.875 2.7187502,0.875 0.7032,0 1.336063,-0.118494 1.875,-0.34375 0.585238,-0.244614 1.1182,-0.667899 1.46875,-1.21875 0.150193,-0.236023 0.161619,-0.536978 0.25,-0.8125 l 0.5,1.40625 a 1.2928111,1.2928111 0 0 0 1.21875,0.84375 l 1.375,0 a 1.2928111,1.2928111 0 0 0 1.21875,-0.84375 l 0.53125,-1.46875 c 0.06718,0.40534 0.05592,0.809199 0.1875,1.21875 0.272929,0.849496 0.676977,1.666712 1.1875,2.4375 a 1.2928111,1.2928111 0 0 0 1.0625,0.5625 l 0.84375,0 a 1.2928111,1.2928111 0 0 0 1.1875,-1.8125 c -0.01816,-0.03941 -0.01405,-0.05555 -0.03125,-0.09375 l 3.71875,0 a 1.2928111,1.2928111 0 0 0 0.5,-0.09375 1.2928111,1.2928111 0 0 0 0.03125,0 1.2928111,1.2928111 0 0 0 0.5625,0.09375 l 2.46875,0 c 0.541772,0 1.00768,-0.03177 1.5,-0.1875 a 1.2928111,1.2928111 0 0 0 0.03125,0 c 0.54525,-0.174816 1.027775,-0.413426 1.4375,-0.8125 -0.06944,0.187981 -0.206301,0.597923 -0.4375,1.09375 a 1.2928111,1.2928111 0 0 0 1.15625,1.8125 l 0.84375,0 a 1.2928111,1.2928111 0 0 0 1.09375,-0.5625 c 0.570101,-0.865098 0.989692,-1.788592 1.25,-2.71875 0.221768,-0.803076 0.312496,-1.576498 0.3125,-2.3125 -3e-6,-0.844125 -0.107542,-1.731596 -0.40625,-2.59375 -0.285358,-0.823594 -0.6808,-1.591029 -1.1875,-2.3125 a 1.2928111,1.2928111 0 0 0 -1.0625,-0.53125 l -0.84375,0 a 1.2928111,1.2928111 0 0 0 -1.21875,0.875 c -0.306194,-0.213402 -0.578353,-0.487948 -0.9375,-0.59375 -0.506805,-0.147805 -1.019809,-0.156243 -1.625,-0.15625 l -2.375,0 a 1.2928111,1.2928111 0 0 0 -1.09375,0.625 c -0.611152,-0.436902 -1.334902,-0.656243 -2.0625,-0.65625 -0.588718,6e-6 -1.130297,0.238062 -1.65625,0.5 a 1.2928111,1.2928111 0 0 0 -1.125,-0.59375 l -0.875,0 a 1.2928111,1.2928111 0 0 0 -1,0.46875 1.2928111,1.2928111 0 0 0 -0.875,-0.34375 l -1.375,0 a 1.2928111,1.2928111 0 0 0 -1.21875,0.875 l -0.375,1.125 -0.375,-1.125 a 1.2928111,1.2928111 0 0 0 -1.21875,-0.875 l -1.4375,0 a 1.2928111,1.2928111 0 0 0 -0.96875,0.40625 c -0.641447,-0.354099 -1.352874,-0.531243 -2.125,-0.53125 -0.670185,9e-6 -1.261699,0.135361 -1.75,0.34375 -0.433166,0.184872 -0.8957622,0.516246 -1.2500002,0.96875 -0.065336,-0.07449 -0.082925,-0.181072 -0.15625,-0.25 -0.7397803,-0.700133 -1.7478402,-1.062491 -2.8125,-1.0625 z m -0.0625,3.6875 c 0.1266079,2e-6 0.062178,-2.58e-4 0.0625,0 0.015573,0.01246 0.00578,-0.04917 0.03125,0.0625 a 1.2928111,1.2928111 0 0 0 0.46875,0.75 1.2928111,1.2928111 0 0 0 -0.40625,0.6875 c -0.071195,0.309783 -0.1480369,0.364077 -0.125,0.34375 -0.028938,0.02553 -0.025978,0.03125 -0.0625,0.03125 -0.127629,0 -0.025302,0.02389 -0.125,-0.09375 0.015505,0.0183 -0.1562515,-0.213476 -0.15625,-0.875 -1.4e-6,-0.610235 0.1665648,-0.891663 0.125,-0.84375 0.067094,-0.07734 -0.00631,-0.0625 0.1875,-0.0625 z m 26.4062502,0.125 c 0.0031,-3.25e-4 0.102411,0.002 0.09375,0 0.0014,0.0021 0.0081,-0.0078 0.03125,0.0625 0.0039,0.01191 0.0625,0.316162 0.0625,0.75 -4e-6,0.433846 -0.07353,0.746096 -0.09375,0.8125 -0.0025,-3.55e-4 -0.07368,-0.002 -0.09375,0 l 0,-1.625 z m -23.6250002,0.65625 c 0.02498,0.04663 0.066585,0.07977 0.09375,0.125 l -0.28125,-0.09375 0.1875,-0.03125 z m 15.4375002,0.0625 a 1.2928111,1.2928111 0 0 0 0.1875,0.03125 l 0.5,0.0625 c -0.313672,0.320367 -0.599765,0.617253 -0.8125,0.90625 -1e-6,-0.370828 0.08068,-0.672895 0.125,-1 z"
|
||||
id="path3847"
|
||||
inkscape:connector-curvature="0" />
|
||||
<g
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
|
||||
id="text3859"
|
||||
transform="translate(0,-0.26790972)">
|
||||
<path
|
||||
d="m 7.8169379,24.631348 1.2612305,0.399902 c -0.1933652,0.703126 -0.5148981,1.225343 -0.9645996,1.56665 -0.4497117,0.341309 -1.0202677,0.511963 -1.7116699,0.511963 -0.8554713,0 -1.5585956,-0.292236 -2.109375,-0.876709 -0.550782,-0.584471 -0.8261723,-1.383542 -0.8261719,-2.397217 -4e-7,-1.072261 0.2768548,-1.905024 0.8305664,-2.498291 0.5537091,-0.593255 1.2817357,-0.889886 2.184082,-0.889892 0.7880817,6e-6 1.4282178,0.232916 1.9204102,0.69873 0.2929631,0.275397 0.5126894,0.670904 0.6591797,1.186524 L 7.7729926,22.640625 C 7.6968161,22.306645 7.5378807,22.042974 7.296186,21.849609 7.0544827,21.656255 6.7607819,21.559576 6.4150825,21.55957 c -0.477542,6e-6 -0.8649928,0.171392 -1.1623536,0.51416 -0.2973652,0.342778 -0.4460466,0.897954 -0.4460449,1.665528 -1.7e-6,0.814455 0.1464825,1.394533 0.4394531,1.740234 0.2929663,0.345704 0.6738253,0.518556 1.1425782,0.518555 0.3456994,1e-6 0.6430624,-0.109862 0.8920898,-0.32959 0.249019,-0.219725 0.4277297,-0.565428 0.5361328,-1.037109 z"
|
||||
style="font-weight:bold;fill:#ffffff;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="path3871"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 9.869184,24.903809 1.265625,-0.123047 c 0.07617,0.424806 0.230711,0.736818 0.463623,0.936035 0.232908,0.19922 0.547117,0.298829 0.942627,0.298828 0.418942,1e-6 0.734615,-0.08862 0.947022,-0.265869 0.212398,-0.177245 0.318599,-0.38452 0.318603,-0.621826 -4e-6,-0.152342 -0.04468,-0.281981 -0.134033,-0.388916 -0.08936,-0.106932 -0.245365,-0.199949 -0.468018,-0.279053 -0.152347,-0.05273 -0.499515,-0.146482 -1.041504,-0.28125 -0.697267,-0.172849 -1.186525,-0.385251 -1.467773,-0.637207 -0.395509,-0.354488 -0.593262,-0.786617 -0.593262,-1.296387 0,-0.32812 0.09302,-0.635004 0.279053,-0.920654 0.186034,-0.285639 0.4541,-0.503168 0.804199,-0.652588 0.350096,-0.149408 0.772703,-0.224115 1.267822,-0.224121 0.80859,6e-6 1.417232,0.177252 1.825928,0.531738 0.408686,0.354498 0.623286,0.827642 0.643799,1.419434 l -1.300781,0.05713 c -0.05567,-0.33105 -0.175053,-0.569087 -0.358155,-0.714112 -0.183109,-0.145014 -0.457767,-0.217523 -0.823974,-0.217529 -0.377932,6e-6 -0.673831,0.07764 -0.887696,0.23291 -0.137697,0.09962 -0.206544,0.232915 -0.206542,0.399903 -2e-6,0.152348 0.06445,0.282719 0.193359,0.391113 0.16406,0.137699 0.562497,0.281254 1.195312,0.430664 0.632809,0.149418 1.100826,0.303959 1.404053,0.463623 0.303218,0.159671 0.540522,0.377933 0.711914,0.654785 0.171381,0.276858 0.257075,0.618899 0.25708,1.026123 -5e-6,0.369142 -0.102544,0.714845 -0.307617,1.03711 -0.205083,0.322266 -0.495122,0.561767 -0.870117,0.718505 -0.375004,0.156739 -0.842289,0.235108 -1.401856,0.235108 -0.814455,0 -1.439943,-0.188233 -1.876464,-0.564697 C 10.214886,26.173098 9.9541445,25.624514 9.869184,24.90381 z"
|
||||
style="font-weight:bold;fill:#ffffff;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="path3873"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 17.854047,27 -2.302734,-6.442383 1.410644,0 1.630372,4.768067 1.577636,-4.768067 1.379883,0 L 19.242719,27 z"
|
||||
style="font-weight:bold;fill:#ffffff;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="path3875"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 24.261274,28.894043 -0.848145,0 c -0.448243,-0.676759 -0.789552,-1.379883 -1.023925,-2.109375 -0.234376,-0.729491 -0.351563,-1.435545 -0.351563,-2.118164 0,-0.846677 0.145019,-1.647945 0.435059,-2.403809 0.251952,-0.656244 0.571287,-1.261224 0.958007,-1.814941 l 0.84375,0 c -0.401369,0.887701 -0.677492,1.642827 -0.828369,2.265381 -0.15088,0.622562 -0.22632,1.282473 -0.226318,1.979736 -2e-6,0.480471 0.04468,0.972658 0.134033,1.476563 0.08935,0.503906 0.211668,0.98291 0.366944,1.437011 0.102536,0.298828 0.282712,0.728026 0.540527,1.287598 z"
|
||||
style="font-weight:bold;fill:#ffffff;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="path3877"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 29.12602,25.853027 0,1.146973 -4.328613,0 c 0.04687,-0.433593 0.187499,-0.844482 0.421875,-1.232666 0.234374,-0.388182 0.697264,-0.903074 1.388672,-1.544678 0.556638,-0.518551 0.897946,-0.870113 1.023925,-1.054687 0.169919,-0.254879 0.25488,-0.506832 0.254883,-0.75586 -3e-6,-0.275385 -0.07398,-0.487055 -0.221924,-0.635009 -0.147952,-0.147944 -0.352297,-0.221919 -0.613037,-0.221924 -0.257815,5e-6 -0.462892,0.07764 -0.615234,0.23291 -0.152346,0.155278 -0.240236,0.413091 -0.263672,0.773437 l -1.230469,-0.123046 c 0.07324,-0.679683 0.303222,-1.167475 0.689942,-1.463379 0.386717,-0.295892 0.870115,-0.443842 1.450195,-0.443848 0.635739,6e-6 1.13525,0.171393 1.498535,0.51416 0.363277,0.342779 0.544917,0.769048 0.544922,1.278809 -5e-6,0.290043 -0.05201,0.566166 -0.156006,0.828369 -0.104008,0.262211 -0.268803,0.536868 -0.494385,0.823974 -0.149417,0.190433 -0.418948,0.464359 -0.808593,0.821778 -0.389652,0.357424 -0.636477,0.594728 -0.740479,0.711914 -0.104006,0.117189 -0.188235,0.231446 -0.252685,0.342773 z"
|
||||
style="font-weight:bold;fill:#ffffff;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="path3879"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 30.233442,20.557617 2.377441,0 c 0.536129,7e-6 0.94482,0.04102 1.226074,0.123047 0.377926,0.111334 0.701656,0.309088 0.971192,0.593262 0.269526,0.284185 0.474604,0.632085 0.615234,1.043701 0.140619,0.411625 0.210932,0.919193 0.210938,1.522705 -6e-6,0.530276 -0.06592,0.987307 -0.197754,1.371094 -0.161139,0.468751 -0.391119,0.848145 -0.689942,1.138183 -0.22559,0.219727 -0.530278,0.391114 -0.914062,0.514161 C 33.54545,26.95459 33.161661,27 32.681196,27 l -2.447754,0 z m 1.300781,1.089844 0,4.26709 0.971191,0 c 0.363278,1e-6 0.625485,-0.02051 0.786622,-0.06152 0.210933,-0.05273 0.385982,-0.142088 0.525146,-0.268066 0.139156,-0.125975 0.252681,-0.33325 0.340576,-0.621826 0.08789,-0.288572 0.131831,-0.681882 0.131836,-1.179932 -5e-6,-0.498043 -0.04395,-0.880367 -0.131836,-1.146973 -0.0879,-0.266596 -0.210942,-0.474604 -0.36914,-0.624023 -0.158208,-0.149409 -0.358891,-0.250483 -0.602051,-0.303223 -0.181644,-0.04101 -0.537601,-0.06152 -1.067871,-0.06152 z"
|
||||
style="font-weight:bold;fill:#ffffff;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="path3881"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 36.39018,28.894043 c 0.243164,-0.521486 0.41455,-0.921388 0.51416,-1.199707 0.09961,-0.278321 0.191894,-0.599121 0.276856,-0.962402 0.08496,-0.363281 0.147948,-0.708251 0.188965,-1.034913 0.04101,-0.326658 0.06152,-0.661375 0.06152,-1.00415 -10e-7,-0.697263 -0.07471,-1.357174 -0.224121,-1.979736 -0.149415,-0.622554 -0.424805,-1.37768 -0.826172,-2.265381 l 0.839356,0 c 0.442381,0.629889 0.785886,1.297857 1.030517,2.003906 0.244627,0.706059 0.366941,1.422367 0.366943,2.148926 -2e-6,0.612306 -0.09668,1.268556 -0.290039,1.96875 -0.219728,0.785156 -0.581544,1.560057 -1.085449,2.324707 z"
|
||||
style="font-weight:bold;fill:#ffffff;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="path3883"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 28 KiB |
201
resources/icons/file_las_3d.svg
Normal file
@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="41"
|
||||
height="16"
|
||||
id="svg3797"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.5 r10040"
|
||||
sodipodi:docname="file_las_3d.svg"
|
||||
inkscape:export-filename="D:\dev\workspaces\potree\develop\resources\icons\point.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs3799" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="22.395603"
|
||||
inkscape:cx="18.183032"
|
||||
inkscape:cy="4.4485953"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1018"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid3805"
|
||||
empspacing="5"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata3802">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
transform="translate(0,-16)">
|
||||
<text
|
||||
sodipodi:linespacing="125%"
|
||||
id="text3859"
|
||||
y="26.623415"
|
||||
x="-58.114513"
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
xml:space="preserve"><tspan
|
||||
y="26.623415"
|
||||
x="-58.114513"
|
||||
id="tspan3861"
|
||||
sodipodi:role="line">DXF</tspan></text>
|
||||
<path
|
||||
transform="translate(0.5625,0.56832228)"
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
d="m 16.90625,19.1875 c -0.665893,9e-6 -1.265087,0.136807 -1.75,0.34375 -0.484589,0.206819 -1.016796,0.543759 -1.375,1.09375 -0.292337,0.448871 -0.413822,0.972509 -0.4375,1.5 l -0.8125,-2.03125 A 1.2611202,1.2611202 0 0 0 11.375,19.3125 l -1.375,0 a 1.2611202,1.2611202 0 0 0 -1.1875,0.78125 l -1.78125,4.5625 -1.78125,0 0,-4.03125 A 1.2611202,1.2611202 0 0 0 4,19.375 l -1.3125,0 a 1.2611202,1.2611202 0 0 0 -1.25,1.25 l 0,6.375 a 1.2611202,1.2611202 0 0 0 1.25,1.25 l 4.53125,0 a 1.2611202,1.2611202 0 0 0 0.09375,0 1.2611202,1.2611202 0 0 0 0.03125,0 1.2611202,1.2611202 0 0 0 0.09375,0 1.2611202,1.2611202 0 0 0 0.0625,0 l 1.375,0 a 1.2611202,1.2611202 0 0 0 1.1875,-0.8125 l 0.25,-0.65625 0.8125,0 0.25,0.65625 a 1.2611202,1.2611202 0 0 0 1.1875,0.8125 l 1.40625,0 a 1.2611202,1.2611202 0 0 0 0.9375,-0.40625 C 15.538957,28.188876 16.232691,28.375 17,28.375 c 0.699679,0 1.348334,-0.110561 1.90625,-0.34375 0.356565,-0.149035 0.575329,-0.429477 0.84375,-0.6875 0.26903,0.776919 0.593046,1.541218 1.0625,2.25 a 1.2611202,1.2611202 0 0 0 1.0625,0.5625 l 0.84375,0 A 1.2611202,1.2611202 0 0 0 23.875,28.375 c -0.153104,-0.332304 -0.217535,-0.494008 -0.3125,-0.71875 0.549186,0.376102 1.181465,0.71875 1.90625,0.71875 0.796159,0 1.524616,-0.316214 2.125,-0.78125 A 1.2611202,1.2611202 0 0 0 28.6875,28.25 l 2.4375,0 c 0.540269,0 1.018875,-0.02542 1.53125,-0.1875 0.560243,-0.179622 1.042735,-0.458435 1.40625,-0.8125 0.08593,-0.0834 0.109838,-0.220504 0.1875,-0.3125 -0.03142,0.102705 -0.06259,0.225424 -0.09375,0.3125 -0.09304,0.259951 -0.24692,0.649266 -0.46875,1.125 a 1.2611202,1.2611202 0 0 0 1.15625,1.78125 l 0.84375,0 a 1.2611202,1.2611202 0 0 0 1.0625,-0.5625 c 0.568478,-0.862636 0.990686,-1.760897 1.25,-2.6875 0.221071,-0.800554 0.312496,-1.57953 0.3125,-2.3125 -4e-6,-0.877401 -0.150993,-1.735561 -0.4375,-2.5625 -0.28436,-0.820713 -0.682376,-1.593274 -1.1875,-2.3125 A 1.2611202,1.2611202 0 0 0 35.65625,19.1875 l -0.8125,0 A 1.2611202,1.2611202 0 0 0 33.625,20.09375 c -0.319812,-0.233998 -0.618209,-0.512527 -1,-0.625 -0.477175,-0.139163 -0.959002,-0.156243 -1.5625,-0.15625 l -2.375,0 a 1.2611202,1.2611202 0 0 0 -1.15625,0.75 c -0.584368,-0.486319 -1.318032,-0.781242 -2.09375,-0.78125 -0.483013,8e-6 -0.997221,0.04663 -1.5,0.28125 -0.0798,0.03724 -0.113039,0.112469 -0.1875,0.15625 A 1.2611202,1.2611202 0 0 0 22.71875,19.1875 l -0.84375,0 a 1.2611202,1.2611202 0 0 0 -1.03125,0.53125 c -0.260179,0.372532 -0.429441,0.789604 -0.625,1.1875 -0.168274,-0.326788 -0.368625,-0.625512 -0.65625,-0.875 -0.733792,-0.636461 -1.663898,-0.843741 -2.65625,-0.84375 z M 31.375,22.90625 c -0.08017,-0.07572 -0.03104,-0.06392 0.03125,0.125 0.03381,0.102561 0.09375,0.367336 0.09375,0.75 -4e-6,0.382673 -0.07885,0.660954 -0.125,0.8125 -0.03566,0.117065 0.03402,0.0248 0.03125,0.03125 0.0048,-0.002 -0.112998,-0.0042 -0.15625,0 l 0,-1.6875 c 0.0037,-2.11e-4 0.101665,0.0018 0.09375,0 0.144429,0.03133 0.142784,0.07408 0.03125,-0.03125 z m -8.3125,0.53125 a 1.2611202,1.2611202 0 0 0 0.1875,0.03125 l 0.5,0.09375 -0.0625,0.34375 a 1.2611202,1.2611202 0 0 0 0,0.09375 L 23.25,24.03125 A 1.2611202,1.2611202 0 0 0 23,24.09375 c 0.02154,-0.220213 0.02072,-0.439548 0.0625,-0.65625 z"
|
||||
id="path3786" />
|
||||
<g
|
||||
id="g3777"
|
||||
transform="translate(5.634033,0)">
|
||||
<g
|
||||
transform="matrix(1.2078051,0,0,1.207805,-67.93694,-16.40592)"
|
||||
style="font-size:7.45153379px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="text3877">
|
||||
<path
|
||||
sodipodi:type="inkscape:offset"
|
||||
inkscape:radius="1.0456477"
|
||||
inkscape:original="M 35.8125 31.03125 C 35.402566 31.031255 35.071111 31.095049 34.78125 31.21875 C 34.491386 31.342463 34.247777 31.513506 34.09375 31.75 C 33.939719 31.986504 33.875 32.259584 33.875 32.53125 C 33.875 32.953313 34.047539 33.300252 34.375 33.59375 C 34.607859 33.802357 35.016449 33.98189 35.59375 34.125 C 36.042489 34.236581 36.311364 34.30009 36.4375 34.34375 C 36.621844 34.409244 36.76976 34.50522 36.84375 34.59375 C 36.917732 34.682288 36.937497 34.780119 36.9375 34.90625 C 36.937497 35.102727 36.863355 35.29075 36.6875 35.4375 C 36.511639 35.584256 36.253112 35.65625 35.90625 35.65625 C 35.578787 35.65625 35.317836 35.571194 35.125 35.40625 C 34.932161 35.241309 34.78182 34.976717 34.71875 34.625 L 33.6875 34.71875 C 33.757843 35.315456 33.98233 35.782057 34.34375 36.09375 C 34.705167 36.405443 35.200673 36.5625 35.875 36.5625 C 36.338293 36.5625 36.720766 36.504771 37.03125 36.375 C 37.341727 36.245229 37.611452 36.04807 37.78125 35.78125 C 37.951041 35.514432 38.031245 35.211881 38.03125 34.90625 C 38.031245 34.56909 37.954395 34.291724 37.8125 34.0625 C 37.670596 33.83328 37.469799 33.66345 37.21875 33.53125 C 36.967694 33.399057 36.586433 33.24871 36.0625 33.125 C 35.538562 33.001296 35.198334 32.895258 35.0625 32.78125 C 34.955769 32.691506 34.906248 32.563636 34.90625 32.4375 C 34.906248 32.299243 34.948493 32.20748 35.0625 32.125 C 35.239569 31.996443 35.499592 31.937504 35.8125 31.9375 C 36.115701 31.937504 36.348395 31.973685 36.5 32.09375 C 36.651598 32.213822 36.73516 32.413408 36.78125 32.6875 L 37.875 32.65625 C 37.858016 32.166277 37.682121 31.762256 37.34375 31.46875 C 37.005371 31.175255 36.48197 31.031255 35.8125 31.03125 z M 41.28125 31.03125 C 40.84706 31.031255 40.488559 31.109319 40.15625 31.25 C 39.906409 31.354308 39.678565 31.502874 39.46875 31.71875 C 39.258932 31.934636 39.090031 32.197084 38.96875 32.46875 C 38.806234 32.83745 38.71875 33.269163 38.71875 33.8125 C 38.71875 34.661473 38.938103 35.328588 39.40625 35.8125 C 39.874395 36.296413 40.519317 36.5625 41.3125 36.5625 C 42.095975 36.5625 42.71935 36.298839 43.1875 35.8125 C 43.655642 35.326163 43.874995 34.673601 43.875 33.8125 C 43.874995 32.944128 43.659279 32.268806 43.1875 31.78125 C 42.71571 31.293704 42.067151 31.031255 41.28125 31.03125 z M 31.71875 31.125 L 31.71875 34.5625 C 31.718747 34.994264 31.6932 35.300453 31.59375 35.4375 C 31.494297 35.574552 31.302635 35.625001 31.0625 35.625 C 30.824787 35.625001 30.647679 35.535375 30.53125 35.34375 C 30.453628 35.217618 30.41838 34.99313 30.40625 34.6875 L 29.40625 34.8125 C 29.408675 35.382524 29.528701 35.830287 29.8125 36.125 C 30.096298 36.419714 30.504887 36.5625 31.03125 36.5625 C 31.479989 36.5625 31.850901 36.469236 32.125 36.28125 C 32.399093 36.093264 32.583195 35.841732 32.6875 35.53125 C 32.765121 35.29354 32.812496 34.941466 32.8125 34.5 L 32.8125 31.125 L 31.71875 31.125 z M 44.75 31.125 L 44.75 36.46875 L 45.75 36.46875 L 45.75 32.96875 L 47.875 36.46875 L 48.96875 36.46875 L 48.96875 31.125 L 47.96875 31.125 L 47.96875 34.6875 L 45.78125 31.125 L 44.75 31.125 z M 41.3125 31.96875 C 41.756387 31.968755 42.106964 32.105476 42.375 32.40625 C 42.643028 32.707032 42.781246 33.169995 42.78125 33.78125 C 42.781246 34.399788 42.650304 34.846984 42.375 35.15625 C 42.099687 35.465519 41.741833 35.625001 41.3125 35.625 C 40.883161 35.625001 40.528945 35.467944 40.25 35.15625 C 39.971051 34.844558 39.812498 34.385234 39.8125 33.78125 C 39.812498 33.167569 39.947078 32.71067 40.21875 32.40625 C 40.490418 32.101838 40.868607 31.968755 41.3125 31.96875 z "
|
||||
id="path3891"
|
||||
d="m 35.8125,30 c -0.51841,6e-6 -1.002329,0.06429 -1.4375,0.25 -0.211066,0.09008 -0.392513,0.314908 -0.59375,0.46875 a 1.0457523,1.0457523 0 0 0 -0.96875,-0.625 l -1.09375,0 A 1.0457523,1.0457523 0 0 0 30.6875,31.125 l 0,2.53125 a 1.0457523,1.0457523 0 0 0 -0.40625,0 l -1,0.125 A 1.0457523,1.0457523 0 0 0 28.375,34.8125 c 0.003,0.714474 0.138816,1.461465 0.6875,2.03125 0.514577,0.53437 1.253286,0.75 1.96875,0.75 0.593621,0 1.183576,-0.09189 1.6875,-0.4375 0.308306,-0.211451 0.470768,-0.556887 0.65625,-0.875 0.127813,0.182745 0.110034,0.446091 0.28125,0.59375 0.587809,0.506938 1.382062,0.71875 2.21875,0.71875 0.550156,0 1.071911,-0.04495 1.5625,-0.25 0.433723,-0.181285 0.845393,-0.490787 1.15625,-0.9375 0.03111,0.03525 0.02959,0.09098 0.0625,0.125 0.668636,0.691157 1.629213,1.0625 2.65625,1.0625 0.922984,0 1.761184,-0.336964 2.40625,-0.90625 A 1.0457523,1.0457523 0 0 0 44.75,37.5 l 1,0 a 1.0457523,1.0457523 0 0 0 1.03125,-0.8125 L 46.96875,37 a 1.0457523,1.0457523 0 0 0 0.90625,0.5 l 1.09375,0 A 1.0457523,1.0457523 0 0 0 50,36.46875 L 50,31.125 a 1.0457523,1.0457523 0 0 0 -1.03125,-1.03125 l -1,0 A 1.0457523,1.0457523 0 0 0 46.9375,30.9375 l -0.25,-0.375 a 1.0457523,1.0457523 0 0 0 -0.90625,-0.46875 l -1.03125,0 a 1.0457523,1.0457523 0 0 0 -1.03125,0.8125 C 43.060062,30.329879 42.204799,30.000006 41.28125,30 c -0.559516,6e-6 -1.078199,0.08945 -1.53125,0.28125 C 39.382983,30.434479 39.025145,30.684754 38.71875,31 38.575648,31.14724 38.485453,31.306319 38.375,31.46875 38.233858,31.210464 38.256746,30.883097 38.03125,30.6875 37.417573,30.155224 36.631909,30.000006 35.8125,30 z m 5.5,3 c 0.229181,3e-6 0.209801,0.01357 0.28125,0.09375 0.03226,0.0362 0.156247,0.233871 0.15625,0.6875 -3e-6,0.470968 -0.104317,0.62916 -0.15625,0.6875 -0.09481,0.106502 -0.110866,0.125 -0.28125,0.125 -0.174331,0 -0.179253,-0.01103 -0.28125,-0.125 -0.06982,-0.07802 -0.187501,-0.266514 -0.1875,-0.6875 -2e-6,-0.460806 0.11643,-0.642879 0.15625,-0.6875 0.05148,-0.05768 0.0776,-0.09375 0.3125,-0.09375 z" />
|
||||
</g>
|
||||
<g
|
||||
transform="translate(-35.66547,0)"
|
||||
id="text3873"
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3006"
|
||||
d="m 6.0570714,21.189514 1.2963868,0 0,4.078125 c -4.3e-6,0.533205 -0.046879,0.943361 -0.140625,1.230469 -0.1259806,0.375001 -0.354496,0.676026 -0.6855469,0.903076 -0.3310578,0.227051 -0.7675808,0.340576 -1.3095703,0.340576 -0.6357437,0 -1.125001,-0.177978 -1.4677735,-0.533935 C 3.4071688,26.851868 3.2343174,26.329652 3.2313879,25.641174 l 1.2260742,-0.140625 c 0.014647,0.369143 0.068846,0.629885 0.1625976,0.782227 0.1406233,0.231446 0.3544903,0.347169 0.6416016,0.347168 0.2900366,1e-6 0.4951145,-0.08276 0.6152344,-0.248291 0.1201142,-0.165526 0.1801728,-0.509032 0.1801757,-1.030518 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3008"
|
||||
d="m 8.4125402,25.535706 1.265625,-0.123047 c 0.07617,0.424806 0.2307111,0.736818 0.4636228,0.936035 0.232908,0.19922 0.547117,0.298829 0.942627,0.298828 0.418942,1e-6 0.734616,-0.08862 0.947022,-0.265869 0.212398,-0.177245 0.318599,-0.38452 0.318603,-0.621826 -4e-6,-0.152342 -0.04468,-0.281981 -0.134033,-0.388916 -0.08936,-0.106932 -0.245365,-0.199949 -0.468018,-0.279053 -0.152347,-0.05273 -0.499514,-0.146482 -1.041503,-0.28125 C 10.009218,24.637759 9.5199606,24.425357 9.2387121,24.173401 8.8432035,23.818913 8.6454498,23.386784 8.6454504,22.877014 c -6e-7,-0.32812 0.093017,-0.635004 0.2790527,-0.920654 0.1860341,-0.285639 0.4541003,-0.503168 0.8041992,-0.652588 0.3500957,-0.149408 0.7727027,-0.224115 1.2678227,-0.224121 0.80859,6e-6 1.417232,0.177252 1.825927,0.531738 0.408687,0.354498 0.623286,0.827642 0.643799,1.419434 l -1.300781,0.05713 c -0.05567,-0.33105 -0.175053,-0.569087 -0.358154,-0.714112 -0.183109,-0.145014 -0.457767,-0.217523 -0.823975,-0.217529 -0.377932,6e-6 -0.67383,0.07764 -0.887695,0.23291 -0.1376975,0.09962 -0.2065451,0.232915 -0.2065433,0.399903 -1.8e-6,0.152348 0.064451,0.282719 0.1933593,0.391113 0.16406,0.137699 0.562498,0.281254 1.195313,0.430664 0.632808,0.149418 1.100825,0.303959 1.404052,0.463623 0.303218,0.159671 0.540523,0.377933 0.711914,0.654785 0.171382,0.276858 0.257075,0.618899 0.25708,1.026123 -5e-6,0.369142 -0.102544,0.714845 -0.307617,1.03711 -0.205083,0.322266 -0.495122,0.561767 -0.870117,0.718505 -0.375004,0.156739 -0.842289,0.235108 -1.401855,0.235108 -0.814456,0 -1.4399433,-0.188233 -1.8764652,-0.564697 C 8.7582427,26.804994 8.4975007,26.25641 8.4125402,25.535706 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3010"
|
||||
d="m 14.490177,24.450256 c 0,-0.656246 0.09814,-1.207027 0.294434,-1.652343 0.146483,-0.32812 0.346434,-0.622554 0.599853,-0.883301 0.253416,-0.260736 0.531004,-0.454096 0.832764,-0.580078 0.401364,-0.169916 0.864255,-0.254877 1.388672,-0.254883 0.949214,6e-6 1.708735,0.29444 2.278564,0.883301 0.569818,0.588872 0.85473,1.407719 0.854736,2.456543 -6e-6,1.040041 -0.282721,1.853761 -0.848144,2.441162 -0.565435,0.587402 -1.321294,0.881103 -2.267578,0.881103 -0.958011,0 -1.719729,-0.292236 -2.285157,-0.876709 -0.56543,-0.584471 -0.848144,-1.389402 -0.848144,-2.414795 z m 1.340332,-0.04395 c -2e-6,0.729495 0.168455,1.282473 0.505371,1.658936 0.336912,0.376466 0.764645,0.564698 1.283203,0.564697 0.518551,1e-6 0.944087,-0.186767 1.276611,-0.560303 0.332515,-0.373533 0.498774,-0.933835 0.49878,-1.680908 -6e-6,-0.738277 -0.161871,-1.289058 -0.485596,-1.652344 -0.323735,-0.363276 -0.753666,-0.544916 -1.289795,-0.544922 -0.536136,6e-6 -0.968264,0.183843 -1.296387,0.551514 -0.328126,0.36768 -0.492189,0.922123 -0.492187,1.66333 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3012"
|
||||
d="m 21.763126,27.631897 0,-6.442383 1.265625,0 2.636719,4.302246 0,-4.302246 1.208496,0 0,6.442383 -1.305176,0 -2.597168,-4.201172 0,4.201172 z" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g3962"
|
||||
transform="translate(-69,-4.262499)">
|
||||
<g
|
||||
transform="matrix(1.2076814,0,0,1.2079287,-11.232871,-4.3113471)"
|
||||
id="g3943">
|
||||
<g
|
||||
id="text3929"
|
||||
style="font-size:7.45153379px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
transform="scale(1.0001024,0.99989762)">
|
||||
<path
|
||||
d="m 17.6875,30.28125 a 1.0167554,1.0167554 0 0 0 -1.03125,1.03125 l 0,5.34375 a 1.0167554,1.0167554 0 0 0 1.03125,1.03125 l 2.03125,0 c 0.482666,0 0.906153,-0.06886 1.28125,-0.1875 0.226456,-0.07261 0.437309,-0.248639 0.65625,-0.375 a 1.0167554,1.0167554 0 0 0 0.875,0.5625 l 1.3125,0 a 1.0167554,1.0167554 0 0 0 0.84375,-0.46875 l 0.34375,-0.53125 0.34375,0.53125 a 1.0167554,1.0167554 0 0 0 0.84375,0.46875 l 1.28125,0 a 1.0167554,1.0167554 0 0 0 0.28125,-0.0625 1.0167554,1.0167554 0 0 0 0.03125,0 1.0167554,1.0167554 0 0 0 0.25,0.0625 l 1.09375,0 a 1.0167554,1.0167554 0 0 0 1.03125,-1.03125 l 0,-1.25 1.1875,0 A 1.0167554,1.0167554 0 0 0 32.40625,34.375 l 0,-0.90625 a 1.0167554,1.0167554 0 0 0 -0.09375,-0.40625 1.0167554,1.0167554 0 0 0 0,-0.03125 1.0167554,1.0167554 0 0 0 0.4375,-0.8125 l 0,-0.90625 a 1.0167554,1.0167554 0 0 0 -1.03125,-1.03125 l -3.65625,0 a 1.0167554,1.0167554 0 0 0 -0.34375,0.0625 1.0167554,1.0167554 0 0 0 -0.03125,0 1.0167554,1.0167554 0 0 0 -0.34375,-0.0625 l -1.25,0 a 1.0167554,1.0167554 0 0 0 -0.875,0.5 l -0.1875,0.3125 -0.1875,-0.3125 a 1.0167554,1.0167554 0 0 0 -0.875,-0.5 l -1.25,0 a 1.0167554,1.0167554 0 0 0 -0.9375,0.65625 c -0.256719,-0.18474 -0.502851,-0.408778 -0.8125,-0.5 -0.432605,-0.126173 -0.829185,-0.156243 -1.3125,-0.15625 l -1.96875,0 z m 2.125,3 c 0.01585,0.0016 0.130355,0.0012 0.125,0 0.05596,0.01214 0.05085,0.01851 0.03125,0 -0.03277,-0.03095 -0.05004,-0.08928 0,0.0625 0.02212,0.06709 0.0625,0.329747 0.0625,0.65625 -2e-6,0.326522 -0.02336,0.558999 -0.0625,0.6875 -0.01688,0.0043 -0.114233,-0.0056 -0.15625,0 l 0,-1.40625 z m 7.21875,0.40625 0,0.40625 -0.125,-0.1875 0.125,-0.21875 z"
|
||||
id="path3941"
|
||||
inkscape:original="M 17.6875 31.3125 L 17.6875 36.65625 L 19.71875 36.65625 C 20.11655 36.65625 20.449785 36.60644 20.6875 36.53125 C 21.005254 36.429373 21.250722 36.306922 21.4375 36.125 C 21.684909 35.884863 21.866586 35.544351 22 35.15625 C 22.10915 34.838494 22.156245 34.470291 22.15625 34.03125 C 22.156245 33.531573 22.116425 33.122055 22 32.78125 C 21.883565 32.440453 21.723153 32.14154 21.5 31.90625 C 21.276838 31.670968 21.000402 31.49843 20.6875 31.40625 C 20.454636 31.338333 20.100137 31.312506 19.65625 31.3125 L 17.6875 31.3125 z M 22.71875 31.3125 L 24.375 33.875 L 22.53125 36.65625 L 23.84375 36.65625 L 25.03125 34.8125 L 26.21875 36.65625 L 27.5 36.65625 L 25.6875 33.90625 L 27.34375 31.3125 L 26.09375 31.3125 L 25.03125 33.03125 L 23.96875 31.3125 L 22.71875 31.3125 z M 28.0625 31.3125 L 28.0625 36.65625 L 29.15625 36.65625 L 29.15625 34.375 L 31.375 34.375 L 31.375 33.46875 L 29.15625 33.46875 L 29.15625 32.21875 L 31.71875 32.21875 L 31.71875 31.3125 L 28.0625 31.3125 z M 18.78125 32.21875 L 19.25 32.21875 C 19.689036 32.21876 20.005858 32.24729 20.15625 32.28125 C 20.357574 32.324915 20.525262 32.407547 20.65625 32.53125 C 20.78723 32.654961 20.86473 32.810522 20.9375 33.03125 C 21.010263 33.251986 21.062497 33.587646 21.0625 34 C 21.062497 34.41236 21.01027 34.729827 20.9375 34.96875 C 20.864728 35.207675 20.771463 35.36445 20.65625 35.46875 C 20.541029 35.573054 20.393392 35.64384 20.21875 35.6875 C 20.085337 35.72146 19.894525 35.750001 19.59375 35.75 L 18.78125 35.75 L 18.78125 32.21875 z "
|
||||
inkscape:radius="1.0166538"
|
||||
sodipodi:type="inkscape:offset" />
|
||||
</g>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:7.45153379px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
x="17.159304"
|
||||
y="36.652206"
|
||||
id="text3893"
|
||||
sodipodi:linespacing="125%"
|
||||
transform="scale(1.0001024,0.99989762)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3895"
|
||||
x="17.159304"
|
||||
y="36.652206">DXF</tspan></text>
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g3832"
|
||||
transform="matrix(1,0,0,0.99466628,-38.821464,-11.275244)">
|
||||
<path
|
||||
transform="translate(0,16)"
|
||||
d="M 2.34375,2.1875 A 0.82341756,0.82341756 0 0 0 1.6875,3 l 0,1.9375 A 0.82341756,0.82341756 0 0 0 0.75,5.0625 L 0.0625,5.75 a 0.82341756,0.82341756 0 0 0 0,1.1875 l 2,1.96875 0.34375,0.375 a 0.82341756,0.82341756 0 0 0 1.1875,0 L 3.9375,8.9375 l 0,-0.03125 2,-1.96875 a 0.82341756,0.82341756 0 0 0 0,-1.1875 L 5.25,5.0625 A 0.82341756,0.82341756 0 0 0 4.3125,4.90625 L 4.3125,3 A 0.82341756,0.82341756 0 0 0 3.5,2.1875 l -1,0 a 0.82341756,0.82341756 0 0 0 -0.15625,0 z"
|
||||
id="path3830"
|
||||
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
|
||||
inkscape:original="M 2.5 3 L 2.5 6.8125 L 1.34375 5.65625 L 0.65625 6.34375 L 2.65625 8.34375 L 3 8.71875 L 3.34375 8.34375 L 5.34375 6.34375 L 4.65625 5.65625 L 3.5 6.8125 L 3.5 3 L 2.5 3 z "
|
||||
inkscape:radius="0.82333523"
|
||||
sodipodi:type="inkscape:offset" />
|
||||
<path
|
||||
transform="translate(0,16)"
|
||||
id="path3819"
|
||||
d="m 2.5,3 0,3.8125 -1.15625,-1.15625 -0.6875,0.6875 2,2 0.34375,0.375 0.34375,-0.375 2,-2 L 4.65625,5.65625 3.5,6.8125 3.5,3 2.5,3 z"
|
||||
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
<g
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
id="text3003">
|
||||
<path
|
||||
d="m 3.2524414,27.568336 0,-6.389648 1.3007813,0 0,5.304199 3.234375,0 0,1.085449 z"
|
||||
style=""
|
||||
id="path3789" />
|
||||
<path
|
||||
d="m 14.528809,27.568336 -1.415039,0 -0.5625,-1.463378 -2.5751958,0 -0.5317383,1.463378 -1.3798828,0 2.5092769,-6.442382 1.375489,0 z m -2.39502,-2.548828 -0.887695,-2.390625 -0.870117,2.390625 z"
|
||||
style=""
|
||||
id="path3791" />
|
||||
<path
|
||||
d="m 14.893555,25.472145 1.265625,-0.123047 c 0.07617,0.424807 0.230711,0.736818 0.463623,0.936035 0.232908,0.19922 0.547116,0.298829 0.942627,0.298828 0.418942,1e-6 0.734615,-0.08862 0.947021,-0.265869 0.212398,-0.177244 0.318599,-0.38452 0.318604,-0.621826 -5e-6,-0.152342 -0.04468,-0.28198 -0.134034,-0.388916 -0.08936,-0.106931 -0.245365,-0.199949 -0.468017,-0.279053 -0.152347,-0.05273 -0.499515,-0.146481 -1.041504,-0.28125 -0.697268,-0.172848 -1.186525,-0.38525 -1.467773,-0.637207 -0.395509,-0.354488 -0.593263,-0.786616 -0.593262,-1.296386 -10e-7,-0.32812 0.09302,-0.635005 0.279053,-0.920655 0.186034,-0.285638 0.4541,-0.503167 0.804199,-0.652588 0.350095,-0.149407 0.772702,-0.224114 1.267822,-0.224121 0.80859,7e-6 1.417232,0.177253 1.825928,0.531739 0.408686,0.354498 0.623285,0.827642 0.643799,1.419433 l -1.300782,0.05713 c -0.05567,-0.33105 -0.175052,-0.569087 -0.358154,-0.714111 -0.183109,-0.145014 -0.457767,-0.217524 -0.823975,-0.217529 -0.377932,5e-6 -0.67383,0.07764 -0.887695,0.23291 -0.137697,0.09961 -0.206545,0.232915 -0.206543,0.399902 -2e-6,0.152348 0.06445,0.282719 0.19336,0.391113 0.16406,0.1377 0.562497,0.281255 1.195312,0.430664 0.632809,0.149418 1.100826,0.303959 1.404053,0.463623 0.303218,0.159672 0.540522,0.377933 0.711914,0.654786 0.171381,0.276858 0.257074,0.618898 0.25708,1.026123 -6e-6,0.369142 -0.102545,0.714845 -0.307617,1.037109 -0.205083,0.322266 -0.495122,0.561768 -0.870117,0.718506 -0.375004,0.156738 -0.842289,0.235107 -1.401856,0.235107 -0.814455,0 -1.439943,-0.188232 -1.876465,-0.564697 -0.436524,-0.376464 -0.697266,-0.925047 -0.782226,-1.645752 z"
|
||||
style=""
|
||||
id="path3793" />
|
||||
<path
|
||||
d="m 23.273926,29.462379 -0.848145,0 C 21.977538,28.78562 21.636229,28.082496 21.401855,27.353004 21.16748,26.623513 21.050292,25.917459 21.050293,25.23484 c -1e-6,-0.846676 0.145019,-1.647945 0.435059,-2.403808 0.251952,-0.656245 0.571287,-1.261225 0.958007,-1.814942 l 0.84375,0 c -0.401369,0.887701 -0.677492,1.642828 -0.828369,2.265381 -0.15088,0.622563 -0.22632,1.282474 -0.226318,1.979737 -2e-6,0.48047 0.04468,0.972657 0.134033,1.476562 0.08935,0.503907 0.211668,0.98291 0.366943,1.437012 0.102537,0.298827 0.282713,0.728026 0.540528,1.287597 z"
|
||||
style=""
|
||||
id="path3795" />
|
||||
<path
|
||||
d="m 23.924316,25.858864 1.195313,-0.14502 c 0.03808,0.304689 0.140623,0.537599 0.307617,0.698731 0.16699,0.161134 0.369139,0.2417 0.606445,0.241699 0.254881,10e-7 0.46948,-0.09668 0.643799,-0.290039 0.174313,-0.193358 0.261471,-0.4541 0.261475,-0.782227 -4e-6,-0.310544 -0.0835,-0.556638 -0.250488,-0.738281 -0.166996,-0.181638 -0.370609,-0.272458 -0.61084,-0.272461 -0.158206,3e-6 -0.34717,0.03076 -0.566895,0.09228 l 0.136231,-1.006347 c 0.333982,0.0088 0.588864,-0.06372 0.764648,-0.21753 0.175778,-0.153804 0.263669,-0.358149 0.263672,-0.613037 -3e-6,-0.216792 -0.06446,-0.389643 -0.193359,-0.518554 -0.128909,-0.128901 -0.300296,-0.193354 -0.514161,-0.19336 -0.210939,6e-6 -0.391115,0.07325 -0.540527,0.219727 -0.149416,0.146489 -0.240236,0.360356 -0.272461,0.641601 l -1.138183,-0.193359 c 0.0791,-0.389643 0.198485,-0.700922 0.358154,-0.933838 0.159667,-0.232904 0.382323,-0.416009 0.667969,-0.549316 0.285642,-0.133295 0.60571,-0.199945 0.960205,-0.199952 0.606442,7e-6 1.09277,0.193366 1.458984,0.580079 0.301754,0.316411 0.452632,0.673833 0.452637,1.072265 -5e-6,0.565434 -0.309086,1.016606 -0.927246,1.353516 0.369137,0.0791 0.664302,0.256351 0.885498,0.531738 0.221187,0.275393 0.331782,0.607913 0.331787,0.997559 -5e-6,0.565431 -0.206548,1.047364 -0.619629,1.445801 -0.41309,0.398437 -0.927249,0.597656 -1.542481,0.597656 -0.583009,0 -1.066407,-0.167725 -1.450195,-0.503174 -0.38379,-0.335449 -0.606446,-0.774169 -0.667969,-1.316162 z"
|
||||
style=""
|
||||
id="path3797" />
|
||||
<path
|
||||
d="m 29.246094,21.125954 2.377441,0 c 0.536129,6e-6 0.94482,0.04102 1.226074,0.123047 0.377925,0.111334 0.701656,0.309088 0.971192,0.593261 0.269526,0.284185 0.474603,0.632085 0.615234,1.043701 0.140619,0.411626 0.210932,0.919194 0.210938,1.522706 -6e-6,0.530276 -0.06592,0.987306 -0.197754,1.371093 -0.161139,0.468752 -0.391119,0.848146 -0.689942,1.138184 -0.225591,0.219727 -0.530278,0.391113 -0.914062,0.51416 -0.287113,0.09082 -0.670902,0.13623 -1.151367,0.13623 l -2.447754,0 z m 1.300781,1.089843 0,4.26709 0.971191,0 c 0.363278,10e-7 0.625485,-0.02051 0.786621,-0.06152 0.210934,-0.05273 0.385983,-0.142089 0.525147,-0.268067 0.139156,-0.125975 0.252681,-0.33325 0.340576,-0.621826 0.08789,-0.288572 0.131831,-0.681882 0.131836,-1.179931 -5e-6,-0.498044 -0.04395,-0.880367 -0.131836,-1.146973 -0.08789,-0.266597 -0.210942,-0.474605 -0.36914,-0.624023 -0.158208,-0.149409 -0.358891,-0.250484 -0.602051,-0.303223 -0.181644,-0.04101 -0.537601,-0.06152 -1.067871,-0.06152 z"
|
||||
style=""
|
||||
id="path3799" />
|
||||
<path
|
||||
d="m 35.402832,29.462379 c 0.243164,-0.521485 0.41455,-0.921387 0.51416,-1.199707 0.09961,-0.27832 0.191894,-0.599121 0.276856,-0.962402 0.08496,-0.363281 0.147948,-0.708251 0.188964,-1.034912 0.04102,-0.326659 0.06152,-0.661375 0.06152,-1.00415 -10e-7,-0.697263 -0.07471,-1.357174 -0.224121,-1.979737 -0.149415,-0.622553 -0.424806,-1.37768 -0.826172,-2.265381 l 0.839355,0 c 0.442382,0.629889 0.785887,1.297857 1.030518,2.003907 0.244627,0.706058 0.366941,1.422366 0.366943,2.148925 -2e-6,0.612307 -0.09668,1.268556 -0.290039,1.96875 -0.219728,0.785156 -0.581544,1.560058 -1.085449,2.324707 z"
|
||||
style=""
|
||||
id="path3801" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 29 KiB |
24
resources/icons/image_preview.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
|
||||
$dir = './';
|
||||
$files = scandir($dir);
|
||||
|
||||
foreach($files as $key => $value){
|
||||
|
||||
if($value === "." || $value === ".." || $value === "image_preview.php"){
|
||||
continue;
|
||||
}
|
||||
|
||||
?>
|
||||
<div style="float: left; margin: 10px; width: 140px; height: 140px">
|
||||
<span ><?= $value ?></span><br>
|
||||
<img src="<?= $value ?>" style="width: 128px; border: 1px solid black" />
|
||||
</div>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@ -1,237 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.5 r10040"
|
||||
sodipodi:docname="round_dropdown.svg"
|
||||
inkscape:export-filename="D:\dev\workspaces\potree\develop\resources\icons\round_dropdown.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs4">
|
||||
<linearGradient
|
||||
id="linearGradient3777">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3781" />
|
||||
<stop
|
||||
style="stop-color:#316c79;stop-opacity:0.36274511;"
|
||||
offset="1"
|
||||
id="stop3783" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3927">
|
||||
<stop
|
||||
style="stop-color:#1c2a30;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3929" />
|
||||
<stop
|
||||
style="stop-color:#1c2a30;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3931" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3916">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3920" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0.28186274;"
|
||||
offset="1"
|
||||
id="stop3922" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3890">
|
||||
<stop
|
||||
style="stop-color:#a9c1c7;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3902" />
|
||||
<stop
|
||||
id="stop3906"
|
||||
offset="0.53744453"
|
||||
style="stop-color:#375d66;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3904"
|
||||
offset="1"
|
||||
style="stop-color:#1b3b42;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3832">
|
||||
<stop
|
||||
style="stop-color:#486b7d;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3834" />
|
||||
<stop
|
||||
style="stop-color:#486b7d;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3836" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3820">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3822" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3824" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3890"
|
||||
id="radialGradient3898"
|
||||
cx="26.198547"
|
||||
cy="56.964977"
|
||||
fx="26.198547"
|
||||
fy="56.964977"
|
||||
r="31.88294"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="pad"
|
||||
gradientTransform="matrix(2.3801773,-0.00906618,0.00377252,0.99041515,-30.640162,2.2988206)" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3916"
|
||||
id="radialGradient3914"
|
||||
cx="51.502235"
|
||||
cy="44.744881"
|
||||
fx="51.502235"
|
||||
fy="44.744881"
|
||||
r="31.88294"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.01358059,0.34693581,-0.44544965,-0.01743684,50.983185,28.551401)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3927"
|
||||
id="linearGradient3933"
|
||||
x1="62.708218"
|
||||
y1="-5.5219383"
|
||||
x2="8.1835146"
|
||||
y2="102.42551"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3777"
|
||||
id="radialGradient3785"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.06391254,0.55102676,-0.94714653,-0.10985773,40.412692,-13.569564)"
|
||||
spreadMethod="pad"
|
||||
cx="28.949028"
|
||||
cy="0.31425104"
|
||||
fx="28.949028"
|
||||
fy="0.31425104"
|
||||
r="31.88294" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="5.6"
|
||||
inkscape:cx="27.539875"
|
||||
inkscape:cy="13.64197"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1018"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-988.36215)">
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:url(#radialGradient3898);stroke:none;stroke-width:4.62613439999999980;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
id="path3000-1"
|
||||
sodipodi:cx="32.135479"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:ry="31.88294"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)" />
|
||||
<path
|
||||
sodipodi:type="star"
|
||||
style="fill:#22333a;fill-opacity:0.55319147999999996;stroke:#000000;stroke-width:2.98419642000000000;stroke-miterlimit:4;stroke-opacity:0.55851066;stroke-dasharray:none"
|
||||
id="path3789"
|
||||
sodipodi:sides="3"
|
||||
sodipodi:cx="-43.035713"
|
||||
sodipodi:cy="15.428571"
|
||||
sodipodi:r1="17.18837"
|
||||
sodipodi:r2="8.5941849"
|
||||
sodipodi:arg1="2.6179939"
|
||||
sodipodi:arg2="3.6651914"
|
||||
inkscape:flatsided="true"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="m -57.921278,24.022755 14.885565,-25.782554 14.885564,25.782555 z"
|
||||
transform="matrix(-0.33509859,0,0,-0.33509859,17.79358,1042.2203)"
|
||||
inkscape:transform-center-y="-5.4685954" />
|
||||
<image
|
||||
y="998.36212"
|
||||
x="10"
|
||||
id="image2993"
|
||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAA5FJREFU WIXtl11sVFUUhb8zM0ynLZUqmVpH5qEjQUZLiIhiTMSSJtQihh8V+mDQB0xETIwxiEUJaEjwwcSH hhhJoPgXJCUpxjSEEFoKgoSW2FggvvhXA02AWie02rSdLh/O7dzxQqcFZ9oXd7Jy7z17z97rnnXO PneMJKbSfLlIaozJM8aEpowAsAlYNqFISVkFEAX6gf0Tis8BgQMFoDD0AaHx4rMqgTFmCbBmB1AD hcBTkyYBEAA6F4GSoBMg4MvblgDYATx3CwTemGZQZwwpjpJxFAlwfTwZMiXsKgggoAEoGad4KZB4 Zx7SOhevzUXAylsmAJQXBlHX+2h5OQKuAmszEPh8Tgka+AipzkXr6+PLMFbCTUsXIZ2xqN+KiosQ cBAIe2IXG4NaP3bjh07Za/I0ioQzyzAWgeYPdiIlXVz6HT29LDUbz6ctvB9eXu/G/XgRbX3Xfd74 amYZblZ8OjD4WRtq143YVo+KihFwCPhiZilq6bW+thH00BPo3pgbv/t4ZhmMUzR9L6/IL+bQhz1g fPBbO3RfgMdedGMSl+HIThjog4U18ECVHT/5Cex/hR5gZu05iC4AjcCWWfQluglLGvC2gcBNWkN1 uALanRbV0QTfb4eWBnh8NxREgAiU1Vl/P9AG/HUZGjcjYBXwdVMDdz68APBBZDXTE7t4zxhTK2kk YyMCfr2nDpXLonAxAjYCjf5iNGuf60vHHSsRsNfJUR+c7foe/BuVbEOmkBbg7jHXABAHxMWQUL7o zxdBhoAZjr8GuEaFT7zkd/GsX8CfOP0CexKK7/JsnlH8FBJVvh7gydGaXgmqiQQh/qh9+rYXBjtP S0o4s/WVMaaZ4yPrgaDnt2clXXHujwKHWTJUzdtR2ByFkA9igP/8XfDHMWNMpaRW7wwc5YW40JsW bz0ioHai7diTywBbgGFiM8Q3q0TTamHPiBbA/y8JsKfXAPUbhA5YLIwJmH87BNLyVgDdgCjIk3Of WgfpgcsB0XVK6GfR2yF8vkv/pXha7lLnrYfT9fcS2EXZbHFFFp82CtiTDQJOfr+3uHcRVjO30m5q gIPNAIfJkklKAq3e8QCAMeZ+oIyiSmh3PGeak9jVnFMbnQH76fRLPvQNw+A1uHohtf0mg8BSANqe AVME/vsgi9OfyUY/SsOpEV2H4Q6AI5NBIHUaGmOiQBVWjvnAHHmPylwSmCrL1V+z/wlM2P4BOD/f 77tWK3UAAAAASUVORK5CYII= "
|
||||
height="44"
|
||||
width="44" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:none;stroke:url(#linearGradient3933);stroke-width:4.62557993999999970;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
id="path3000"
|
||||
sodipodi:cx="32.135479"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:ry="31.88294"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)" />
|
||||
<rect
|
||||
style="fill:#22333a;fill-opacity:0.5;stroke:#000000;stroke-width:0.77430558;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.6755319;stroke-dasharray:none;stroke-dashoffset:3"
|
||||
id="rect3791"
|
||||
width="10.78497"
|
||||
height="7.18998"
|
||||
x="8.8157263"
|
||||
y="1077.2493" />
|
||||
<path
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
sodipodi:ry="31.88294"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:cx="32.135479"
|
||||
id="path3005"
|
||||
style="fill:url(#radialGradient3785);stroke:none;stroke-width:4.62613439999999980;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
sodipodi:type="arc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 9.7 KiB |
@ -1,230 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.5 r10040"
|
||||
sodipodi:docname="round_icon.svg"
|
||||
inkscape:export-filename="D:\dev\workspaces\potree\develop\resources\icons\round_icon.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs4">
|
||||
<linearGradient
|
||||
id="linearGradient3777">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3781" />
|
||||
<stop
|
||||
style="stop-color:#316c79;stop-opacity:0.36274511;"
|
||||
offset="1"
|
||||
id="stop3783" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3927">
|
||||
<stop
|
||||
style="stop-color:#1c2a30;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3929" />
|
||||
<stop
|
||||
style="stop-color:#1c2a30;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3931" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3916">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3920" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0.28186274;"
|
||||
offset="1"
|
||||
id="stop3922" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3890">
|
||||
<stop
|
||||
style="stop-color:#a9c1c7;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3902" />
|
||||
<stop
|
||||
id="stop3906"
|
||||
offset="0.53744453"
|
||||
style="stop-color:#375d66;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3904"
|
||||
offset="1"
|
||||
style="stop-color:#1b3b42;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3832">
|
||||
<stop
|
||||
style="stop-color:#486b7d;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3834" />
|
||||
<stop
|
||||
style="stop-color:#486b7d;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3836" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3820">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3822" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3824" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3890"
|
||||
id="radialGradient3898"
|
||||
cx="26.198547"
|
||||
cy="56.964977"
|
||||
fx="26.198547"
|
||||
fy="56.964977"
|
||||
r="31.88294"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="pad"
|
||||
gradientTransform="matrix(2.3801773,-0.00906618,0.00377252,0.99041515,-30.640162,2.2988206)" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3916"
|
||||
id="radialGradient3914"
|
||||
cx="51.502235"
|
||||
cy="44.744881"
|
||||
fx="51.502235"
|
||||
fy="44.744881"
|
||||
r="31.88294"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.01358059,0.34693581,-0.44544965,-0.01743684,50.983185,28.551401)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3927"
|
||||
id="linearGradient3933"
|
||||
x1="62.708218"
|
||||
y1="-5.5219383"
|
||||
x2="8.1835146"
|
||||
y2="102.42551"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3777"
|
||||
id="radialGradient3785"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.06391254,0.55102676,-0.94714653,-0.10985773,40.412692,-13.569564)"
|
||||
spreadMethod="pad"
|
||||
cx="28.949028"
|
||||
cy="0.31425104"
|
||||
fx="28.949028"
|
||||
fy="0.31425104"
|
||||
r="31.88294" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="5.6"
|
||||
inkscape:cx="14.039753"
|
||||
inkscape:cy="24.532012"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1018"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-988.36215)">
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:url(#radialGradient3898);stroke:none;stroke-width:4.62613439999999980;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
id="path3000-1"
|
||||
sodipodi:cx="32.135479"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:ry="31.88294"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)" />
|
||||
<path
|
||||
sodipodi:type="star"
|
||||
style="fill:#22333a;fill-opacity:1;stroke:#000000;stroke-opacity:1;stroke-width:2.98419638;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path3789"
|
||||
sodipodi:sides="3"
|
||||
sodipodi:cx="-43.035713"
|
||||
sodipodi:cy="15.428571"
|
||||
sodipodi:r1="17.18837"
|
||||
sodipodi:r2="8.5941849"
|
||||
sodipodi:arg1="2.6179939"
|
||||
sodipodi:arg2="3.6651914"
|
||||
inkscape:flatsided="true"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="m -57.921278,24.022755 14.885565,-25.782554 14.885564,25.782555 z"
|
||||
transform="matrix(-0.33509859,0,0,-0.33509859,17.436437,1043.1132)"
|
||||
inkscape:transform-center-y="-5.4685954" />
|
||||
<image
|
||||
y="998.36212"
|
||||
x="10"
|
||||
id="image2993"
|
||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAA5FJREFU WIXtl11sVFUUhb8zM0ynLZUqmVpH5qEjQUZLiIhiTMSSJtQihh8V+mDQB0xETIwxiEUJaEjwwcSH hhhJoPgXJCUpxjSEEFoKgoSW2FggvvhXA02AWie02rSdLh/O7dzxQqcFZ9oXd7Jy7z17z97rnnXO PneMJKbSfLlIaozJM8aEpowAsAlYNqFISVkFEAX6gf0Tis8BgQMFoDD0AaHx4rMqgTFmCbBmB1AD hcBTkyYBEAA6F4GSoBMg4MvblgDYATx3CwTemGZQZwwpjpJxFAlwfTwZMiXsKgggoAEoGad4KZB4 Zx7SOhevzUXAylsmAJQXBlHX+2h5OQKuAmszEPh8Tgka+AipzkXr6+PLMFbCTUsXIZ2xqN+KiosQ cBAIe2IXG4NaP3bjh07Za/I0ioQzyzAWgeYPdiIlXVz6HT29LDUbz6ctvB9eXu/G/XgRbX3Xfd74 amYZblZ8OjD4WRtq143YVo+KihFwCPhiZilq6bW+thH00BPo3pgbv/t4ZhmMUzR9L6/IL+bQhz1g fPBbO3RfgMdedGMSl+HIThjog4U18ECVHT/5Cex/hR5gZu05iC4AjcCWWfQluglLGvC2gcBNWkN1 uALanRbV0QTfb4eWBnh8NxREgAiU1Vl/P9AG/HUZGjcjYBXwdVMDdz68APBBZDXTE7t4zxhTK2kk YyMCfr2nDpXLonAxAjYCjf5iNGuf60vHHSsRsNfJUR+c7foe/BuVbEOmkBbg7jHXABAHxMWQUL7o zxdBhoAZjr8GuEaFT7zkd/GsX8CfOP0CexKK7/JsnlH8FBJVvh7gydGaXgmqiQQh/qh9+rYXBjtP S0o4s/WVMaaZ4yPrgaDnt2clXXHujwKHWTJUzdtR2ByFkA9igP/8XfDHMWNMpaRW7wwc5YW40JsW bz0ioHai7diTywBbgGFiM8Q3q0TTamHPiBbA/y8JsKfXAPUbhA5YLIwJmH87BNLyVgDdgCjIk3Of WgfpgcsB0XVK6GfR2yF8vkv/pXha7lLnrYfT9fcS2EXZbHFFFp82CtiTDQJOfr+3uHcRVjO30m5q gIPNAIfJkklKAq3e8QCAMeZ+oIyiSmh3PGeak9jVnFMbnQH76fRLPvQNw+A1uHohtf0mg8BSANqe AVME/vsgi9OfyUY/SsOpEV2H4Q6AI5NBIHUaGmOiQBVWjvnAHHmPylwSmCrL1V+z/wlM2P4BOD/f 77tWK3UAAAAASUVORK5CYII= "
|
||||
height="44"
|
||||
width="44" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:none;stroke:url(#linearGradient3933);stroke-width:4.62557993999999970;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
id="path3000"
|
||||
sodipodi:cx="32.135479"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:ry="31.88294"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)" />
|
||||
<path
|
||||
transform="matrix(0.8772954,0,0,0.8772954,3.8076922,992.6291)"
|
||||
d="m 64.018419,31.611984 c 0,17.608462 -14.274478,31.882941 -31.88294,31.882941 -17.608462,0 -31.88294032,-14.274479 -31.88294032,-31.882941 0,-17.608461 14.27447832,-31.88294004 31.88294032,-31.88294004 17.608462,0 31.88294,14.27447904 31.88294,31.88294004 z"
|
||||
sodipodi:ry="31.88294"
|
||||
sodipodi:rx="31.88294"
|
||||
sodipodi:cy="31.611984"
|
||||
sodipodi:cx="32.135479"
|
||||
id="path3005"
|
||||
style="fill:url(#radialGradient3785);stroke:none;stroke-width:4.62613439999999980;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:3;fill-opacity:1"
|
||||
sodipodi:type="arc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 9.4 KiB |
@ -35,6 +35,7 @@
|
||||
"point_material": "Materials",
|
||||
"elevation_range": "Elevation Bereich",
|
||||
"point_quality": "Qualität",
|
||||
"point_shape": "Form",
|
||||
"edl_radius": "Radius",
|
||||
"edl_strength": "Stärke",
|
||||
"edl_enable": "Ein",
|
||||
@ -44,6 +45,7 @@
|
||||
"skybox": "Sky",
|
||||
"bottom_lock": "Halten über dem Boden",
|
||||
"box": "Box",
|
||||
"length_unit": "Lenght unit",
|
||||
"freeze": "Lock view",
|
||||
"language": "Sprache"
|
||||
},
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"point_material": "Materials",
|
||||
"elevation_range": "Elevation range",
|
||||
"point_quality": "Quality",
|
||||
"point_shape": "Shape",
|
||||
"edl_radius": "Radius",
|
||||
"edl_strength": "Strength",
|
||||
"edl_enable": "Enable",
|
||||
@ -46,11 +47,16 @@
|
||||
"skybox": "Sky",
|
||||
"bottom_lock": "Keep above ground",
|
||||
"box": "Box",
|
||||
"length_unit": "Length unit",
|
||||
"freeze": "Lock view",
|
||||
"language": "Language"
|
||||
},
|
||||
"profile": {
|
||||
"nb_points": "Point number",
|
||||
"annotations": {
|
||||
"show3D": "show in 3D",
|
||||
"showMap": "show on map"
|
||||
},
|
||||
"profile": {
|
||||
"nb_points": "Number of Points",
|
||||
"title": "Height profile",
|
||||
"save_las": "Save LAS(3D)",
|
||||
"save_ortho": "Save CSV(2D)"
|
||||
|
||||
66
resources/lang/jp/translation.json
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
"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": "言語"
|
||||
}
|
||||
}
|
||||
BIN
resources/shapefiles/south_sorvilier.dbf
Normal file
BIN
resources/shapefiles/south_sorvilier.shp
Normal file
86
src/Actions.js
Normal file
@ -0,0 +1,86 @@
|
||||
|
||||
Potree.Action = class Action extends THREE.EventDispatcher{
|
||||
|
||||
constructor(args = {}){
|
||||
super();
|
||||
|
||||
this.icon = args.icon || "";
|
||||
this.tooltip = args.tooltip;
|
||||
|
||||
if(args.onclick !== undefined){
|
||||
this.onclick = args.onclick;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
onclick(event){
|
||||
|
||||
}
|
||||
|
||||
pairWith(object){
|
||||
|
||||
}
|
||||
|
||||
setIcon(newIcon){
|
||||
let oldIcon = this.icon;
|
||||
|
||||
if(newIcon === oldIcon){
|
||||
return;
|
||||
}
|
||||
|
||||
this.icon = newIcon;
|
||||
|
||||
this.dispatchEvent({
|
||||
type: "icon_changed",
|
||||
action: this,
|
||||
icon: newIcon,
|
||||
oldIcon: oldIcon
|
||||
});
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Potree.Actions = {};
|
||||
|
||||
Potree.Actions.ToggleAnnotationVisibility = class ToggleAnnotationVisibility extends Potree.Action{
|
||||
|
||||
constructor(args = {}){
|
||||
super(args);
|
||||
|
||||
this.icon = Potree.resourcePath + "/icons/eye.svg";
|
||||
this.showIn = "sidebar";
|
||||
this.tooltip = "toggle visibility";
|
||||
}
|
||||
|
||||
pairWith(annotation){
|
||||
|
||||
if(annotation.visible){
|
||||
this.setIcon(Potree.resourcePath + "/icons/eye.svg");
|
||||
}else{
|
||||
this.setIcon(Potree.resourcePath + "/icons/eye_crossed.svg");
|
||||
}
|
||||
|
||||
annotation.addEventListener("visibility_changed", e => {
|
||||
let annotation = e.annotation;
|
||||
|
||||
if(annotation.visible){
|
||||
this.setIcon(Potree.resourcePath + "/icons/eye.svg");
|
||||
}else{
|
||||
this.setIcon(Potree.resourcePath + "/icons/eye_crossed.svg");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
onclick(event){
|
||||
let annotation = event.annotation;
|
||||
|
||||
annotation.visible = !annotation.visible;
|
||||
|
||||
if(annotation.visible){
|
||||
this.setIcon(Potree.resourcePath + "/icons/eye.svg");
|
||||
}else{
|
||||
this.setIcon(Potree.resourcePath + "/icons/eye_crossed.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,241 +1,345 @@
|
||||
Potree.Annotation = function(scene, args = {}){
|
||||
var scope = this;
|
||||
Potree.Annotation = class extends THREE.EventDispatcher{
|
||||
|
||||
Potree.Annotation.counter++;
|
||||
|
||||
this.scene = scene;
|
||||
this.ordinal = args.title || Potree.Annotation.counter;
|
||||
this.title = args.title || "No Title";
|
||||
this.description = args.description || "";
|
||||
this.position = args.position || new THREE.Vector3(0,0,0);
|
||||
this.cameraPosition = (args.cameraPosition instanceof Array) ?
|
||||
new THREE.Vector3().fromArray(args.cameraPosition) : args.cameraPosition;
|
||||
this.cameraTarget = (args.cameraTarget instanceof Array) ?
|
||||
new THREE.Vector3().fromArray(args.cameraTarget) : args.cameraTarget;
|
||||
this.view = args.view || null;
|
||||
this.keepOpen = false;
|
||||
this.descriptionVisible = false;
|
||||
this.showDescription = true;
|
||||
this.actions = args.actions || [];
|
||||
this.appearance = args.appearance || null;
|
||||
this.isHighlighted = false;
|
||||
|
||||
this.domElement = document.createElement("div");
|
||||
this.domElement.style.position = "absolute";
|
||||
this.domElement.style.opacity = "0.5";
|
||||
this.domElement.style.padding = "10px";
|
||||
//this.domElement.style.whiteSpace = "nowrap";
|
||||
this.domElement.className = "annotation";
|
||||
|
||||
if(this.appearance !== null){
|
||||
this.elOrdinal = document.createElement("div");
|
||||
this.elOrdinal.style.position = "relative";
|
||||
this.elOrdinal.style.zIndex = "100";
|
||||
this.elOrdinal.style.width = "fit-content";
|
||||
constructor(args = {}){
|
||||
super();
|
||||
|
||||
this.elOrdinal.innerHTML = this.appearance;
|
||||
this.domElement.appendChild(this.elOrdinal);
|
||||
}else{
|
||||
this.elOrdinal = document.createElement("div");
|
||||
this.elOrdinal.style.position = "relative";
|
||||
this.elOrdinal.style.color = "white";
|
||||
this.elOrdinal.style.backgroundColor = "black";
|
||||
this.elOrdinal.style.borderRadius = "1.5em";
|
||||
this.elOrdinal.style.fontSize = "1em";
|
||||
this.elOrdinal.style.opacity = "1";
|
||||
this.elOrdinal.style.margin = "auto";
|
||||
this.elOrdinal.style.zIndex = "100";
|
||||
this.elOrdinal.style.width = "fit-content";
|
||||
this.domElement.appendChild(this.elOrdinal);
|
||||
this.scene = null;
|
||||
this.title = args.title || "No Title";
|
||||
this.description = args.description || "";
|
||||
|
||||
this.elOrdinalText = document.createElement("span");
|
||||
this.elOrdinalText.style.display = "inline-block";
|
||||
this.elOrdinalText.style.verticalAlign = "middle";
|
||||
this.elOrdinalText.style.lineHeight = "1.5em";
|
||||
this.elOrdinalText.style.textAlign = "center";
|
||||
this.elOrdinalText.style.fontFamily = "Arial";
|
||||
this.elOrdinalText.style.fontWeight = "bold";
|
||||
this.elOrdinalText.style.padding = "1px 8px 0px 8px";
|
||||
this.elOrdinalText.style.cursor = "default";
|
||||
this.elOrdinalText.innerHTML = this.ordinal;
|
||||
this.elOrdinalText.style.userSelect = "none";
|
||||
this.elOrdinal.appendChild(this.elOrdinalText);
|
||||
if(!args.position){
|
||||
//this.position = new THREE.Vector3(0, 0, 0);
|
||||
this.position = null;
|
||||
}else if(args.position instanceof THREE.Vector3){
|
||||
this.position = args.position;
|
||||
}else{
|
||||
this.position = new THREE.Vector3(...args.position);
|
||||
}
|
||||
|
||||
this.elOrdinal.onmouseenter = function(){};
|
||||
this.elOrdinal.onmouseleave = function(){};
|
||||
this.elOrdinalText.onclick = () => {
|
||||
this.cameraPosition = (args.cameraPosition instanceof Array) ?
|
||||
new THREE.Vector3().fromArray(args.cameraPosition) : args.cameraPosition;
|
||||
this.cameraTarget = (args.cameraTarget instanceof Array) ?
|
||||
new THREE.Vector3().fromArray(args.cameraTarget) : args.cameraTarget;
|
||||
this.radius = args.radius;
|
||||
this.view = args.view || null;
|
||||
this.keepOpen = false;
|
||||
this.descriptionVisible = false;
|
||||
this.showDescription = true;
|
||||
this.actions = args.actions || [];
|
||||
this.isHighlighted = false;
|
||||
this._visible = true;
|
||||
this.__visible = true;
|
||||
this.collapseThreshold = [args.collapseThreshold, 100].find(e => e !== undefined);
|
||||
|
||||
this.children = [];
|
||||
this.parent = null;
|
||||
this.boundingBox = new THREE.Box3();
|
||||
|
||||
let iconClose = Potree.resourcePath + "/icons/close.svg";
|
||||
|
||||
this.domElement = $(`
|
||||
<div class="annotation" oncontextmenu="return false;">
|
||||
<div class="annotation-titlebar">
|
||||
<span class="annotation-label">${this.title}</span>
|
||||
</div>
|
||||
<div class="annotation-description">
|
||||
<span class="annotation-description-close">
|
||||
<img src="${iconClose}" width="16px">
|
||||
</span>
|
||||
<span class="annotation-description-content">${this.description}</span>
|
||||
</div>
|
||||
</div>
|
||||
`);
|
||||
|
||||
this.elTitlebar = this.domElement.find(".annotation-titlebar");
|
||||
this.elTitle = this.elTitlebar.find(".annotation-label");
|
||||
this.elDescription = this.domElement.find(".annotation-description");
|
||||
this.elDescriptionClose = this.elDescription.find(".annotation-description-close");
|
||||
//this.elDescriptionContent = this.elDescription.find(".annotation-description-content");
|
||||
|
||||
this.clickTitle = () => {
|
||||
if(this.hasView()){
|
||||
this.moveHere(this.scene.camera);
|
||||
}
|
||||
this.dispatchEvent({type: "click", target: this});
|
||||
};
|
||||
}
|
||||
|
||||
this.domDescription = document.createElement("div");
|
||||
this.domDescription.style.position = "relative";
|
||||
this.domDescription.style.color = "white";
|
||||
this.domDescription.style.backgroundColor = "black";
|
||||
this.domDescription.style.padding = "10px";
|
||||
this.domDescription.style.margin = "5px 0px 0px 0px";
|
||||
this.domDescription.style.borderRadius = "4px";
|
||||
this.domDescription.style.display = "none";
|
||||
this.domDescription.style.maxWidth = "500px";
|
||||
//this.domDescription.className = "annotation";
|
||||
this.domElement.appendChild(this.domDescription);
|
||||
|
||||
if(this.actions.length > 0){
|
||||
this.elOrdinalText.style.padding = "1px 3px 0px 8px";
|
||||
|
||||
this.elTitle.click(this.clickTitle);
|
||||
|
||||
this.actions = this.actions.map(a => {
|
||||
if(a instanceof Potree.Action){
|
||||
return a;
|
||||
}else{
|
||||
return new Potree.Action(a);
|
||||
}
|
||||
});
|
||||
|
||||
for(let action of this.actions){
|
||||
let elButton = document.createElement("img");
|
||||
action.pairWith(this);
|
||||
}
|
||||
|
||||
let actions = this.actions.filter(
|
||||
a => a.showIn === undefined || a.showIn.includes("scene"));
|
||||
|
||||
elButton.src = action.icon;
|
||||
elButton.style.width = "24px";
|
||||
elButton.style.height = "24px";
|
||||
elButton.style.filter = "invert(1)";
|
||||
elButton.style.display = "inline-block";
|
||||
elButton.style.verticalAlign = "middle";
|
||||
elButton.style.lineHeight = "1.5em";
|
||||
elButton.style.textAlign = "center";
|
||||
elButton.style.fontFamily = "Arial";
|
||||
elButton.style.fontWeight = "bold";
|
||||
elButton.style.padding = "1px 8px 0px 1px";
|
||||
elButton.style.cursor = "default";
|
||||
for(let action of actions){
|
||||
this.elTitle.css("padding", "1px 3px 0px 8px");
|
||||
|
||||
this.elOrdinal.appendChild(elButton);
|
||||
let elButton = $(`<img src="${action.icon}" class="annotation-action-icon">`);
|
||||
this.elTitlebar.append(elButton);
|
||||
elButton.click(() => action.onclick({annotation: this}));
|
||||
}
|
||||
|
||||
this.elDescriptionClose.hover(
|
||||
e => this.elDescriptionClose.css("opacity", "1"),
|
||||
e => this.elDescriptionClose.css("opacity", "0.5")
|
||||
);
|
||||
this.elDescriptionClose.click(e => this.setHighlighted(false));
|
||||
//this.elDescriptionContent.html(this.description);
|
||||
|
||||
this.domElement.mouseenter(e => this.setHighlighted(true));
|
||||
this.domElement.mouseleave(e => this.setHighlighted(false));
|
||||
|
||||
this.domElement.on("touchstart", e => {
|
||||
this.setHighlighted(!this.isHighlighted);
|
||||
});
|
||||
}
|
||||
|
||||
add(annotation){
|
||||
if(!this.children.includes(annotation)){
|
||||
this.children.push(annotation);
|
||||
annotation.parent = this;
|
||||
|
||||
let descendants = [];
|
||||
annotation.traverse(a => {descendants.push(a)});
|
||||
|
||||
for(let descendant of descendants){
|
||||
let c = this;
|
||||
while(c !== null){
|
||||
c.dispatchEvent({
|
||||
"type": "annotation_added",
|
||||
"annotation": descendant
|
||||
});
|
||||
c = c.parent;
|
||||
}
|
||||
}
|
||||
|
||||
elButton.onclick = function(){
|
||||
action.onclick();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
let icon = Potree.resourcePath + "/icons/close.svg";
|
||||
let close = $(`<span><img src="${icon}" width="16px"></span>`);
|
||||
close.css("filter", "invert(100%)");
|
||||
close.css("float", "right");
|
||||
close.css("opacity", "0.5");
|
||||
close.css("margin", "0px 0px 8px 8px");
|
||||
close.hover(e => {
|
||||
close.css("opacity", "1");
|
||||
},e => {
|
||||
close.css("opacity", "0.5");
|
||||
});
|
||||
close.click(e => {
|
||||
this.setHighlighted(false);
|
||||
});
|
||||
$(this.domDescription).append(close);
|
||||
|
||||
this.elDescriptionText = document.createElement("span");
|
||||
this.elDescriptionText.style.color = "#ffffff";
|
||||
this.elDescriptionText.innerHTML = this.description;
|
||||
this.domDescription.appendChild(this.elDescriptionText);
|
||||
|
||||
level(){
|
||||
if(this.parent === null){
|
||||
return 0;
|
||||
}else{
|
||||
return this.parent.level() + 1;
|
||||
}
|
||||
}
|
||||
|
||||
this.domElement.onmouseenter = () => {
|
||||
this.setHighlighted(true);
|
||||
};
|
||||
remove(annotation){
|
||||
this.children = this.children.filter(e => e !== annotation);
|
||||
annotation.parent = null;
|
||||
}
|
||||
|
||||
$(this.domElement).on("touchstart", e => {
|
||||
this.setHighlighted(!this.isHighlighted);
|
||||
});
|
||||
updateBounds(){
|
||||
let box = new THREE.Box3();
|
||||
|
||||
if(this.position){
|
||||
box.expandByPoint(this.position);
|
||||
}
|
||||
|
||||
for(let child of this.children){
|
||||
child.updateBounds();
|
||||
|
||||
box.union(child.boundingBox);
|
||||
}
|
||||
|
||||
this.boundingBox.copy(box);
|
||||
}
|
||||
|
||||
this.domElement.onmouseleave = () => {
|
||||
this.setHighlighted(false);
|
||||
};
|
||||
traverse(callback){
|
||||
let expand = callback(this);
|
||||
|
||||
if(expand === undefined || expand === true){
|
||||
for(let child of this.children){
|
||||
child.traverse(callback);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//$(this.domElement).click(e => {
|
||||
// this.showDescription = !this.showDescription;
|
||||
//
|
||||
// if(this.showDescription){
|
||||
// $(this.domElement).append($(this.domDescription));
|
||||
// }else{
|
||||
// $(this.domDescription).remove();
|
||||
// }
|
||||
//});
|
||||
traverseDescendants(callback){
|
||||
for(let child of this.children){
|
||||
child.traverse(callback);
|
||||
}
|
||||
}
|
||||
|
||||
this.setHighlighted = function(highlighted){
|
||||
flatten(){
|
||||
let annotations = [];
|
||||
|
||||
this.traverse(annotation => {
|
||||
annotations.push(annotation);
|
||||
});
|
||||
|
||||
return annotations;
|
||||
}
|
||||
|
||||
descendants(){
|
||||
let annotations = [];
|
||||
|
||||
this.traverse(annotation => {
|
||||
if(annotation !== this){
|
||||
annotations.push(annotation);
|
||||
}
|
||||
});
|
||||
|
||||
return annotations;
|
||||
}
|
||||
|
||||
setHighlighted(highlighted){
|
||||
if(highlighted){
|
||||
this.domElement.style.opacity = "0.8";
|
||||
this.elOrdinal.style.boxShadow = "0 0 5px #fff";
|
||||
this.domElement.style.zIndex = "1000";
|
||||
this.domElement.css("opacity", "0.8");
|
||||
this.elTitlebar.css("box-shadow", "0 0 5px #fff");
|
||||
this.domElement.css("z-index", "1000");
|
||||
|
||||
if(this.description){
|
||||
this.descriptionVisible = true;
|
||||
this.domDescription.style.display = "block";
|
||||
this.domDescription.style.position = "relative";
|
||||
//this.elDescription.css("display", "block");
|
||||
this.elDescription.fadeIn(200);
|
||||
this.elDescription.css("position", "relative");
|
||||
}
|
||||
|
||||
}else{
|
||||
this.domElement.style.opacity = "0.5";
|
||||
this.elOrdinal.style.boxShadow = "";
|
||||
this.domElement.style.zIndex = "100";
|
||||
this.domElement.css("opacity", "0.5");
|
||||
this.elTitlebar.css("box-shadow", "");
|
||||
this.domElement.css("z-index", "100");
|
||||
this.descriptionVisible = false;
|
||||
this.domDescription.style.display = "none";
|
||||
this.elDescription.css("display", "none");
|
||||
//this.elDescription.fadeOut(200);
|
||||
}
|
||||
|
||||
this.isHighlighted = highlighted;
|
||||
};
|
||||
}
|
||||
|
||||
this.hasView = function(){
|
||||
let hasView = this.cameraTarget instanceof THREE.Vector3;
|
||||
hasView = hasView && this.cameraPosition instanceof THREE.Vector3;
|
||||
hasView(){
|
||||
let hasPosTargetView = this.cameraTarget instanceof THREE.Vector3;
|
||||
hasPosTargetView = hasPosTargetView && this.cameraPosition instanceof THREE.Vector3;
|
||||
|
||||
let hasRadiusView = this.radius !== undefined;
|
||||
|
||||
let hasView = hasPosTargetView || hasRadiusView;
|
||||
|
||||
return hasView;
|
||||
};
|
||||
|
||||
this.moveHere = function(camera){
|
||||
moveHere(camera){
|
||||
if(!this.hasView()){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
let view = this.scene.view;
|
||||
|
||||
var animationDuration = 800;
|
||||
var easing = TWEEN.Easing.Quartic.Out;
|
||||
|
||||
{ // animate camera position
|
||||
let tween = new TWEEN.Tween(scope.scene.view.position).to(scope.cameraPosition, animationDuration);
|
||||
tween.easing(easing);
|
||||
//tween.onUpdate(function(){
|
||||
// console.log(scope.scene.view.position);
|
||||
//});
|
||||
tween.start();
|
||||
|
||||
|
||||
let endTarget;
|
||||
if(this.cameraTarget){
|
||||
endTarget = this.cameraTarget;
|
||||
}else if(this.position){
|
||||
endTarget = this.position;
|
||||
}else{
|
||||
endTarget = this.boundingBox.getCenter();
|
||||
}
|
||||
|
||||
{ // animate camera target
|
||||
var camTargetDistance = camera.position.distanceTo(scope.cameraTarget);
|
||||
var target = new THREE.Vector3().addVectors(
|
||||
camera.position,
|
||||
camera.getWorldDirection().clone().multiplyScalar(camTargetDistance)
|
||||
);
|
||||
var tween = new TWEEN.Tween(target).to(scope.cameraTarget, animationDuration);
|
||||
tween.easing(easing);
|
||||
tween.onUpdate(function(){
|
||||
//camera.lookAt(target);
|
||||
scope.scene.view.lookAt(target);
|
||||
});
|
||||
tween.onComplete(function(){
|
||||
//camera.lookAt(target);
|
||||
scope.scene.view.lookAt(target);
|
||||
scope.dispatchEvent({type: "focusing_finished", target: scope});
|
||||
});
|
||||
}
|
||||
if(this.cameraPosition){
|
||||
|
||||
let endPosition = this.cameraPosition;
|
||||
|
||||
scope.dispatchEvent({type: "focusing_started", target: scope});
|
||||
tween.start();
|
||||
{ // animate camera position
|
||||
let tween = new TWEEN.Tween(view.position).to(endPosition, animationDuration);
|
||||
tween.easing(easing);
|
||||
tween.start();
|
||||
}
|
||||
|
||||
{ // animate camera target
|
||||
var camTargetDistance = camera.position.distanceTo(endTarget);
|
||||
var target = new THREE.Vector3().addVectors(
|
||||
camera.position,
|
||||
camera.getWorldDirection().clone().multiplyScalar(camTargetDistance)
|
||||
);
|
||||
var tween = new TWEEN.Tween(target).to(endTarget, animationDuration);
|
||||
tween.easing(easing);
|
||||
tween.onUpdate(() => {
|
||||
view.lookAt(target);
|
||||
});
|
||||
tween.onComplete(() => {
|
||||
view.lookAt(target);
|
||||
this.dispatchEvent({type: "focusing_finished", target: this});
|
||||
});
|
||||
|
||||
this.dispatchEvent({type: "focusing_started", target: this});
|
||||
tween.start();
|
||||
}
|
||||
}else if(this.radius){
|
||||
let direction = view.direction;
|
||||
let endPosition = endTarget.clone().add(direction.multiplyScalar(-this.radius));
|
||||
let startRadius = view.radius;
|
||||
let endRadius = this.radius;
|
||||
|
||||
{ // animate camera position
|
||||
let tween = new TWEEN.Tween(view.position).to(endPosition, animationDuration);
|
||||
tween.easing(easing);
|
||||
tween.start();
|
||||
}
|
||||
|
||||
{ // animate radius
|
||||
let t = {x: 0};
|
||||
|
||||
let tween = new TWEEN.Tween(t)
|
||||
.to({x: 1}, animationDuration)
|
||||
.onUpdate(function(){
|
||||
view.radius = this.x * endRadius + (1 - this.x) * startRadius;
|
||||
});
|
||||
tween.easing(easing);
|
||||
tween.start();
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
this.dispose = function(){
|
||||
|
||||
|
||||
dispose(){
|
||||
if(this.domElement.parentElement){
|
||||
this.domElement.parentElement.removeChild(this.domElement);
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
get visible(){
|
||||
return this._visible;
|
||||
}
|
||||
|
||||
set visible(value){
|
||||
if(this._visible === value){
|
||||
return;
|
||||
}
|
||||
|
||||
this._visible = value;
|
||||
|
||||
if(!value){
|
||||
this.traverse(node => {
|
||||
node.__visible = false;
|
||||
node.domElement.css("display", "none");
|
||||
});
|
||||
}else{
|
||||
this.traverse(node => {
|
||||
node.__visible = true;
|
||||
});
|
||||
}
|
||||
|
||||
this.dispatchEvent({
|
||||
type: "visibility_changed",
|
||||
annotation: this
|
||||
});
|
||||
}
|
||||
|
||||
toString(){
|
||||
return "Annotation: " + this.title;
|
||||
}
|
||||
};
|
||||
|
||||
Potree.Annotation.prototype = Object.create( THREE.EventDispatcher.prototype );
|
||||
|
||||
Potree.Annotation.counter = 0;
|
||||
180
src/PointCloud.js
Normal file
@ -0,0 +1,180 @@
|
||||
//
|
||||
//Potree.PointCloud = class PointCloud extends THREE.Object3D{
|
||||
//
|
||||
// constructor(octree){
|
||||
// this.octree = octree;
|
||||
// }
|
||||
//
|
||||
//};
|
||||
//
|
||||
//Potree.GLObject = class GLObject{
|
||||
// constructor(tBuffer){
|
||||
// this.tBuffer = tBuffer;
|
||||
// this.vbos = new Map();
|
||||
// }
|
||||
//};
|
||||
//
|
||||
//Potree.GLProgram = class GLProgram{
|
||||
// constructor(tMaterial){
|
||||
// this.tMaterial = tMaterial;
|
||||
// this.program = null;
|
||||
// this.uniforms = new Map();
|
||||
// }
|
||||
//};
|
||||
//
|
||||
//
|
||||
//
|
||||
//Potree.Renderer = class PotreeRenderer{
|
||||
// constructor(threeRenderer){
|
||||
// this.threeRenderer = threeRenderer;
|
||||
// this.gl = this.threeRenderer.getContext();
|
||||
//
|
||||
// this.glObjects = new Map();
|
||||
// this.glPrograms = new Map();
|
||||
// }
|
||||
//
|
||||
// render(pointcloud){
|
||||
// let gl = this.gl;
|
||||
// this.threeRenderer.resetGLState();
|
||||
//
|
||||
// let visibleNodes = pointcloud.visibleNodes;
|
||||
// let material = pointcloud.material;
|
||||
//
|
||||
// let glProgram = this.glPrograms.get(material);
|
||||
// if(!glProgram){
|
||||
// this.createProgram(material);
|
||||
// glProgram = this.glPrograms.get(material);
|
||||
// }
|
||||
//
|
||||
// for(let node of visibleNodes){
|
||||
// if(!(node.sceneNode && node.sceneNode instanceof THREE.Points)){
|
||||
// continue;
|
||||
// }
|
||||
//
|
||||
// let glObject = this.glObjects.get(node);
|
||||
// if(!glObject){
|
||||
// this.createObject(node);
|
||||
// glObject = this.glObjects.get(node);
|
||||
// }
|
||||
//
|
||||
// for(let attribute of Object.keys(glObject.buffers)){
|
||||
// let value = glObject.buffers[attribute];
|
||||
//
|
||||
// let type = null;
|
||||
// if(value.threeAttribute.array instanceof Float32Array){
|
||||
// type = gl.FLOAT;
|
||||
// }else if(value.threeAttribute.array instanceof Uint18Array){
|
||||
// type = gl.SHORT;
|
||||
// }else if(value.threeAttribute.array instanceof Uint18Array){
|
||||
// type = gl.BYTE;
|
||||
// }
|
||||
//
|
||||
// let itemSize = value.threeAttribute.itemSize;
|
||||
//
|
||||
// gl.bindBuffer(gl.ARRAY_BUFFER, value.vbo);
|
||||
// gl.vertexAttribPointer(vertexPositionAttribute, itemSize, type, false, 0, 0);
|
||||
// }
|
||||
//
|
||||
// gl.drawArrays(gl.POINT, 0, glObject.buffers.threeAttribute.position.count);
|
||||
// }
|
||||
//
|
||||
// gl.bindBuffer(gl.ARRAY_BUFFER, null);
|
||||
//
|
||||
//
|
||||
// this.threeRenderer.resetGLState();
|
||||
// }
|
||||
//
|
||||
// createShader(type, source){
|
||||
// let gl = this.gl;
|
||||
//
|
||||
// let shader = gl.createShader(type);
|
||||
// gl.shaderSource(shader, source);
|
||||
// gl.compileShader(shader);
|
||||
//
|
||||
// let success = gl.getShaderParameter(shader, gl.COMPILE_STATUS);
|
||||
// if(success){
|
||||
// return shader;
|
||||
// }else{
|
||||
// console.err("Shader compilation failed:");
|
||||
// console.err(gl.getShaderInfoLog(shader));
|
||||
// gl.deleteShader(shader);
|
||||
//
|
||||
// return null;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// createProgram(material){
|
||||
// let gl = this.gl;
|
||||
//
|
||||
// let vsSource = material.vertexShader;
|
||||
// let fsSource = material.fragmentShader;
|
||||
//
|
||||
// let vs = this.createShader(gl.VERTEX_SHADER, vsSource);
|
||||
// let fs = this.createShader(gl.FRAGMENT_SHADER, fsSource);
|
||||
//
|
||||
// if(vs === null || fs === null){
|
||||
// return null;
|
||||
// }
|
||||
//
|
||||
// let program = gl.createProgram();
|
||||
// gl.attachShader(program, vs);
|
||||
// gl.attachShader(program, fs);
|
||||
// gl.linkProgram(program);
|
||||
//
|
||||
// let success = gl.getProgramParameter(program, gl.LINK_STATUS);
|
||||
// if(!success){
|
||||
// console.err("failed to create/link shader program");
|
||||
// console.err(gl.getProgramInfoLog(program));
|
||||
// gl.deleteProgram(program);
|
||||
//
|
||||
// return null;
|
||||
// }
|
||||
//
|
||||
// let glProgram = new Potree.GLProgram();
|
||||
//
|
||||
//
|
||||
// }
|
||||
//
|
||||
// createObject(renderer, node){
|
||||
//
|
||||
// let gl = renderer.getContext();
|
||||
//
|
||||
// let bufferGeometry = node.sceneNode.geometry;
|
||||
//
|
||||
// let buffers = {};
|
||||
//
|
||||
// for(let attributeName of Object.keys(bufferGeometry.attributes)){
|
||||
// let attribute = bufferGeometry.attributes[attributeName];
|
||||
// let vbo = gl.createBuffer();
|
||||
// gl.bindBuffer(gl.ARRAY_BUFFER, vbo);
|
||||
// gl.bufferData(gl.ARRAY_BUFFER, attribute.array, gl.STATIC_DRAW);
|
||||
//
|
||||
// buffers[attributeName] = {
|
||||
// threeAttribute: attribute,
|
||||
// vbo: vbo
|
||||
// };
|
||||
// }
|
||||
// gl.bindBuffer(gl.ARRAY_BUFFER, null);
|
||||
//
|
||||
// let glObject = new Potree.GLObject(node);
|
||||
// let webgl = {
|
||||
// node: node,
|
||||
// geometry: bufferGeometry,
|
||||
// buffers
|
||||
// };
|
||||
//
|
||||
// console.log(webgl);
|
||||
//
|
||||
// this.wegbl.set(node, webgl);
|
||||
// }
|
||||
//
|
||||
// freeObject(node){
|
||||
//
|
||||
// // TODO destroy buffers
|
||||
//
|
||||
// this.webgl.delete(node);
|
||||
//
|
||||
// }
|
||||
//
|
||||
//
|
||||
//};
|
||||
@ -10,31 +10,31 @@ Potree.PointCloudTreeNode = class{
|
||||
|
||||
getChildren(){
|
||||
throw "override function";
|
||||
};
|
||||
}
|
||||
|
||||
getBoundingBox(){
|
||||
throw "override function";
|
||||
};
|
||||
}
|
||||
|
||||
isLoaded(){
|
||||
throw "override function";
|
||||
};
|
||||
}
|
||||
|
||||
isGeometryNode(){
|
||||
throw "override function";
|
||||
};
|
||||
}
|
||||
|
||||
isTreeNode(){
|
||||
throw "override function";
|
||||
};
|
||||
}
|
||||
|
||||
getLevel(){
|
||||
throw "override function";
|
||||
};
|
||||
}
|
||||
|
||||
getBoundingSphere(){
|
||||
throw "override function";
|
||||
};
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
@ -47,7 +47,7 @@ Potree.PointCloudTree = class PointCloudTree extends THREE.Object3D{
|
||||
|
||||
initialized(){
|
||||
return this.root !== null;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
1032
src/Potree.js
@ -1,160 +1,130 @@
|
||||
|
||||
Potree.ProfileData = function(profile){
|
||||
this.profile = profile;
|
||||
|
||||
this.segments = [];
|
||||
this.boundingBox = new THREE.Box3();
|
||||
this.projectedBoundingBox = new THREE.Box2();
|
||||
|
||||
var mileage = new THREE.Vector3();
|
||||
for(var i = 0; i < profile.points.length - 1; i++){
|
||||
var start = profile.points[i];
|
||||
var end = profile.points[i+1];
|
||||
|
||||
var startGround = new THREE.Vector3(start.x, start.y, 0);
|
||||
var endGround = new THREE.Vector3(end.x, end.y, 0);
|
||||
|
||||
var center = new THREE.Vector3().addVectors(endGround, startGround).multiplyScalar(0.5);
|
||||
var length = startGround.distanceTo(endGround);
|
||||
var side = new THREE.Vector3().subVectors(endGround, startGround).normalize();
|
||||
var up = new THREE.Vector3(0, 0, 1);
|
||||
var forward = new THREE.Vector3().crossVectors(side, up).normalize();
|
||||
var N = forward;
|
||||
var cutPlane = new THREE.Plane().setFromNormalAndCoplanarPoint(N, startGround);
|
||||
var halfPlane = new THREE.Plane().setFromNormalAndCoplanarPoint(side, center);
|
||||
|
||||
var project = function(_start, _end, _mileage){
|
||||
var start = _start;
|
||||
var end = _end;
|
||||
var mileage = _mileage;
|
||||
|
||||
var xAxis = new THREE.Vector3(1,0,0);
|
||||
var dir = new THREE.Vector3().subVectors(end, start);
|
||||
dir.z = 0;
|
||||
dir.normalize();
|
||||
var alpha = Math.acos(xAxis.dot(dir));
|
||||
if(dir.y > 0){
|
||||
alpha = -alpha;
|
||||
}
|
||||
|
||||
|
||||
return function(position){
|
||||
var toOrigin = new THREE.Matrix4().makeTranslation(-start.x, -start.y, 0);
|
||||
var alignWithX = new THREE.Matrix4().makeRotationZ(-alpha);
|
||||
var applyMileage = new THREE.Matrix4().makeTranslation(mileage.x, 0, 0);
|
||||
|
||||
var pos = position.clone();
|
||||
pos.applyMatrix4(toOrigin);
|
||||
pos.applyMatrix4(alignWithX);
|
||||
pos.applyMatrix4(applyMileage);
|
||||
|
||||
return pos;
|
||||
|
||||
Potree.ProfileData = class ProfileData{
|
||||
|
||||
constructor(profile){
|
||||
this.profile = profile;
|
||||
|
||||
this.segments = [];
|
||||
this.boundingBox = new THREE.Box3();
|
||||
|
||||
for(let i = 0; i < profile.points.length - 1; i++){
|
||||
let start = profile.points[i];
|
||||
let end = profile.points[i+1];
|
||||
|
||||
let startGround = new THREE.Vector3(start.x, start.y, 0);
|
||||
let endGround = new THREE.Vector3(end.x, end.y, 0);
|
||||
|
||||
let center = new THREE.Vector3().addVectors(endGround, startGround).multiplyScalar(0.5);
|
||||
let length = startGround.distanceTo(endGround);
|
||||
let side = new THREE.Vector3().subVectors(endGround, startGround).normalize();
|
||||
let up = new THREE.Vector3(0, 0, 1);
|
||||
let forward = new THREE.Vector3().crossVectors(side, up).normalize();
|
||||
let N = forward;
|
||||
let cutPlane = new THREE.Plane().setFromNormalAndCoplanarPoint(N, startGround);
|
||||
let halfPlane = new THREE.Plane().setFromNormalAndCoplanarPoint(side, center);
|
||||
|
||||
let segment = {
|
||||
start: start,
|
||||
end: end,
|
||||
cutPlane: cutPlane,
|
||||
halfPlane: halfPlane,
|
||||
length: length,
|
||||
points: new Potree.Points()
|
||||
};
|
||||
|
||||
}(start, end, mileage.clone());
|
||||
|
||||
var segment = {
|
||||
start: start,
|
||||
end: end,
|
||||
cutPlane: cutPlane,
|
||||
halfPlane: halfPlane,
|
||||
length: length,
|
||||
points: null,
|
||||
project: project
|
||||
};
|
||||
|
||||
this.segments.push(segment);
|
||||
|
||||
mileage.x += length;
|
||||
mileage.z += end.z - start.z;
|
||||
this.segments.push(segment);
|
||||
}
|
||||
}
|
||||
|
||||
this.projectedBoundingBox.min.x = 0;
|
||||
this.projectedBoundingBox.min.z = Number.POSITIVE_INFINITY;
|
||||
this.projectedBoundingBox.max.x = mileage.x;
|
||||
this.projectedBoundingBox.max.z = Number.NEGATIVE_INFINITY;
|
||||
|
||||
this.size = function(){
|
||||
var size = 0;
|
||||
for(var i = 0; i < this.segments.length; i++){
|
||||
if(this.segments[i].points){
|
||||
size += this.segments[i].points.numPoints;
|
||||
}
|
||||
size(){
|
||||
|
||||
let size = 0;
|
||||
for(let segment of this.segments){
|
||||
size += segment.points.numPoints;
|
||||
}
|
||||
|
||||
return size;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Potree.ProfileRequest = function(pointcloud, profile, maxDepth, callback){
|
||||
|
||||
this.pointcloud = pointcloud;
|
||||
this.profile = profile;
|
||||
this.maxDepth = maxDepth || Number.MAX_VALUE;
|
||||
this.callback = callback;
|
||||
this.temporaryResult = new Potree.ProfileData(this.profile);
|
||||
this.pointsServed = 0;
|
||||
|
||||
this.priorityQueue = new BinaryHeap(function(x){return 1 / x.weight;});
|
||||
Potree.ProfileRequest = class ProfileRequest{
|
||||
|
||||
this.initialize = function(){
|
||||
this.priorityQueue.push({node: pointcloud.pcoGeometry.root, weight: 1});
|
||||
this.traverse(pointcloud.pcoGeometry.root);
|
||||
constructor(pointcloud, profile, maxDepth, callback){
|
||||
this.pointcloud = pointcloud;
|
||||
this.profile = profile;
|
||||
this.maxDepth = maxDepth || Number.MAX_VALUE;
|
||||
this.callback = callback;
|
||||
this.temporaryResult = new Potree.ProfileData(this.profile);
|
||||
this.pointsServed = 0;
|
||||
this.highestLevelServed = 0;
|
||||
|
||||
this.priorityQueue = new BinaryHeap(function(x){return 1 / x.weight;});
|
||||
|
||||
this.initialize();
|
||||
}
|
||||
|
||||
initialize(){
|
||||
this.priorityQueue.push({node: this.pointcloud.pcoGeometry.root, weight: 1});
|
||||
this.traverse(this.pointcloud.pcoGeometry.root);
|
||||
};
|
||||
|
||||
// traverse the node and add intersecting descendants to queue
|
||||
this.traverse = function(node){
|
||||
traverse(node){
|
||||
|
||||
var stack = [];
|
||||
for(var i = 0; i < 8; i++){
|
||||
var child = node.children[i];
|
||||
if(child && pointcloud.nodeIntersectsProfile(child, this.profile)){
|
||||
let stack = [];
|
||||
for(let i = 0; i < 8; i++){
|
||||
let child = node.children[i];
|
||||
if(child && this.pointcloud.nodeIntersectsProfile(child, this.profile)){
|
||||
stack.push(child);
|
||||
}
|
||||
}
|
||||
|
||||
while(stack.length > 0){
|
||||
var node = stack.pop();
|
||||
var weight = node.boundingSphere.radius;
|
||||
let node = stack.pop();
|
||||
let weight = node.boundingSphere.radius;
|
||||
|
||||
this.priorityQueue.push({node: node, weight: weight});
|
||||
|
||||
// add children that intersect the cutting plane
|
||||
if(node.level < this.maxDepth){
|
||||
for(var i = 0; i < 8; i++){
|
||||
var child = node.children[i];
|
||||
if(child && pointcloud.nodeIntersectsProfile(child, this.profile)){
|
||||
for(let i = 0; i < 8; i++){
|
||||
let child = node.children[i];
|
||||
if(child && this.pointcloud.nodeIntersectsProfile(child, this.profile)){
|
||||
stack.push(child);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
this.update = function(){
|
||||
update(){
|
||||
|
||||
// load nodes in queue
|
||||
// if hierarchy expands, also load nodes from expanded hierarchy
|
||||
// once loaded, add data to this.points and remove node from queue
|
||||
// only evaluate 1-50 nodes per frame to maintain responsiveness
|
||||
|
||||
var intersectedNodes = [];
|
||||
let maxNodesPerUpdate = 1;
|
||||
let intersectedNodes = [];
|
||||
|
||||
for(var i = 0; i < Math.min(2, this.priorityQueue.size()); i++){
|
||||
var element = this.priorityQueue.pop();
|
||||
var node = element.node;
|
||||
for(let i = 0; i < Math.min(maxNodesPerUpdate, this.priorityQueue.size()); i++){
|
||||
let element = this.priorityQueue.pop();
|
||||
let node = element.node;
|
||||
|
||||
|
||||
if(node.loaded){
|
||||
// add points to result
|
||||
intersectedNodes.push(node);
|
||||
Potree.getLRU().touch(node);
|
||||
this.highestLevelServed = node.getLevel();
|
||||
|
||||
if((node.level % node.pcoGeometry.hierarchyStepSize) === 0 && node.hasChildren){
|
||||
this.traverse(node);
|
||||
}
|
||||
}else{
|
||||
console.log("loading " + node.name);
|
||||
node.load();
|
||||
this.priorityQueue.push(element);
|
||||
}
|
||||
@ -164,7 +134,7 @@ Potree.ProfileRequest = function(pointcloud, profile, maxDepth, callback){
|
||||
this.getPointsInsideProfile(intersectedNodes, this.temporaryResult);
|
||||
if(this.temporaryResult.size() > 100){
|
||||
this.pointsServed += this.temporaryResult.size();
|
||||
callback.onProgress({request: this, points: this.temporaryResult});
|
||||
this.callback.onProgress({request: this, points: this.temporaryResult});
|
||||
this.temporaryResult = new Potree.ProfileData(this.profile);
|
||||
}
|
||||
}
|
||||
@ -174,107 +144,131 @@ Potree.ProfileRequest = function(pointcloud, profile, maxDepth, callback){
|
||||
|
||||
if(this.temporaryResult.size() > 0){
|
||||
this.pointsServed += this.temporaryResult.size();
|
||||
callback.onProgress({request: this, points: this.temporaryResult});
|
||||
this.callback.onProgress({request: this, points: this.temporaryResult});
|
||||
this.temporaryResult = new Potree.ProfileData(this.profile);
|
||||
}
|
||||
|
||||
callback.onFinish({request: this});
|
||||
this.callback.onFinish({request: this});
|
||||
|
||||
var index = pointcloud.profileRequests.indexOf(this);
|
||||
let index = this.pointcloud.profileRequests.indexOf(this);
|
||||
if(index >= 0){
|
||||
pointcloud.profileRequests.splice(index, 1);
|
||||
this.pointcloud.profileRequests.splice(index, 1);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
this.getPointsInsideProfile = function(nodes, target){
|
||||
getPointsInsideProfile(nodes, target){
|
||||
|
||||
for(var pi = 0; pi < target.segments.length; pi++){
|
||||
var segment = target.segments[pi];
|
||||
|
||||
for(var ni = 0; ni < nodes.length; ni++){
|
||||
var node = nodes[ni];
|
||||
|
||||
var geometry = node.geometry;
|
||||
var positions = geometry.attributes.position;
|
||||
var p = positions.array;
|
||||
var numPoints = node.numPoints;
|
||||
|
||||
if(!segment.points){
|
||||
segment.points = {};
|
||||
segment.points.boundingBox = new THREE.Box3();
|
||||
|
||||
for (var property in geometry.attributes) {
|
||||
if (geometry.attributes.hasOwnProperty(property)) {
|
||||
if(property === "indices"){
|
||||
|
||||
}else{
|
||||
segment.points[property] = [];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for(var i = 0; i < numPoints; i++){
|
||||
var pos = new THREE.Vector3(p[3*i], p[3*i+1], p[3*i+2]);
|
||||
pos.applyMatrix4(pointcloud.matrixWorld);
|
||||
var distance = Math.abs(segment.cutPlane.distanceToPoint(pos));
|
||||
var centerDistance = Math.abs(segment.halfPlane.distanceToPoint(pos));
|
||||
|
||||
if(distance < profile.width / 2 && centerDistance < segment.length / 2){
|
||||
segment.points.boundingBox.expandByPoint(pos);
|
||||
|
||||
for (var property in geometry.attributes) {
|
||||
if (geometry.attributes.hasOwnProperty(property)) {
|
||||
|
||||
if(property === "position"){
|
||||
segment.points[property].push(pos);
|
||||
}else if(property === "indices"){
|
||||
// skip indices
|
||||
}else{
|
||||
var values = geometry.attributes[property];
|
||||
if(values.itemSize === 1){
|
||||
segment.points[property].push(values.array[i]);
|
||||
}else{
|
||||
var value = [];
|
||||
for(var j = 0; j < values.itemSize; j++){
|
||||
value.push(values.array[i*values.itemSize + j]);
|
||||
}
|
||||
segment.points[property].push(value);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}else{
|
||||
var a;
|
||||
}
|
||||
}
|
||||
}
|
||||
let totalMileage = 0;
|
||||
|
||||
segment.points.numPoints = segment.points.position.length;
|
||||
|
||||
for(let segment of target.segments){
|
||||
|
||||
if(segment.points.numPoints > 0){
|
||||
target.boundingBox.expandByPoint(segment.points.boundingBox.min);
|
||||
target.boundingBox.expandByPoint(segment.points.boundingBox.max);
|
||||
for(let node of nodes){
|
||||
let geometry = node.geometry;
|
||||
let positions = geometry.attributes.position;
|
||||
let p = positions.array;
|
||||
let numPoints = node.numPoints;
|
||||
|
||||
let sv = new THREE.Vector3().subVectors(segment.end, segment.start).setZ(0);
|
||||
let segmentDir = sv.clone().normalize();
|
||||
|
||||
let accepted = [];
|
||||
let mileage = [];
|
||||
let acceptedPositions = [];
|
||||
let points = new Potree.Points();
|
||||
|
||||
let nodeMatrix = new THREE.Matrix4().makeTranslation(...node.boundingBox.min.toArray());
|
||||
|
||||
let matrix = new THREE.Matrix4().multiplyMatrices(
|
||||
this.pointcloud.matrixWorld, nodeMatrix);
|
||||
|
||||
for(let i = 0; i < numPoints; i++){
|
||||
let pos = new THREE.Vector3(p[3*i], p[3*i+1], p[3*i+2]);
|
||||
pos.applyMatrix4(matrix);
|
||||
let distance = Math.abs(segment.cutPlane.distanceToPoint(pos));
|
||||
let centerDistance = Math.abs(segment.halfPlane.distanceToPoint(pos));
|
||||
|
||||
if(distance < this.profile.width / 2 && centerDistance < segment.length / 2){
|
||||
|
||||
let svp = new THREE.Vector3().subVectors(pos, segment.start);
|
||||
let localMileage = segmentDir.dot(svp);
|
||||
|
||||
accepted.push(i);
|
||||
mileage.push(localMileage + totalMileage);
|
||||
points.boundingBox.expandByPoint(pos);
|
||||
|
||||
acceptedPositions.push(pos.x);
|
||||
acceptedPositions.push(pos.y);
|
||||
acceptedPositions.push(pos.z);
|
||||
}
|
||||
}
|
||||
|
||||
for(let attribute of Object.keys(geometry.attributes).filter(a => a !== "indices")) {
|
||||
|
||||
let bufferedAttribute = geometry.attributes[attribute];
|
||||
let type = bufferedAttribute.array.constructor;
|
||||
|
||||
let filteredBuffer = null;
|
||||
|
||||
if(attribute === "position"){
|
||||
filteredBuffer = new type(acceptedPositions);
|
||||
}else{
|
||||
filteredBuffer = new type(accepted.length * bufferedAttribute.itemSize);
|
||||
|
||||
for(let i = 0; i < accepted.length; i++){
|
||||
let index = accepted[i];
|
||||
|
||||
filteredBuffer.set(
|
||||
bufferedAttribute.array.subarray(
|
||||
bufferedAttribute.itemSize * index,
|
||||
bufferedAttribute.itemSize * index + bufferedAttribute.itemSize),
|
||||
bufferedAttribute.itemSize * i)
|
||||
}
|
||||
}
|
||||
points.data[attribute] = filteredBuffer;
|
||||
|
||||
|
||||
}
|
||||
|
||||
points.data["mileage"] = new Float64Array(mileage);
|
||||
points.numPoints = accepted.length;
|
||||
|
||||
segment.points.add(points);
|
||||
|
||||
target.projectedBoundingBox.expandByPoint(new THREE.Vector2(0, target.boundingBox.min.y));
|
||||
target.projectedBoundingBox.expandByPoint(new THREE.Vector2(0, target.boundingBox.max.y));
|
||||
}
|
||||
|
||||
totalMileage += segment.length;
|
||||
}
|
||||
|
||||
for(let segment of target.segments){
|
||||
target.boundingBox.union(segment.points.boundingBox);
|
||||
}
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
this.cancel = function(){
|
||||
callback.onCancel();
|
||||
finishLevelThenCancel(){
|
||||
if(this.cancelRequested){
|
||||
return;
|
||||
}
|
||||
|
||||
this.maxDepth = this.highestLevelServed + 1;
|
||||
this.cancelRequested = true;
|
||||
|
||||
console.log(`maxDepth: ${this.maxDepth}`);
|
||||
};
|
||||
|
||||
cancel(){
|
||||
this.callback.onCancel();
|
||||
|
||||
this.priorityQueue = new BinaryHeap(function(x){return 1 / x.weight;});
|
||||
|
||||
var index = pointcloud.profileRequests.indexOf(this);
|
||||
let index = this.pointcloud.profileRequests.indexOf(this);
|
||||
if(index >= 0){
|
||||
pointcloud.profileRequests.splice(index, 1);
|
||||
this.pointcloud.profileRequests.splice(index, 1);
|
||||
}
|
||||
};
|
||||
|
||||
this.initialize();
|
||||
|
||||
};
|
||||
@ -25,7 +25,7 @@ Potree.WorkerPool = class WorkerPool{
|
||||
this.workers[url].push(worker);
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
Potree.workerPool = new Potree.WorkerPool();
|
||||
|
||||
|
||||
@ -450,8 +450,10 @@ Potree.PointCloudArena4D.prototype.pick = function(renderer, camera, ray, params
|
||||
|
||||
renderer.setRenderTarget( this.pickTarget );
|
||||
|
||||
renderer.state.setDepthTest( pickMaterial.depthTest );
|
||||
renderer.state.setDepthWrite( pickMaterial.depthWrite );
|
||||
//renderer.state.setDepthTest( pickMaterial.depthTest );
|
||||
//renderer.state.setDepthWrite( pickMaterial.depthWrite );
|
||||
renderer.state.buffers.depth.setTest(pickMaterial.depthTest);
|
||||
renderer.state.buffers.depth.setMask(pickMaterial.depthWrite);
|
||||
renderer.state.setBlending( THREE.NoBlending );
|
||||
|
||||
renderer.clear( renderer.autoClearColor, renderer.autoClearDepth, renderer.autoClearStencil );
|
||||
|
||||
52
src/exporter/CSVExporter.js
Normal file
@ -0,0 +1,52 @@
|
||||
|
||||
Potree.CSVExporter = class CSVExporter{
|
||||
|
||||
static toString(points){
|
||||
let string = "";
|
||||
|
||||
let attributes = Object.keys(points.data)
|
||||
.filter(a => a !== "normal")
|
||||
.sort((a, b) => {
|
||||
if(a === "position") return -1;
|
||||
if(b === "position") return 1;
|
||||
if(a === "color") return -1;
|
||||
if(b === "color") return 1;
|
||||
});
|
||||
|
||||
let headerValues = [];
|
||||
for(let attribute of attributes){
|
||||
let itemSize = points.data[attribute].length / points.numPoints;
|
||||
|
||||
if(attribute === "position"){
|
||||
headerValues = headerValues.concat(["x", "y", "z"]);
|
||||
}else if(attribute === "color"){
|
||||
headerValues = headerValues.concat(["r", "g", "b"]);
|
||||
}else if(itemSize > 1){
|
||||
for(let i = 0; i < itemSize; i++){
|
||||
headerValues.push(`${attribute}_${i}`);
|
||||
}
|
||||
}else{
|
||||
headerValues.push(attribute);
|
||||
}
|
||||
}
|
||||
string = headerValues.join(", ") + "\n";
|
||||
|
||||
for(let i = 0; i < points.numPoints; i++){
|
||||
|
||||
let values = [];
|
||||
|
||||
for(let attribute of attributes){
|
||||
let itemSize = points.data[attribute].length / points.numPoints;
|
||||
let value = points.data[attribute]
|
||||
.subarray(itemSize * i, itemSize * i + itemSize)
|
||||
.join(", ");
|
||||
values.push(value);
|
||||
}
|
||||
|
||||
string += values.join(", ") + "\n";
|
||||
}
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
};
|
||||
@ -8,109 +8,146 @@
|
||||
|
||||
Potree.DXFExporter = class DXFExporter{
|
||||
|
||||
static toString(measurement){
|
||||
let isLine = measurement.showDistances && !measurement.showArea && !measurement.showAngles;
|
||||
let isPolygon = measurement.showDistances && measurement.showArea && !measurement.showAngles;
|
||||
static measurementSection(measurement){
|
||||
|
||||
if (!isLine && !isPolygon) {
|
||||
return;
|
||||
if(measurement.points.length <= 1){
|
||||
return "";
|
||||
}
|
||||
|
||||
let geomCode = isLine ? 8 : 9;
|
||||
|
||||
let dxfBody = '0\n\
|
||||
SECTION\n\
|
||||
2\n\
|
||||
ENTITIES\n\
|
||||
0\n\
|
||||
POLYLINE\n\
|
||||
8\n\
|
||||
0\n\
|
||||
62\n\
|
||||
1\n\
|
||||
66\n\
|
||||
1\n\
|
||||
10\n\
|
||||
0.0\n\
|
||||
20\n\
|
||||
0.0\n\
|
||||
30\n\
|
||||
0.0\n\
|
||||
70\n\
|
||||
{geomCode}\n'.replace('{geomCode}', geomCode);
|
||||
|
||||
// bit code for polygons/polylines:
|
||||
// https://www.autodesk.com/techpubs/autocad/acad2000/dxf/polyline_dxf_06.htm
|
||||
let geomCode = 8;
|
||||
if(measurement.closed){
|
||||
geomCode += 1;
|
||||
}
|
||||
|
||||
let dxfSection = `0
|
||||
SECTION
|
||||
2
|
||||
ENTITIES
|
||||
0
|
||||
POLYLINE
|
||||
8
|
||||
0
|
||||
62
|
||||
1
|
||||
66
|
||||
1
|
||||
10
|
||||
0.0
|
||||
20
|
||||
0.0
|
||||
30
|
||||
0.0
|
||||
70
|
||||
${geomCode}
|
||||
`;
|
||||
|
||||
let xMax = 0.0;
|
||||
let yMax = 0.0;
|
||||
let zMax = 0.0;
|
||||
measurement.points.forEach(function (point) {
|
||||
for(let point of measurement.points){
|
||||
point = point.position;
|
||||
xMax = Math.max(xMax, point.x);
|
||||
yMax = Math.max(yMax, point.y);
|
||||
zMax = Math.max(zMax, point.z);
|
||||
dxfBody += '0\n\
|
||||
VERTEX\n\
|
||||
8\n\
|
||||
0\n\
|
||||
10\n\
|
||||
{X}\n\
|
||||
20\n\
|
||||
{Y}\n\
|
||||
30\n\
|
||||
{Z}\n\
|
||||
70\n\
|
||||
32\n'.replace('{X}', point.x)
|
||||
.replace('{Y}', point.y)
|
||||
.replace('{Z}', point.z);
|
||||
});
|
||||
|
||||
dxfSection += `0
|
||||
VERTEX
|
||||
8
|
||||
0
|
||||
10
|
||||
${point.x}
|
||||
20
|
||||
${point.y}
|
||||
30
|
||||
${point.z}
|
||||
70
|
||||
32
|
||||
`;
|
||||
|
||||
dxfBody += '0\n\
|
||||
SEQEND\n\
|
||||
0\n\
|
||||
ENDSEC\n';
|
||||
dxfSection += `0
|
||||
SEQEND
|
||||
0
|
||||
ENDSEC
|
||||
`;
|
||||
}
|
||||
|
||||
var dxfHeader = '999\n\
|
||||
DXF created from potree\n\
|
||||
0\n\
|
||||
SECTION\n\
|
||||
2\n\
|
||||
HEADER\n\
|
||||
9\n\
|
||||
$ACADVER\n\
|
||||
1\n\
|
||||
AC1006\n\
|
||||
9\n\
|
||||
$INSBASE\n\
|
||||
10\n\
|
||||
0.0\n\
|
||||
20\n\
|
||||
0.0\n\
|
||||
30\n\
|
||||
0.0\n\
|
||||
9\n\
|
||||
$EXTMIN\n\
|
||||
10\n\
|
||||
0.0\n\
|
||||
20\n\
|
||||
0.0\n\
|
||||
30\n\
|
||||
0\n\
|
||||
9\n\
|
||||
$EXTMAX\n\
|
||||
10\n\
|
||||
{xMax}\n\
|
||||
20\n\
|
||||
{yMax}\n\
|
||||
30\n\
|
||||
{zMax}\n\
|
||||
0\n\
|
||||
ENDSEC\n'.replace('{xMax}', xMax)
|
||||
.replace('{yMax}', yMax)
|
||||
.replace('{zMax}', zMax);
|
||||
|
||||
let dxf = dxfHeader + dxfBody + '0\n\
|
||||
EOF';
|
||||
|
||||
return dxf;
|
||||
return dxfSection;
|
||||
}
|
||||
|
||||
|
||||
static toString(measurements){
|
||||
|
||||
if(!(measurements instanceof Array)){
|
||||
measurements = [measurements];
|
||||
}
|
||||
measurements = measurements.filter(m => m instanceof Potree.Measure);
|
||||
|
||||
let points = measurements.filter(m => (m instanceof Potree.Measure))
|
||||
.map(m => m.points)
|
||||
.reduce((a, v) => a.concat(v))
|
||||
.map(p => p.position);
|
||||
|
||||
let min = new THREE.Vector3(Infinity, Infinity, Infinity);
|
||||
let max = new THREE.Vector3(-Infinity, -Infinity, -Infinity);
|
||||
for(let point of points){
|
||||
min.min(point);
|
||||
max.max(point);
|
||||
}
|
||||
|
||||
|
||||
|
||||
let dxfHeader = `999
|
||||
DXF created from potree
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
HEADER
|
||||
9
|
||||
$ACADVER
|
||||
1
|
||||
AC1006
|
||||
9
|
||||
$INSBASE
|
||||
10
|
||||
0.0
|
||||
20
|
||||
0.0
|
||||
30
|
||||
0.0
|
||||
9
|
||||
$EXTMIN
|
||||
10
|
||||
${min.x}
|
||||
20
|
||||
${min.y}
|
||||
30
|
||||
${min.z}
|
||||
9
|
||||
$EXTMAX
|
||||
10
|
||||
${max.x}
|
||||
20
|
||||
${max.y}
|
||||
30
|
||||
${max.z}
|
||||
0
|
||||
ENDSEC
|
||||
`;
|
||||
|
||||
let dxfBody = "";
|
||||
|
||||
for(let measurement of measurements){
|
||||
dxfBody += Potree.DXFExporter.measurementSection(measurement);
|
||||
}
|
||||
|
||||
let dxf = dxfHeader + dxfBody + '0\nEOF';
|
||||
|
||||
return dxf;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -8,67 +8,69 @@
|
||||
|
||||
Potree.GeoJSONExporter = class GeoJSONExporter{
|
||||
|
||||
static toString(measurement){
|
||||
|
||||
let geojson = {
|
||||
"type": "FeatureCollection",
|
||||
"features": []
|
||||
};
|
||||
|
||||
let isLine = measurement.showDistances && !measurement.showArea && !measurement.showAngles;
|
||||
let isPolygon = measurement.showDistances && measurement.showArea && !measurement.showAngles;
|
||||
|
||||
if(isLine){
|
||||
geojson.features.push({
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "LineString",
|
||||
"coordinates": []
|
||||
},
|
||||
"properties": {
|
||||
}
|
||||
});
|
||||
}else if (isPolygon) {
|
||||
geojson.features.push({
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": []
|
||||
},
|
||||
"properties": {
|
||||
}
|
||||
});
|
||||
}
|
||||
static measurementToFeatures(measurement){
|
||||
|
||||
let coords = measurement.points.map(e => e.position.toArray());
|
||||
|
||||
if(isLine){
|
||||
geojson.features[0].geometry.coordinates = coords;
|
||||
}else if(isPolygon){
|
||||
coords.push(coords[0]);
|
||||
geojson.features[0].geometry.coordinates.push(coords);
|
||||
}
|
||||
let features = [];
|
||||
|
||||
measurement.edgeLabels.forEach(function (label) {
|
||||
var labelPoint = {
|
||||
if(coords.length === 1){
|
||||
let feature = {
|
||||
type: 'Feature',
|
||||
geometry: {
|
||||
type: 'Point',
|
||||
coordinates: label.position.toArray(),
|
||||
coordinates: coords[0],
|
||||
},
|
||||
properties: {
|
||||
name: label.text
|
||||
name: measurement.name
|
||||
}
|
||||
};
|
||||
geojson.features.push(labelPoint);
|
||||
});
|
||||
|
||||
if (isLine) {
|
||||
// There is one point more than the number of edges.
|
||||
geojson.features.pop();
|
||||
features.push(feature);
|
||||
}else if(coords.length > 1 && !measurement.closed){
|
||||
let object = {
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "LineString",
|
||||
"coordinates": coords
|
||||
},
|
||||
"properties": {
|
||||
name: measurement.name
|
||||
}
|
||||
};
|
||||
|
||||
features.push(object);
|
||||
}else if(coords.length > 1 && measurement.closed){
|
||||
|
||||
let object = {
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [[...coords, coords[0]]]
|
||||
},
|
||||
"properties": {
|
||||
name: measurement.name
|
||||
}
|
||||
};
|
||||
features.push(object);
|
||||
}
|
||||
|
||||
if(measurement.showDistances){
|
||||
measurement.edgeLabels.forEach((label) => {
|
||||
let labelPoint = {
|
||||
type: 'Feature',
|
||||
geometry: {
|
||||
type: 'Point',
|
||||
coordinates: label.position.toArray(),
|
||||
},
|
||||
properties: {
|
||||
distance: label.text
|
||||
}
|
||||
};
|
||||
features.push(labelPoint);
|
||||
});
|
||||
}
|
||||
|
||||
if (isPolygon) {
|
||||
if(measurement.showArea){
|
||||
var point = measurement.areaLabel.position;
|
||||
var labelArea = {
|
||||
type: 'Feature',
|
||||
@ -77,13 +79,36 @@ Potree.GeoJSONExporter = class GeoJSONExporter{
|
||||
coordinates: point.toArray(),
|
||||
},
|
||||
properties: {
|
||||
name: measurement.areaLabel.text
|
||||
area: measurement.areaLabel.text
|
||||
}
|
||||
};
|
||||
geojson.features.push(labelArea);
|
||||
features.push(labelArea);
|
||||
}
|
||||
|
||||
return JSON.stringify(geojson);
|
||||
return features;
|
||||
}
|
||||
|
||||
static toString(measurements){
|
||||
|
||||
if(!(measurements instanceof Array)){
|
||||
measurements = [measurements];
|
||||
}
|
||||
|
||||
measurements = measurements.filter(m => m instanceof Potree.Measure);
|
||||
|
||||
let features = [];
|
||||
for(let measure of measurements){
|
||||
let f = Potree.GeoJSONExporter.measurementToFeatures(measure);
|
||||
|
||||
features = features.concat(f);
|
||||
}
|
||||
|
||||
let geojson = {
|
||||
"type": "FeatureCollection",
|
||||
"features": features
|
||||
};
|
||||
|
||||
return JSON.stringify(geojson, null, "\t");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
150
src/exporter/LASExporter.js
Normal file
@ -0,0 +1,150 @@
|
||||
|
||||
Potree.LASExporter = class LASExporter{
|
||||
|
||||
static toLAS(points){
|
||||
let string = "";
|
||||
|
||||
let boundingBox = points.boundingBox;
|
||||
let offset = boundingBox.min.clone();
|
||||
let diagonal = boundingBox.min.distanceTo(boundingBox.max);
|
||||
let scale = new THREE.Vector3(0.001, 0.001, 0.001);
|
||||
if(diagonal > 1000*1000){
|
||||
scale = new THREE.Vector3(0.01, 0.01, 0.01);
|
||||
}else{
|
||||
scale = new THREE.Vector3(0.001, 0.001, 0.001);
|
||||
}
|
||||
|
||||
let setString = function(string, offset, buffer){
|
||||
let view = new Uint8Array(buffer);
|
||||
|
||||
for(let i = 0; i < string.length; i++){
|
||||
let charCode = string.charCodeAt(i);
|
||||
view[offset + i] = charCode;
|
||||
}
|
||||
}
|
||||
|
||||
let buffer = new ArrayBuffer(227 + 28 * points.numPoints);
|
||||
let view = new DataView(buffer);
|
||||
let u8View = new Uint8Array(buffer);
|
||||
//let u16View = new Uint16Array(buffer);
|
||||
|
||||
setString("LASF", 0, buffer);
|
||||
u8View[24] = 1;
|
||||
u8View[25] = 2;
|
||||
|
||||
// system identifier o:26 l:32
|
||||
|
||||
// generating software o:58 l:32
|
||||
setString("Potree 1.5", 58, buffer);
|
||||
|
||||
// file creation day of year o:90 l:2
|
||||
// file creation year o:92 l:2
|
||||
|
||||
// header size o:94 l:2
|
||||
view.setUint16(94, 227, true);
|
||||
|
||||
// offset to point data o:96 l:4
|
||||
view.setUint32(96, 227, true);
|
||||
|
||||
// number of letiable length records o:100 l:4
|
||||
|
||||
// point data record format 104 1
|
||||
u8View[104] = 2;
|
||||
|
||||
// point data record length 105 2
|
||||
view.setUint16(105, 28, true);
|
||||
|
||||
// number of point records 107 4
|
||||
view.setUint32(107, points.numPoints, true);
|
||||
|
||||
// number of points by return 111 20
|
||||
|
||||
// x scale factor 131 8
|
||||
view.setFloat64(131, scale.x, true);
|
||||
|
||||
// y scale factor 139 8
|
||||
view.setFloat64(139, scale.y, true);
|
||||
|
||||
// z scale factor 147 8
|
||||
view.setFloat64(147, scale.z, true);
|
||||
|
||||
// x offset 155 8
|
||||
view.setFloat64(155, offset.x, true);
|
||||
|
||||
// y offset 163 8
|
||||
view.setFloat64(163, offset.y, true);
|
||||
|
||||
// z offset 171 8
|
||||
view.setFloat64(171, offset.z, true);
|
||||
|
||||
// max x 179 8
|
||||
view.setFloat64(179, boundingBox.max.x, true);
|
||||
|
||||
// min x 187 8
|
||||
view.setFloat64(187, boundingBox.min.x, true);
|
||||
|
||||
// max y 195 8
|
||||
view.setFloat64(195, boundingBox.max.y, true);
|
||||
|
||||
// min y 203 8
|
||||
view.setFloat64(203, boundingBox.min.y, true);
|
||||
|
||||
// max z 211 8
|
||||
view.setFloat64(211, boundingBox.max.z, true);
|
||||
|
||||
// min z 219 8
|
||||
view.setFloat64(219, boundingBox.min.z, true);
|
||||
|
||||
let boffset = 227;
|
||||
for(let i = 0; i < points.numPoints; i++){
|
||||
//let point = points[i];
|
||||
//let position = new THREE.Vector3(point.x, point.y, point.z);
|
||||
|
||||
let px = points.data.position[3*i + 0];
|
||||
let py = points.data.position[3*i + 1];
|
||||
let pz = points.data.position[3*i + 2];
|
||||
|
||||
let ux = parseInt((px - offset.x) / scale.x);
|
||||
let uy = parseInt((py - offset.y) / scale.y);
|
||||
let uz = parseInt((pz - offset.z) / scale.z);
|
||||
|
||||
view.setUint32(boffset + 0, ux, true);
|
||||
view.setUint32(boffset + 4, uy, true);
|
||||
view.setUint32(boffset + 8, uz, true);
|
||||
|
||||
if(points.data.intensity){
|
||||
view.setUint16(boffset + 12, (points.data.intensity[i]), true);
|
||||
}
|
||||
|
||||
let rt = 0;
|
||||
if(points.data.returnNumber){
|
||||
rt += points.data.returnNumber[i];
|
||||
}
|
||||
if(points.data.numberOfReturns){
|
||||
rt += (points.data.numberOfReturns[i] << 3);
|
||||
}
|
||||
view.setUint8(boffset + 14, rt);
|
||||
|
||||
if(points.data.classification){
|
||||
view.setUint8(boffset + 15, points.data.classification[i]);
|
||||
}
|
||||
// scan angle rank
|
||||
// user data
|
||||
// point source id
|
||||
if(points.data.pointSourceID){
|
||||
view.setUint16(boffset + 18, points.data.pointSourceID[i]);
|
||||
}
|
||||
|
||||
if(points.data.color){
|
||||
view.setUint16(boffset + 20, (points.data.color[3*i + 0] * 255), true);
|
||||
view.setUint16(boffset + 22, (points.data.color[3*i + 1] * 255), true);
|
||||
view.setUint16(boffset + 24, (points.data.color[3*i + 2] * 255), true);
|
||||
}
|
||||
|
||||
boffset += 28;
|
||||
}
|
||||
|
||||
return buffer;
|
||||
}
|
||||
|
||||
};
|
||||
@ -1,7 +1,11 @@
|
||||
|
||||
THREE.EventDispatcher.prototype.removeEventListeners = function(type){
|
||||
|
||||
if ( this._listeners === undefined ) return;
|
||||
if ( this._listeners === undefined ) {
|
||||
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
if ( this._listeners[ type ] ) {
|
||||
|
||||
|
||||
@ -15,22 +15,22 @@ Potree.BinaryLoader.prototype.load = function(node){
|
||||
return;
|
||||
}
|
||||
|
||||
var scope = this;
|
||||
let scope = this;
|
||||
|
||||
var url = node.getURL();
|
||||
let url = node.getURL();
|
||||
|
||||
if(this.version.equalOrHigher("1.4")){
|
||||
url += ".bin";
|
||||
}
|
||||
|
||||
var xhr = new XMLHttpRequest();
|
||||
let xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', url, true);
|
||||
xhr.responseType = 'arraybuffer';
|
||||
xhr.overrideMimeType('text/plain; charset=x-user-defined');
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === 4) {
|
||||
if (xhr.status === 200 || xhr.status === 0) {
|
||||
var buffer = xhr.response;
|
||||
let buffer = xhr.response;
|
||||
scope.parse(node, buffer);
|
||||
} else {
|
||||
console.log('Failed to load file! HTTP status: ' + xhr.status + ", file: " + url);
|
||||
@ -46,8 +46,8 @@ Potree.BinaryLoader.prototype.load = function(node){
|
||||
|
||||
Potree.BinaryLoader.prototype.parse = function(node, buffer){
|
||||
|
||||
var numPoints = buffer.byteLength / node.pcoGeometry.pointAttributes.byteSize;
|
||||
var pointAttributes = node.pcoGeometry.pointAttributes;
|
||||
let numPoints = buffer.byteLength / node.pcoGeometry.pointAttributes.byteSize;
|
||||
let pointAttributes = node.pcoGeometry.pointAttributes;
|
||||
|
||||
if(this.version.upTo("1.5")){
|
||||
node.numPoints = numPoints;
|
||||
@ -57,22 +57,22 @@ Potree.BinaryLoader.prototype.parse = function(node, buffer){
|
||||
let worker = Potree.workerPool.getWorker(workerPath);
|
||||
|
||||
worker.onmessage = function(e){
|
||||
var data = e.data;
|
||||
var buffers = data.attributeBuffers;
|
||||
var tightBoundingBox = new THREE.Box3(
|
||||
let data = e.data;
|
||||
let buffers = data.attributeBuffers;
|
||||
let tightBoundingBox = new THREE.Box3(
|
||||
new THREE.Vector3().fromArray(data.tightBoundingBox.min),
|
||||
new THREE.Vector3().fromArray(data.tightBoundingBox.max)
|
||||
);
|
||||
|
||||
Potree.workerPool.returnWorker(workerPath, worker);
|
||||
|
||||
var geometry = new THREE.BufferGeometry();
|
||||
let geometry = new THREE.BufferGeometry();
|
||||
|
||||
for(var property in buffers){
|
||||
for(let property in buffers){
|
||||
if(buffers.hasOwnProperty(property)){
|
||||
var buffer = buffers[property].buffer;
|
||||
var attribute = buffers[property].attribute;
|
||||
var numElements = attribute.numElements;
|
||||
let buffer = buffers[property].buffer;
|
||||
let attribute = buffers[property].attribute;
|
||||
let numElements = attribute.numElements;
|
||||
|
||||
if(parseInt(property) === Potree.PointAttributeNames.POSITION_CARTESIAN){
|
||||
geometry.addAttribute("position", new THREE.BufferAttribute(new Float32Array(buffer), 3));
|
||||
@ -91,10 +91,12 @@ Potree.BinaryLoader.prototype.parse = function(node, buffer){
|
||||
}
|
||||
}
|
||||
}
|
||||
geometry.addAttribute("indices", new THREE.BufferAttribute(new Float32Array(data.indices), 1));
|
||||
let indicesAttribute = new THREE.Uint8BufferAttribute(data.indices, 4);
|
||||
indicesAttribute.normalized = true;
|
||||
geometry.addAttribute("indices", indicesAttribute);
|
||||
|
||||
if(!geometry.attributes.normal){
|
||||
var buffer = new Float32Array(numPoints*3);
|
||||
let buffer = new Float32Array(numPoints*3);
|
||||
geometry.addAttribute("normal", new THREE.BufferAttribute(new Float32Array(buffer), 3));
|
||||
}
|
||||
|
||||
@ -102,13 +104,14 @@ Potree.BinaryLoader.prototype.parse = function(node, buffer){
|
||||
//geometry.boundingBox = tightBoundingBox;
|
||||
node.geometry = geometry;
|
||||
//node.boundingBox = tightBoundingBox;
|
||||
//node.position.copy(node.boundingBox.min);
|
||||
node.tightBoundingBox = tightBoundingBox;
|
||||
node.loaded = true;
|
||||
node.loading = false;
|
||||
node.pcoGeometry.numNodesLoading--;
|
||||
};
|
||||
|
||||
var message = {
|
||||
let message = {
|
||||
buffer: buffer,
|
||||
pointAttributes: pointAttributes,
|
||||
version: this.version.version,
|
||||
|
||||
@ -5,131 +5,136 @@
|
||||
* @author Oscar Martinez Rubi
|
||||
* @author Connor Manning
|
||||
*/
|
||||
var getQueryParam = function(name) {
|
||||
name = name.replace(/[\[\]]/g, "\\$&");
|
||||
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
|
||||
results = regex.exec(window.location.href);
|
||||
if (!results) return null;
|
||||
if (!results[2]) return '';
|
||||
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
||||
}
|
||||
|
||||
class GreyhoundUtils{
|
||||
|
||||
static getQueryParam(name) {
|
||||
name = name.replace(/[\[\]]/g, "\\$&");
|
||||
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
|
||||
results = regex.exec(window.location.href);
|
||||
if (!results) return null;
|
||||
if (!results[2]) return '';
|
||||
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
||||
}
|
||||
|
||||
static createSchema(attributes) {
|
||||
var schema = [
|
||||
{ "name": "X", "size": 4, "type": "signed" },
|
||||
{ "name": "Y", "size": 4, "type": "signed" },
|
||||
{ "name": "Z", "size": 4, "type": "signed" }
|
||||
];
|
||||
|
||||
// Once we include options in the UI to load a dynamic list of available
|
||||
// attributes for visualization (f.e. Classification, Intensity etc.)
|
||||
// we will be able to ask for that specific attribute from the server,
|
||||
// where we are now requesting all attributes for all points all the time.
|
||||
// If we do that though, we also need to tell Potree to redraw the points
|
||||
// that are already loaded (with different attributes).
|
||||
// This is not default behaviour.
|
||||
attributes.forEach(function(item) {
|
||||
if(item === 'COLOR_PACKED') {
|
||||
schema.push({ "name": "Red", "size": 2, "type": "unsigned" });
|
||||
schema.push({ "name": "Green", "size": 2, "type": "unsigned" });
|
||||
schema.push({ "name": "Blue", "size": 2, "type": "unsigned" });
|
||||
} else if(item === 'INTENSITY'){
|
||||
schema.push({ "name": "Intensity", "size": 2, "type": "unsigned" });
|
||||
} else if(item === 'CLASSIFICATION') {
|
||||
schema.push(
|
||||
{ "name": "Classification", "size": 1, "type": "unsigned" });
|
||||
}
|
||||
});
|
||||
|
||||
return schema;
|
||||
}
|
||||
|
||||
static fetch(url, cb) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', url, true);
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === 4) {
|
||||
if (xhr.status === 200 || xhr.status === 0) {
|
||||
cb(null, xhr.responseText);
|
||||
}
|
||||
else {
|
||||
cb(xhr.responseText);
|
||||
}
|
||||
}
|
||||
};
|
||||
xhr.send(null);
|
||||
};
|
||||
|
||||
static fetchBinary(url, cb) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', url, true);
|
||||
xhr.responseType = 'arraybuffer';
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === 4) {
|
||||
if (xhr.status === 200 || xhr.status === 0) {
|
||||
cb(null, xhr.response);
|
||||
}
|
||||
else {
|
||||
cb(xhr.responseText);
|
||||
}
|
||||
}
|
||||
};
|
||||
xhr.send(null);
|
||||
};
|
||||
|
||||
static pointSizeFrom(schema) {
|
||||
return schema.reduce((p, c) => p + c.size, 0);
|
||||
};
|
||||
|
||||
static getNormalization(serverURL, baseDepth, cb) {
|
||||
var s = [
|
||||
{ "name": "X", "size": 4, "type": "floating" },
|
||||
{ "name": "Y", "size": 4, "type": "floating" },
|
||||
{ "name": "Z", "size": 4, "type": "floating" },
|
||||
{ "name": "Red", "size": 2, "type": "unsigned" },
|
||||
{ "name": "Green", "size": 2, "type": "unsigned" },
|
||||
{ "name": "Blue", "size": 2, "type": "unsigned" },
|
||||
{ "name": "Intensity", "size": 2, "type": "unsigned" }
|
||||
];
|
||||
|
||||
var url = serverURL + 'read?depth=' + baseDepth +
|
||||
'&schema=' + JSON.stringify(s);
|
||||
|
||||
GreyhoundUtils.fetchBinary(url, function(err, buffer) {
|
||||
if (err) throw new Error(err);
|
||||
|
||||
var view = new DataView(buffer);
|
||||
var numBytes = buffer.byteLength - 4;
|
||||
var numPoints = view.getUint32(numBytes, true);
|
||||
var pointSize = GreyhoundUtils.pointSizeFrom(s);
|
||||
|
||||
var colorNorm = false, intensityNorm = false;
|
||||
var v;
|
||||
|
||||
for (var offset = 0; offset < numBytes; offset += pointSize) {
|
||||
if (view.getUint16(offset + 12, true) > 255 ||
|
||||
view.getUint16(offset + 14, true) > 255 ||
|
||||
view.getUint16(offset + 16, true) > 255) {
|
||||
colorNorm = true;
|
||||
}
|
||||
|
||||
if (view.getUint16(offset + 18, true) > 255) {
|
||||
intensityNorm = true;
|
||||
}
|
||||
|
||||
if (colorNorm && intensityNorm) break;
|
||||
}
|
||||
|
||||
if (colorNorm) console.log('Normalizing color');
|
||||
if (intensityNorm) console.log('Normalizing intensity');
|
||||
|
||||
cb(null, { color: colorNorm, intensity: intensityNorm });
|
||||
});
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Potree.GreyhoundLoader = function() { };
|
||||
Potree.GreyhoundLoader.loadInfoJSON = function load(url, callback) { }
|
||||
|
||||
var createSchema = function(attributes) {
|
||||
var schema = [
|
||||
{ "name": "X", "size": 4, "type": "signed" },
|
||||
{ "name": "Y", "size": 4, "type": "signed" },
|
||||
{ "name": "Z", "size": 4, "type": "signed" }
|
||||
];
|
||||
|
||||
// Once we include options in the UI to load a dynamic list of available
|
||||
// attributes for visualization (f.e. Classification, Intensity etc.)
|
||||
// we will be able to ask for that specific attribute from the server,
|
||||
// where we are now requesting all attributes for all points all the time.
|
||||
// If we do that though, we also need to tell Potree to redraw the points
|
||||
// that are already loaded (with different attributes).
|
||||
// This is not default behaviour.
|
||||
attributes.forEach(function(item) {
|
||||
if(item === 'COLOR_PACKED') {
|
||||
schema.push({ "name": "Red", "size": 2, "type": "unsigned" });
|
||||
schema.push({ "name": "Green", "size": 2, "type": "unsigned" });
|
||||
schema.push({ "name": "Blue", "size": 2, "type": "unsigned" });
|
||||
} else if(item === 'INTENSITY'){
|
||||
schema.push({ "name": "Intensity", "size": 2, "type": "unsigned" });
|
||||
} else if(item === 'CLASSIFICATION') {
|
||||
schema.push(
|
||||
{ "name": "Classification", "size": 1, "type": "unsigned" });
|
||||
}
|
||||
});
|
||||
|
||||
return schema;
|
||||
}
|
||||
|
||||
var fetch = function(url, cb) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', url, true);
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === 4) {
|
||||
if (xhr.status === 200 || xhr.status === 0) {
|
||||
cb(null, xhr.responseText);
|
||||
}
|
||||
else {
|
||||
cb(xhr.responseText);
|
||||
}
|
||||
}
|
||||
};
|
||||
xhr.send(null);
|
||||
};
|
||||
|
||||
var fetchBinary = function(url, cb) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', url, true);
|
||||
xhr.responseType = 'arraybuffer';
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === 4) {
|
||||
if (xhr.status === 200 || xhr.status === 0) {
|
||||
cb(null, xhr.response);
|
||||
}
|
||||
else {
|
||||
cb(xhr.responseText);
|
||||
}
|
||||
}
|
||||
};
|
||||
xhr.send(null);
|
||||
};
|
||||
|
||||
var pointSizeFrom = function(schema) {
|
||||
return schema.reduce((p, c) => p + c.size, 0);
|
||||
};
|
||||
|
||||
var getNormalization = function(serverURL, baseDepth, cb) {
|
||||
var s = [
|
||||
{ "name": "X", "size": 4, "type": "floating" },
|
||||
{ "name": "Y", "size": 4, "type": "floating" },
|
||||
{ "name": "Z", "size": 4, "type": "floating" },
|
||||
{ "name": "Red", "size": 2, "type": "unsigned" },
|
||||
{ "name": "Green", "size": 2, "type": "unsigned" },
|
||||
{ "name": "Blue", "size": 2, "type": "unsigned" },
|
||||
{ "name": "Intensity", "size": 2, "type": "unsigned" }
|
||||
];
|
||||
|
||||
var url = serverURL + 'read?depth=' + baseDepth +
|
||||
'&schema=' + JSON.stringify(s);
|
||||
|
||||
fetchBinary(url, function(err, buffer) {
|
||||
if (err) throw new Error(err);
|
||||
|
||||
var view = new DataView(buffer);
|
||||
var numBytes = buffer.byteLength - 4;
|
||||
var numPoints = view.getUint32(numBytes, true);
|
||||
var pointSize = pointSizeFrom(s);
|
||||
|
||||
var colorNorm = false, intensityNorm = false;
|
||||
var v;
|
||||
|
||||
for (var offset = 0; offset < numBytes; offset += pointSize) {
|
||||
if (view.getUint16(offset + 12, true) > 255 ||
|
||||
view.getUint16(offset + 14, true) > 255 ||
|
||||
view.getUint16(offset + 16, true) > 255) {
|
||||
colorNorm = true;
|
||||
}
|
||||
|
||||
if (view.getUint16(18, true) > 255) {
|
||||
intensityNorm = true;
|
||||
}
|
||||
|
||||
if (colorNorm && intensityNorm) break;
|
||||
}
|
||||
|
||||
if (colorNorm) console.log('Normalizing color');
|
||||
if (intensityNorm) console.log('Normalizing intensity');
|
||||
|
||||
cb(null, { color: colorNorm, intensity: intensityNorm });
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* @return a point cloud octree with the root node data loaded.
|
||||
* loading of descendants happens asynchronously when they're needed
|
||||
@ -148,7 +153,7 @@ Potree.GreyhoundLoader.load = function load(url, callback) {
|
||||
serverURL = 'http://' + serverURL;
|
||||
}
|
||||
|
||||
fetch(serverURL + 'info', function(err, data) {
|
||||
GreyhoundUtils.fetch(serverURL + 'info', function(err, data) {
|
||||
if (err) throw new Error(err);
|
||||
|
||||
/* We parse the result of the info query, which should be a JSON
|
||||
@ -187,8 +192,8 @@ Potree.GreyhoundLoader.load = function load(url, callback) {
|
||||
scale = Math.min(scale[0], scale[1], scale[2]);
|
||||
}
|
||||
|
||||
if (getQueryParam('scale')) {
|
||||
scale = parseFloat(getQueryParam('scale'));
|
||||
if (GreyhoundUtils.getQueryParam('scale')) {
|
||||
scale = parseFloat(GreyhoundUtils.getQueryParam('scale'));
|
||||
}
|
||||
|
||||
var baseDepth = Math.max(8, greyhoundInfo.baseDepth);
|
||||
@ -232,8 +237,8 @@ Potree.GreyhoundLoader.load = function load(url, callback) {
|
||||
pgg.baseDepth = baseDepth;
|
||||
pgg.hierarchyStepSize = HIERARCHY_STEP_SIZE;
|
||||
|
||||
pgg.schema = createSchema(attributes);
|
||||
var pointSize = pointSizeFrom(pgg.schema);
|
||||
pgg.schema = GreyhoundUtils.createSchema(attributes);
|
||||
var pointSize = GreyhoundUtils.pointSizeFrom(pgg.schema);
|
||||
|
||||
pgg.pointAttributes = new Potree.PointAttributes(attributes);
|
||||
pgg.pointAttributes.byteSize = pointSize;
|
||||
@ -281,7 +286,7 @@ Potree.GreyhoundLoader.load = function load(url, callback) {
|
||||
|
||||
pgg.nodes = nodes;
|
||||
|
||||
getNormalization(serverURL, greyhoundInfo.baseDepth,
|
||||
GreyhoundUtils.getNormalization(serverURL, greyhoundInfo.baseDepth,
|
||||
function(err, normalize) {
|
||||
if (normalize.color) pgg.normalize.color = true;
|
||||
if (normalize.intensity) pgg.normalize.intensity = true;
|
||||
|
||||
@ -152,7 +152,7 @@ Potree.LasLazLoader.prototype.handle = function(node, url){
|
||||
Potree.LasLazBatcher = function(node){
|
||||
this.push = function(lasBuffer){
|
||||
|
||||
let workerPath = Potree.scriptPath + "/workers/lasdecoder-worker.js";
|
||||
let workerPath = Potree.scriptPath + "/workers/LASDecoderWorker.js";
|
||||
let worker = Potree.workerPool.getWorker(workerPath);
|
||||
|
||||
var mins = new THREE.Vector3(lasBuffer.mins[0], lasBuffer.mins[1], lasBuffer.mins[2]);
|
||||
|
||||
@ -19,16 +19,16 @@ Potree.POCLoader = function(){
|
||||
*/
|
||||
Potree.POCLoader.load = function load(url, callback) {
|
||||
try{
|
||||
var pco = new Potree.PointCloudOctreeGeometry();
|
||||
let pco = new Potree.PointCloudOctreeGeometry();
|
||||
pco.url = url;
|
||||
var xhr = new XMLHttpRequest();
|
||||
let xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', url, true);
|
||||
|
||||
xhr.onreadystatechange = function(){
|
||||
if(xhr.readyState === 4 && (xhr.status === 200 || xhr.status === 0)){
|
||||
var fMno = JSON.parse(xhr.responseText);
|
||||
let fMno = JSON.parse(xhr.responseText);
|
||||
|
||||
var version = new Potree.Version(fMno.version);
|
||||
let version = new Potree.Version(fMno.version);
|
||||
|
||||
// assume octreeDir is absolute if it starts with http
|
||||
if(fMno.octreeDir.indexOf("http") === 0){
|
||||
@ -42,10 +42,10 @@ Potree.POCLoader.load = function load(url, callback) {
|
||||
|
||||
pco.pointAttributes = fMno.pointAttributes;
|
||||
|
||||
var min = new THREE.Vector3(fMno.boundingBox.lx, fMno.boundingBox.ly, fMno.boundingBox.lz);
|
||||
var max = new THREE.Vector3(fMno.boundingBox.ux, fMno.boundingBox.uy, fMno.boundingBox.uz);
|
||||
var boundingBox = new THREE.Box3(min, max);
|
||||
var tightBoundingBox = boundingBox.clone();
|
||||
let min = new THREE.Vector3(fMno.boundingBox.lx, fMno.boundingBox.ly, fMno.boundingBox.lz);
|
||||
let max = new THREE.Vector3(fMno.boundingBox.ux, fMno.boundingBox.uy, fMno.boundingBox.uz);
|
||||
let boundingBox = new THREE.Box3(min, max);
|
||||
let tightBoundingBox = boundingBox.clone();
|
||||
|
||||
if(fMno.tightBoundingBox){
|
||||
tightBoundingBox.min.copy(new THREE.Vector3(fMno.tightBoundingBox.lx, fMno.tightBoundingBox.ly, fMno.tightBoundingBox.lz));
|
||||
@ -75,12 +75,12 @@ Potree.POCLoader.load = function load(url, callback) {
|
||||
pco.pointAttributes = new Potree.PointAttributes(pco.pointAttributes);
|
||||
}
|
||||
|
||||
var nodes = {};
|
||||
let nodes = {};
|
||||
|
||||
{ // load root
|
||||
var name = "r";
|
||||
let name = "r";
|
||||
|
||||
var root = new Potree.PointCloudOctreeGeometryNode(name, pco, boundingBox);
|
||||
let root = new Potree.PointCloudOctreeGeometryNode(name, pco, boundingBox);
|
||||
root.level = 0;
|
||||
root.hasChildren = true;
|
||||
root.spacing = pco.spacing;
|
||||
@ -96,16 +96,16 @@ Potree.POCLoader.load = function load(url, callback) {
|
||||
|
||||
// load remaining hierarchy
|
||||
if(version.upTo("1.4")){
|
||||
for( var i = 1; i < fMno.hierarchy.length; i++){
|
||||
var name = fMno.hierarchy[i][0];
|
||||
var numPoints = fMno.hierarchy[i][1];
|
||||
var index = parseInt(name.charAt(name.length-1));
|
||||
var parentName = name.substring(0, name.length-1);
|
||||
var parentNode = nodes[parentName];
|
||||
var level = name.length-1;
|
||||
var boundingBox = Potree.POCLoader.createChildAABB(parentNode.boundingBox, index);
|
||||
for( let i = 1; i < fMno.hierarchy.length; i++){
|
||||
let name = fMno.hierarchy[i][0];
|
||||
let numPoints = fMno.hierarchy[i][1];
|
||||
let index = parseInt(name.charAt(name.length-1));
|
||||
let parentName = name.substring(0, name.length-1);
|
||||
let parentNode = nodes[parentName];
|
||||
let level = name.length-1;
|
||||
let boundingBox = Potree.POCLoader.createChildAABB(parentNode.boundingBox, index);
|
||||
|
||||
var node = new Potree.PointCloudOctreeGeometryNode(name, pco, boundingBox);
|
||||
let node = new Potree.PointCloudOctreeGeometryNode(name, pco, boundingBox);
|
||||
node.level = level;
|
||||
node.numPoints = numPoints;
|
||||
node.spacing = pco.spacing / Math.pow(2, level);
|
||||
@ -131,11 +131,11 @@ Potree.POCLoader.load = function load(url, callback) {
|
||||
|
||||
Potree.POCLoader.loadPointAttributes = function(mno){
|
||||
|
||||
var fpa = mno.pointAttributes;
|
||||
var pa = new Potree.PointAttributes();
|
||||
let fpa = mno.pointAttributes;
|
||||
let pa = new Potree.PointAttributes();
|
||||
|
||||
for(var i = 0; i < fpa.length; i++){
|
||||
var pointAttribute = Potree.PointAttribute[fpa[i]];
|
||||
for(let i = 0; i < fpa.length; i++){
|
||||
let pointAttribute = Potree.PointAttribute[fpa[i]];
|
||||
pa.add(pointAttribute);
|
||||
}
|
||||
|
||||
@ -143,43 +143,28 @@ Potree.POCLoader.loadPointAttributes = function(mno){
|
||||
};
|
||||
|
||||
|
||||
Potree.POCLoader.createChildAABB = function(aabb, childIndex){
|
||||
var V3 = THREE.Vector3;
|
||||
var min = aabb.min;
|
||||
var max = aabb.max;
|
||||
var dHalfLength = new THREE.Vector3().copy(max).sub(min).multiplyScalar(0.5);
|
||||
var xHalfLength = new THREE.Vector3(dHalfLength.x, 0, 0);
|
||||
var yHalfLength = new THREE.Vector3(0, dHalfLength.y, 0);
|
||||
var zHalfLength = new THREE.Vector3(0, 0, dHalfLength.z);
|
||||
|
||||
var cmin = min;
|
||||
var cmax = new THREE.Vector3().add(min).add(dHalfLength);
|
||||
|
||||
var min, max;
|
||||
if (childIndex === 1) {
|
||||
min = new THREE.Vector3().copy(cmin).add(zHalfLength);
|
||||
max = new THREE.Vector3().copy(cmax).add(zHalfLength);
|
||||
}else if (childIndex === 3) {
|
||||
min = new THREE.Vector3().copy(cmin).add(zHalfLength).add(yHalfLength);
|
||||
max = new THREE.Vector3().copy(cmax).add(zHalfLength).add(yHalfLength);
|
||||
}else if (childIndex === 0) {
|
||||
min = cmin;
|
||||
max = cmax;
|
||||
}else if (childIndex === 2) {
|
||||
min = new THREE.Vector3().copy(cmin).add(yHalfLength);
|
||||
max = new THREE.Vector3().copy(cmax).add(yHalfLength);
|
||||
}else if (childIndex === 5) {
|
||||
min = new THREE.Vector3().copy(cmin).add(zHalfLength).add(xHalfLength);
|
||||
max = new THREE.Vector3().copy(cmax).add(zHalfLength).add(xHalfLength);
|
||||
}else if (childIndex === 7) {
|
||||
min = new THREE.Vector3().copy(cmin).add(dHalfLength);
|
||||
max = new THREE.Vector3().copy(cmax).add(dHalfLength);
|
||||
}else if (childIndex === 4) {
|
||||
min = new THREE.Vector3().copy(cmin).add(xHalfLength);
|
||||
max = new THREE.Vector3().copy(cmax).add(xHalfLength);
|
||||
}else if (childIndex === 6) {
|
||||
min = new THREE.Vector3().copy(cmin).add(xHalfLength).add(yHalfLength);
|
||||
max = new THREE.Vector3().copy(cmax).add(xHalfLength).add(yHalfLength);
|
||||
Potree.POCLoader.createChildAABB = function(aabb, index){
|
||||
|
||||
let min = aabb.min.clone();
|
||||
let max = aabb.max.clone();
|
||||
let size = new THREE.Vector3().subVectors(max, min);
|
||||
|
||||
if((index & 0b0001) > 0){
|
||||
min.z += size.z / 2;
|
||||
}else{
|
||||
max.z -= size.z / 2;
|
||||
}
|
||||
|
||||
if((index & 0b0010) > 0){
|
||||
min.y += size.y / 2;
|
||||
}else{
|
||||
max.y -= size.y / 2;
|
||||
}
|
||||
|
||||
if((index & 0b0100) > 0){
|
||||
min.x += size.x / 2;
|
||||
}else{
|
||||
max.x -= size.x / 2;
|
||||
}
|
||||
|
||||
return new THREE.Box3(min, max);
|
||||
|
||||
@ -23,7 +23,7 @@ Potree.EyeDomeLightingMaterial = function(parameters){
|
||||
this.neighbours[2*c+1] = Math.sin(2 * c * Math.PI / this.neighbourCount);
|
||||
}
|
||||
|
||||
var lightDir = new THREE.Vector3(0.0, 0.0, 1.0).normalize();
|
||||
//var lightDir = new THREE.Vector3(0.0, 0.0, 1.0).normalize();
|
||||
|
||||
var uniforms = {
|
||||
screenWidth: { type: "f", value: 0 },
|
||||
@ -59,17 +59,19 @@ Potree.EyeDomeLightingMaterial.prototype.getDefines = function(){
|
||||
|
||||
Potree.EyeDomeLightingMaterial.prototype.updateShaderSource = function(){
|
||||
var attributes = {};
|
||||
if(this.pointColorType === Potree.PointColorType.INTENSITY
|
||||
|| this.pointColorType === Potree.PointColorType.INTENSITY_GRADIENT){
|
||||
|
||||
let PC = Potree.PointColorType;
|
||||
|
||||
if([PC.INTENSITY, PC.INTENSITY_GRADIENT].includes(this.pointColorType)){
|
||||
attributes.intensity = { type: "f", value: [] };
|
||||
}else if(this.pointColorType === Potree.PointColorType.CLASSIFICATION){
|
||||
}else if(this.pointColorType === PC.CLASSIFICATION){
|
||||
//attributes.classification = { type: "f", value: [] };
|
||||
}else if(this.pointColorType === Potree.PointColorType.RETURN_NUMBER){
|
||||
}else if(this.pointColorType === PC.RETURN_NUMBER){
|
||||
attributes.returnNumber = { type: "f", value: [] };
|
||||
attributes.numberOfReturns = { type: "f", value: [] };
|
||||
}else if(this.pointColorType === Potree.PointColorType.SOURCE){
|
||||
}else if(this.pointColorType === PC.SOURCE){
|
||||
attributes.pointSourceID = { type: "f", value: [] };
|
||||
}else if(this.pointColorType === Potree.PointColorType.NORMAL || this.pointColorType === Potree.PointColorType.PHONG){
|
||||
}else if(this.pointColorType === PC.NORMAL || this.pointColorType === Potree.PointColorType.PHONG){
|
||||
attributes.normal = { type: "f", value: [] };
|
||||
}
|
||||
attributes.classification = { type: "f", value: 0 };
|
||||
@ -85,7 +87,7 @@ Potree.EyeDomeLightingMaterial.prototype.updateShaderSource = function(){
|
||||
this.uniforms.neighbours.value = this.neighbours;
|
||||
|
||||
this.needsUpdate = true;
|
||||
}
|
||||
};
|
||||
|
||||
Object.defineProperty(Potree.EyeDomeLightingMaterial.prototype, "neighbourCount", {
|
||||
get: function(){
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
precision mediump float;
|
||||
precision mediump int;
|
||||
|
||||
#if defined use_interpolation
|
||||
#if defined paraboloid_point_shape
|
||||
#extension GL_EXT_frag_depth : enable
|
||||
#endif
|
||||
|
||||
@ -40,7 +40,7 @@ void main() {
|
||||
vec3 color = vColor;
|
||||
float depth = gl_FragCoord.z;
|
||||
|
||||
#if defined(circle_point_shape) || defined(use_interpolation) || defined (weighted_splats)
|
||||
#if defined(circle_point_shape) || defined(paraboloid_point_shape) || defined (weighted_splats)
|
||||
float u = 2.0 * gl_PointCoord.x - 1.0;
|
||||
float v = 2.0 * gl_PointCoord.y - 1.0;
|
||||
#endif
|
||||
@ -201,7 +201,7 @@ void main() {
|
||||
gl_FragColor.a = w;
|
||||
#endif
|
||||
|
||||
#if defined use_interpolation
|
||||
#if defined paraboloid_point_shape
|
||||
float wi = 0.0 - ( u*u + v*v);
|
||||
vec4 pos = vec4(vViewPosition, 1.0);
|
||||
pos.z += wi * vRadius;
|
||||
|
||||
@ -16,6 +16,7 @@ attribute float returnNumber;
|
||||
attribute float numberOfReturns;
|
||||
attribute float pointSourceID;
|
||||
attribute vec4 indices;
|
||||
//attribute float indices;
|
||||
|
||||
uniform mat4 modelMatrix;
|
||||
uniform mat4 modelViewMatrix;
|
||||
@ -23,6 +24,7 @@ uniform mat4 projectionMatrix;
|
||||
uniform mat4 viewMatrix;
|
||||
uniform mat3 normalMatrix;
|
||||
|
||||
//uniform mat4 toModel;
|
||||
|
||||
uniform float screenWidth;
|
||||
uniform float screenHeight;
|
||||
@ -33,14 +35,11 @@ uniform float far;
|
||||
|
||||
#if defined use_clip_box
|
||||
uniform mat4 clipBoxes[max_clip_boxes];
|
||||
uniform vec3 clipBoxPositions[max_clip_boxes];
|
||||
#endif
|
||||
|
||||
|
||||
uniform float heightMin;
|
||||
uniform float heightMax;
|
||||
uniform float intensityMin;
|
||||
uniform float intensityMax;
|
||||
uniform float size; // pixel size factor
|
||||
uniform float minSize; // minimum pixel size
|
||||
uniform float maxSize; // maximum pixel size
|
||||
@ -49,6 +48,8 @@ uniform vec3 bbSize;
|
||||
uniform vec3 uColor;
|
||||
uniform float opacity;
|
||||
uniform float clipBoxCount;
|
||||
uniform float level;
|
||||
uniform float vnStart;
|
||||
|
||||
uniform vec2 intensityRange;
|
||||
uniform float intensityGamma;
|
||||
@ -118,14 +119,16 @@ bool isBitSet(float number, float index){
|
||||
* find the LOD at the point position
|
||||
*/
|
||||
float getLOD(){
|
||||
|
||||
vec3 offset = vec3(0.0, 0.0, 0.0);
|
||||
float iOffset = 0.0;
|
||||
float depth = 0.0;
|
||||
for(float i = 0.0; i <= 1000.0; i++){
|
||||
float nodeSizeAtLevel = octreeSize / pow(2.0, i);
|
||||
vec3 index3d = (position - offset) / nodeSizeAtLevel;
|
||||
float iOffset = vnStart;
|
||||
float depth = level;
|
||||
for(float i = 0.0; i <= 30.0; i++){
|
||||
float nodeSizeAtLevel = octreeSize / pow(2.0, i + level + 0.0);
|
||||
|
||||
vec3 index3d = (position-offset) / nodeSizeAtLevel;
|
||||
index3d = floor(index3d + 0.5);
|
||||
float index = 4.0*index3d.x + 2.0*index3d.y + index3d.z;
|
||||
float index = 4.0 * index3d.x + 2.0 * index3d.y + index3d.z;
|
||||
|
||||
vec4 value = texture2D(visibleNodes, vec2(iOffset / 2048.0, 0.0));
|
||||
float mask = value.r * 255.0;
|
||||
@ -137,7 +140,9 @@ float getLOD(){
|
||||
// no more visible child nodes at this position
|
||||
return depth;
|
||||
}
|
||||
|
||||
offset = offset + (vec3(1.0, 1.0, 1.0) * nodeSizeAtLevel * 0.5) * index3d;
|
||||
|
||||
}
|
||||
|
||||
return depth;
|
||||
@ -348,10 +353,16 @@ void main() {
|
||||
vColor = uColor;
|
||||
#elif defined color_type_lod
|
||||
float depth = getLOD();
|
||||
float w = depth / 10.0;
|
||||
float w = depth / 5.0;
|
||||
vColor = texture2D(gradient, vec2(w,1.0-w)).rgb;
|
||||
#elif defined color_type_point_index
|
||||
//vColor = indices.rgb * 255.0;
|
||||
vColor = indices.rgb;
|
||||
|
||||
//vColor.r = mod(indices, 256.0) / 255.0;
|
||||
//vColor.g = mod(indices / 256.0, 256.0) / 255.0;
|
||||
//vColor.b = 0.0;
|
||||
|
||||
#elif defined color_type_classification
|
||||
vColor = cl.rgb;
|
||||
#elif defined color_type_return_number
|
||||
@ -431,5 +442,7 @@ void main() {
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
//vColor = indices.rgb * 255.0;
|
||||
|
||||
}
|
||||
|
||||