Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
d35ccbb6
Commit
d35ccbb6
authored
Oct 21, 2022
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
completed methods for multithreaded operation
parent
1aa3cc9e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
219 additions
and
26 deletions
+219
-26
LwocLeaf.java
...n/java/com/elphel/imagej/tileprocessor/lwoc/LwocLeaf.java
+11
-5
LwocOctree.java
...java/com/elphel/imagej/tileprocessor/lwoc/LwocOctree.java
+208
-21
No files found.
src/main/java/com/elphel/imagej/tileprocessor/lwoc/LwocLeaf.java
View file @
d35ccbb6
...
...
@@ -36,17 +36,23 @@ public class LwocLeaf {
scenes
=
new
ArrayList
<
LwocScene
>();
// cameras located in this node
}
public
void
addScene
(
LwocScene
scene
)
{
scenes
.
add
(
scene
);
public
void
addScene
(
LwocScene
scene
,
boolean
check_existed
)
{
if
(!
check_existed
||
!
scenes
.
contains
(
scene
))
{
scenes
.
add
(
scene
);
}
}
public
void
addMeshCenter
(
LwocMesh
mesh
)
{
mesh_centers
.
add
(
mesh
);
public
void
addMeshCenter
(
LwocMesh
mesh
,
boolean
check_existed
)
{
if
(!
check_existed
||
!
mesh_centers
.
contains
(
mesh
))
{
mesh_centers
.
add
(
mesh
);
}
}
public
void
addMesh
(
LwocMesh
mesh
,
boolean
check_existed
)
{
if
(!
check_existed
||
meshes
.
contains
(
mesh
))
{
if
(!
check_existed
||
!
meshes
.
contains
(
mesh
))
{
meshes
.
add
(
mesh
);
}
}
...
...
src/main/java/com/elphel/imagej/tileprocessor/lwoc/LwocOctree.java
View file @
d35ccbb6
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment