Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 316ce4a2 authored by bernie wang's avatar bernie wang
Browse files

added gifs

parent 6da5c451
This image diff could not be displayed because it is too large. You can view the blob instead.
......@@ -21,7 +21,7 @@
<!-- <li><a href="#" id="save"><i class="fa fa-floppy-o"></i></a></li> -->
<li><a href="#" id="next_frame"><i class="fas fa-caret-square-right">Next Frame</i></a></li>
<li><a href="#" class="selected" id="move"><i class="fa material-icons">3d_rotation</i></a></li>
<li><a href="#" id="move2D"><i class="fa fa-arrows"></i></a></li>
<li><a href="#" id="move2D"><i class="fa fa-pencil"></i></a></li>
<!-- <li><a href="#" id="ids"><i class="fa fa-pencil"></i></a></li> -->
<li>
<button type='button' id='record' style="display: none;">Click to start recording</button>
......@@ -51,7 +51,7 @@
<div id="container"></div>
<div id="info">LiDAR Annotator</div>
<div id="draw_bounding_box_reminder"><p></p></div>
<div id="footer"><p></p></div>
......
......@@ -52,7 +52,7 @@ var id = 0;
// animate();
var mean, sd, filteredIntensities, min, max, intensities, colors;
var selected_color = new THREE.Color(0, 0, 1);
var selected_color = new THREE.Color(0x78F5FF);
var hover_color = new THREE.Color(1, 0, 0);
var default_color = new THREE.Color(0xffff00);
......@@ -534,10 +534,37 @@ function render() {
if (move2D) {
grid.rotation.y = camera.rotation.z;
}
updateFooter(getCurrentPosition());
update_footer(getCurrentPosition());
}
function updateFooter(pos) {
function update_footer(pos) {
var reminder_text = "";
if (isRecording) {
if (move2D) {
if (controls.enabled == true) {
reminder_text = "Hold control key and click on point cloud to start drawing bounding box";
} else {
if (isResizing) {
reminder_text = "Release mouse to stop resizing box";
} else if (isMoving) {
reminder_text = "Release mouse to stop translating box";
} else if (isRotating) {
reminder_text = "Release mouse to stop rotating box";
} else if (mouseDown) {
reminder_text = "Release mouse to stop drawing box";
} else {
reminder_text = "Click on point cloud to start drawing bounding box"
}
}
}
} else {
reminder_text = "Resume recording to continue annotating";
}
$("#draw_bounding_box_reminder").find("p").text(reminder_text);
// console.log(reminder_text);
var x = pos.z;
var y = pos.x;
......
......@@ -76,6 +76,15 @@ nav a:hover {
nav li + li {
border-top:1px solid #444;
}
#draw_bounding_box_reminder {
font-size: 12px;
position: fixed;
left: 10px;
bottom: 0;
width: 200px;
text-align: left;
}
#footer {
font-size: 12px;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment