From 5988a03571687650662795d7daf28d9f29fdaf77 Mon Sep 17 00:00:00 2001 From: Ethan Uppal <113849268+ethanuppal@users.noreply.github.com> Date: Tue, 30 Apr 2024 15:33:05 -0400 Subject: [PATCH] Update docs --- docs/_writing.html | 32 +++++++++++++-------- docs/classicp_1_1_i_c_p.html | 2 +- docs/icp_8cpp_source.html | 10 +++---- docs/icp_8h_source.html | 50 ++++++++++++++++----------------- docs/pages.html | 2 +- docs/search/all_0.js | 2 +- docs/search/all_6.js | 4 +-- docs/search/pages_0.js | 2 +- docs/search/pages_1.js | 4 +-- docs/structicp_1_1_methods.html | 6 ++-- 10 files changed, 61 insertions(+), 53 deletions(-) diff --git a/docs/_writing.html b/docs/_writing.html index 61f262b..4c33ea2 100644 --- a/docs/_writing.html +++ b/docs/_writing.html @@ -5,7 +5,7 @@ -
An ICP implementation should reside in a single C++ source file, e.g., my_icp.cpp
. You should declare a final
class named MyICP
that inherits public icp::ICP
that must provide the following functionality:
To write an ICP instance, create a C++ source file with at least the following:
+final
class that inherits from public icp::ICP
The class must define the following behavior:
MyICP()
~MyICP() override
icp::ICP
constructorvoid iterate() override
You may optionally override the following methods:
+In iterate
, the point clouds are given by the instance variables a
and b
. There are also pair
and dist
instance variables, each allocated to have size a.size()
. At the end of iterate
, the transform
instance variable should have been updated (although the update may be zero).
Optionally, the class can override:
setup() override
const std::vector<Vector>& a, const std::vector<Vector>& b) override
void setup() override
void trim(const std::vector<Vector>& a, const std::vector<Vector>& b) override
Finally, define the following static variable:
+trim
should initialize the instance variables a
and b
from the given point clouds a
and b
. The default behavior is to copy them over directly.
The static initialization is required so that users can instantiate your ICP instance. Define
where "name_of_instance"
is the name of your ICP implementation and NameOfClass
is the name of the class.
Perform ICP for the point clouds a
and b
provided with ICP::begin until the cost is below convergence_threshold
or until no progress is being made.
At least burn_in
iterations will be performed.
At least burn_in
iterations will be performed. Start with zero burn-in, and slowly increase if convergence requirements are not met.
Definition at line 62 of file icp.cpp.
diff --git a/docs/icp_8cpp_source.html b/docs/icp_8cpp_source.html index d8135ba..428282b 100644 --- a/docs/icp_8cpp_source.html +++ b/docs/icp_8cpp_source.html @@ -118,7 +118,7 @@ - + @@ -159,7 +159,7 @@ - + @@ -258,9 +258,9 @@Definition at line 135 of file icp.h.
+Definition at line 137 of file icp.h.
@@ -125,7 +125,7 @@