Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions 3rdparty/Proj/PROJ/docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
HTMLOPTS ?= -W
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

.PHONY: clean
clean:
rm -rf $(BUILDDIR)/*
rm -rf .doxygen_up_to_date

.doxygen_up_to_date:
../scripts/doxygen.sh
touch .doxygen_up_to_date

.PHONY: html
html: .doxygen_up_to_date
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(HTMLOPTS) $(BUILDDIR)/html
# Undoes the hack done in scripts/doxygen.sh
@sed "s/io::Convention_/io::Convention/g" < $(BUILDDIR)/html/development/reference/cpp/io.html | sed "s/>Convention_/>Convention/g" | sed "s/_WKT2/WKT2/g" | sed "s/_WKT1/WKT1/g" > $(BUILDDIR)/html/development/reference/cpp/io.html.tmp
@mv $(BUILDDIR)/html/development/reference/cpp/io.html.tmp $(BUILDDIR)/html/development/reference/cpp/io.html
@cp -r ../schemas $(BUILDDIR)/html/schemas
@cp ../data/triangulation.schema.json $(BUILDDIR)/html/schemas
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."


# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Original file line number Diff line number Diff line change
Expand Up @@ -3215,15 +3215,6 @@ void display()
}
ImGui::Separator();

if (ImGui::MenuItem("Save metascan points in WGS84 LLA (PROJ)"))
{
const auto output_file_name = mandeye::fd::SaveFileDialog(out_fn.c_str(), mandeye::fd::LAS_LAZ_filter, ".laz");
const auto [pointcloud, intensity, timestamps] = prepareVisibleData();

const auto lla_points = tls_registration.gnss.unproject_using_proj(pointcloud);

exportLaz(output_file_name, lla_points, intensity, timestamps, 0, 0, 0);
}
for (const auto& crtName : CRTs::SupportedCRTs)
{
std::string itemName = "Save metascan points in " + crtName + " (PROJ)";
Expand Down
Loading