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
93ac2c14
Commit
93ac2c14
authored
Oct 26, 2022
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented "infinity" so nodes may have sides open to infinity
parent
8176593d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
117 additions
and
72 deletions
+117
-72
LwocOctree.java
...java/com/elphel/imagej/tileprocessor/lwoc/LwocOctree.java
+115
-68
LwocWorld.java
.../java/com/elphel/imagej/tileprocessor/lwoc/LwocWorld.java
+2
-4
No files found.
src/main/java/com/elphel/imagej/tileprocessor/lwoc/LwocOctree.java
View file @
93ac2c14
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/lwoc/LwocWorld.java
View file @
93ac2c14
...
@@ -35,11 +35,10 @@ public class LwocWorld implements Serializable {
...
@@ -35,11 +35,10 @@ public class LwocWorld implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
static
List
<
LwocWorld
>
lwoc_worlds
;
//
static
List
<
LwocWorld
>
lwoc_worlds
;
//
public
final
double
max_hsize
;
// = 10000.0; // meter - do not grow more
public
double
min_hsize
;
// = 0.3; // meter - do not subdivide more
public
double
min_hsize
;
// = 0.3; // meter - do not subdivide more
public
double
max_hsize
;
// = 10000.0; // meter - do not grow more
public
int
max_mesh_centers
;
// = 10; // maximal number of meshes in a leaf;
public
int
max_mesh_centers
;
// = 10; // maximal number of meshes in a leaf;
public
int
max_cameras
;
// = 10; // maximal number of cameras in a leaf;
public
int
max_cameras
;
// = 10; // maximal number of cameras in a leaf;
// public transient LwocOctree lwoc_root; // = null;
public
LwocOctree
lwoc_root
;
// = null;
public
LwocOctree
lwoc_root
;
// = null;
public
double
[]
atr
;
// = null; // Azimuth, tilt, roll - may be used to merge
public
double
[]
atr
;
// = null; // Azimuth, tilt, roll - may be used to merge
public
double
[]
xyz
;
// = null; // this world offset (before rotation) or
public
double
[]
xyz
;
// = null; // this world offset (before rotation) or
...
@@ -53,7 +52,7 @@ public class LwocWorld implements Serializable {
...
@@ -53,7 +52,7 @@ public class LwocWorld implements Serializable {
double
[]
atr
,
double
[]
atr
,
double
[]
xyz
)
{
double
[]
xyz
)
{
setMinHsize
(
min_hsize
);
setMinHsize
(
min_hsize
);
setMaxHsize
(
max_hsize
);
this
.
max_hsize
=
max_hsize
;
// it is final, only can and has to be set in the constructor
setMaxMeshCenters
(
max_mesh_centers
);
setMaxMeshCenters
(
max_mesh_centers
);
setMaxCameras
(
max_cameras
);
setMaxCameras
(
max_cameras
);
setLwocRoot
(
lwoc_root
);
setLwocRoot
(
lwoc_root
);
...
@@ -69,7 +68,6 @@ public class LwocWorld implements Serializable {
...
@@ -69,7 +68,6 @@ public class LwocWorld implements Serializable {
public
double
[]
getXYZ
()
{
return
xyz
;}
public
double
[]
getXYZ
()
{
return
xyz
;}
public
void
setMinHsize
(
double
min_hsize
)
{
this
.
min_hsize
=
min_hsize
;}
public
void
setMinHsize
(
double
min_hsize
)
{
this
.
min_hsize
=
min_hsize
;}
public
void
setMaxHsize
(
double
max_hsize
)
{
this
.
max_hsize
=
max_hsize
;}
public
void
setMaxMeshCenters
(
int
max_mesh_centers
)
{
this
.
max_mesh_centers
=
max_mesh_centers
;}
public
void
setMaxMeshCenters
(
int
max_mesh_centers
)
{
this
.
max_mesh_centers
=
max_mesh_centers
;}
public
void
setMaxCameras
(
int
max_cameras
)
{
this
.
max_cameras
=
max_cameras
;}
public
void
setMaxCameras
(
int
max_cameras
)
{
this
.
max_cameras
=
max_cameras
;}
public
void
setLwocRoot
(
LwocOctree
lwoc_root
)
{
this
.
lwoc_root
=
lwoc_root
;}
public
void
setLwocRoot
(
LwocOctree
lwoc_root
)
{
this
.
lwoc_root
=
lwoc_root
;}
...
...
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