Skip to content

Commit

Permalink
Merge branch 'master' into feature/#18
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylannl committed May 28, 2020
2 parents a5f41ae + 7dca6c0 commit 1d38dae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ jobs:
echo $env:VCPKG_INSTALLATION_ROOT
$env:VCPKG_DEFAULT_TRIPLET="x64-windows"
vcpkg install cgal boost-geometry glm
- name: Install Geoflow
- name: Install fetch
run: |
Invoke-WebRequest https://github.com/geoflow3d/geoflow/releases/download/v0.1.5/Geoflow-win64.exe -OutFile geoflow-setup.exe
.\geoflow-setup.exe /S
Invoke-WebRequest https://github.com/gruntwork-io/fetch/releases/download/v0.3.7/fetch_windows_amd64.exe -OutFile fetch.exe
- name: Install latest Geoflow
run: |
.\fetch.exe --repo="https://github.com/geoflow3d/geoflow" --tag=">=0.1.4" --release-asset="Geoflow-win64.exe" .\
.\Geoflow-win64.exe /S
- name: Build
run: |
mkdir build
Expand Down
16 changes: 8 additions & 8 deletions src/stepedge_nodes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ namespace geoflow::nodes::stepedge {
add_param(ParamBool(do_walls, "do_walls", "Do walls"));
add_param(ParamBool(do_roofs, "do_roofs", "Do roofs"));
add_param(ParamBool(do_floor, "do_floor", "Do floor"));
add_param(ParamBool(LoD2, "LoD2", "LoD2"));
add_param(ParamBool(LoD2, "LoD2", "LoD2 (uncheck for LoD1.3)"));
// ", ParamFloat( add_param("b,base_elevation, "Base elevation"));
add_param(ParamFloat(nodata_elevation, "nodata_elevation", "Nodata elevation"));
add_param(ParamInt(snap_tolerance_exp, "snap_tolerance_exp", "Snap tolerance"));
Expand Down Expand Up @@ -388,7 +388,7 @@ namespace geoflow::nodes::stepedge {

add_param(ParamBool(dissolve_outside_fp, "dissolve_outside_fp", "Dissolve edges outside footprint"));
add_param(ParamBool(dissolve_seg_edges, "dissolve_seg_edges", "Dissolve same label cells"));
add_param(ParamBool(dissolve_step_edges, "dissolve_step_edges", "Dissolve step edges"));
add_param(ParamBool(dissolve_step_edges, "dissolve_step_edges", "Dissolve step edges (check for LoD1.3)"));
add_param(ParamBoundedFloat(step_height_threshold, 0, 10, "step_height_threshold", "step_height_threshold"));
}
void process();
Expand Down Expand Up @@ -507,13 +507,13 @@ namespace geoflow::nodes::stepedge {
add_output("plane_adj", typeid(std::map<size_t, std::map<size_t, size_t>>));

add_param(ParamBool(only_horizontal, "only_horizontal", "Output only horizontal planes"));
add_param(ParamFloat(horiz_min_count, "horiz_min_count", "Min horiz point count"));
add_param(ParamInt(metrics_normal_k, "metrics_normal_k", "K estimate normal"));
add_param(ParamInt(metrics_plane_k, "metrics_plane_k", "Knn plane segmentation"));
add_param(ParamInt(metrics_plane_min_points, "metrics_plane_min_points", "Plane min points"));
add_param(ParamFloat(horiz_min_count, "horiz_min_count", "Mininmal point count for horizontal planes"));
add_param(ParamInt(metrics_normal_k, "metrics_normal_k", "Number of neighbours used for normal estimation"));
add_param(ParamInt(metrics_plane_k, "metrics_plane_k", "Number of neighbours used during region growing plane detection"));
add_param(ParamInt(metrics_plane_min_points, "metrics_plane_min_points", "Minimum number of points in a plane"));
add_param(ParamFloat(metrics_plane_epsilon, "metrics_plane_epsilon", "Plane epsilon"));
add_param(ParamFloat(metrics_plane_normal_threshold, "metrics_plane_normal_threshold", "Plane normal thres"));
add_param(ParamFloat(metrics_is_horizontal_threshold, "metrics_is_horizontal_threshold", "Is horizontal"));
add_param(ParamFloat(metrics_plane_normal_threshold, "metrics_plane_normal_threshold", "Plane normal angle threshold"));
add_param(ParamFloat(metrics_is_horizontal_threshold, "metrics_is_horizontal_threshold", "Threshold for horizontal plane detection (expressed as angle wrt unit verctor in +z direction)"));
add_param(ParamFloat(metrics_is_wall_threshold, "metrics_is_wall_threshold", "Wall angle thres"));
add_param(ParamInt(n_refit, "n_refit", "Refit every n points"));
add_param(ParamBoundedFloat(roof_percentile, 0, 1, "roof_percentile", "Roof elevation percentile"));
Expand Down

0 comments on commit 1d38dae

Please sign in to comment.