68# pragma warning(disable : 4251)
73 namespace Experimental
87 static constexpr const char *path{
"" };
90 static constexpr const char *name{
"LocalPointCloudRegistrationParameters" };
93 static constexpr const char *description{
94 R
"description(Input parameters for controlling the local point cloud registration process.
98 static constexpr size_t version{ 1 };
108 static constexpr std::array<uint8_t, 3> binaryId{
'l',
'p',
'r' };
123 static constexpr const char *path{
"ConvergenceCriteria" };
126 static constexpr const char *name{
"ConvergenceCriteria" };
129 static constexpr const char *description{
130 R
"description(Criteria for ending iteration early. Iteration will end when all criteria are satisfied.
146 static constexpr const char *path{
"ConvergenceCriteria/RMSEDiffThreshold" };
149 static constexpr const char *name{
"RMSEDiffThreshold" };
152 static constexpr const char *description{
153 R
"description(Stop iteration when the absolute change in root mean square error (RMSE) from previous iteration is less than this threshold.
154RMSE is defined as the square root of the average squared distance between corresponding points in the source and target point clouds.
164 return { std::numeric_limits<float>::lowest(), std::numeric_limits<float>::max() };
184 return m_value == other.m_value;
190 return m_value != other.m_value;
196 return m_value < other.m_value;
202 return m_value > other.m_value;
208 return m_value <= other.m_value;
214 return m_value >= other.m_value;
224 void setFromString(
const std::string &value);
226 float m_value{ 1e-4F };
243 static constexpr const char *path{
"ConvergenceCriteria/SourceCoverageDiffThreshold" };
246 static constexpr const char *name{
"SourceCoverageDiffThreshold" };
249 static constexpr const char *description{
250 R
"description(Stop iteration when the absolute change in coverage from previous iteration is less than this threshold.
251Coverage is defined as the fraction of points in the source point cloud that found a correspondence in the target point cloud.
261 return { std::numeric_limits<float>::lowest(), std::numeric_limits<float>::max() };
281 return m_value == other.m_value;
287 return m_value != other.m_value;
293 return m_value < other.m_value;
299 return m_value > other.m_value;
305 return m_value <= other.m_value;
311 return m_value >= other.m_value;
321 void setFromString(
const std::string &value);
323 float m_value{ 1e-4F };
350 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
351 typename std::enable_if<
352 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
356 template<typename... Args>
360 using namespace Zivid::Detail::TypeTraits;
363 AllArgsDecayedAreUnique<Args...>::value,
364 "Found duplicate types among the arguments passed to ConvergenceCriteria(...). "
365 "Types should be listed at most once.");
367 set(std::forward<Args>(args)...);
382 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
384 template<typename... Args>
388 using namespace Zivid::Detail::TypeTraits;
390 using AllArgsAreDescendantNodes =
391 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
393 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
396 AllArgsDecayedAreUnique<Args...>::value,
397 "Found duplicate types among the arguments passed to set(...). "
398 "Types should be listed at most once.");
400 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
416 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
418 template<typename... Args>
422 using namespace Zivid::Detail::TypeTraits;
424 using AllArgsAreDescendantNodes =
425 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
427 AllArgsAreDescendantNodes::value,
428 "All arguments passed to copyWith(...) must be descendant nodes.");
431 AllArgsDecayedAreUnique<Args...>::value,
432 "Found duplicate types among the arguments passed to copyWith(...). "
433 "Types should be listed at most once.");
436 copy.set(std::forward<Args>(args)...);
443 return m_rmseDiffThreshold;
449 return m_rmseDiffThreshold;
455 m_rmseDiffThreshold = value;
462 return m_sourceCoverageDiffThreshold;
468 return m_sourceCoverageDiffThreshold;
474 m_sourceCoverageDiffThreshold = value;
480 typename std::enable_if<
481 std::is_same<T, LocalPointCloudRegistrationParameters::ConvergenceCriteria::RMSEDiffThreshold>::
486 return m_rmseDiffThreshold;
491 typename std::enable_if<
500 return m_sourceCoverageDiffThreshold;
503 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
506 return m_rmseDiffThreshold;
509 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
513 return m_sourceCoverageDiffThreshold;
520 f(m_rmseDiffThreshold);
521 f(m_sourceCoverageDiffThreshold);
528 f(m_rmseDiffThreshold);
529 f(m_sourceCoverageDiffThreshold);
548 void setFromString(
const std::string &value);
550 void setFromString(
const std::string &fullPath,
const std::string &value);
552 std::string getString(
const std::string &fullPath)
const;
554 RMSEDiffThreshold m_rmseDiffThreshold;
573 static constexpr const char *path{
"MaxCorrespondenceDistance" };
576 static constexpr const char *name{
"MaxCorrespondenceDistance" };
579 static constexpr const char *description{
580 R
"description(The radius around each source point in which the algorithm will look for neighbors in the target point cloud.
581Should be larger than the typical distance between points in the point clouds.
582This parameter may have a significant performance impact.
592 return { std::numeric_limits<float>::lowest(), std::numeric_limits<float>::max() };
612 return m_value == other.m_value;
618 return m_value != other.m_value;
624 return m_value < other.m_value;
630 return m_value > other.m_value;
636 return m_value <= other.m_value;
642 return m_value >= other.m_value;
652 void setFromString(
const std::string &value);
654 float m_value{ 10.0F };
670 static constexpr const char *path{
"MaxIterationCount" };
673 static constexpr const char *name{
"MaxIterationCount" };
676 static constexpr const char *description{
677 R
"description(End iteration when reaching this number, even if convergence criteria are not yet satisfied.
687 return { std::numeric_limits<uint32_t>::lowest(), std::numeric_limits<uint32_t>::max() };
707 return m_value == other.m_value;
713 return m_value != other.m_value;
719 return m_value < other.m_value;
725 return m_value > other.m_value;
731 return m_value <= other.m_value;
737 return m_value >= other.m_value;
747 void setFromString(
const std::string &value);
749 uint32_t m_value{ 200 };
799 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
800 typename std::enable_if<
801 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
805 template<typename... Args>
809 using namespace Zivid::Detail::TypeTraits;
812 AllArgsDecayedAreUnique<Args...>::value,
813 "Found duplicate types among the arguments passed to LocalPointCloudRegistrationParameters(...). "
814 "Types should be listed at most once.");
816 set(std::forward<Args>(args)...);
834 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
836 template<typename... Args>
840 using namespace Zivid::Detail::TypeTraits;
842 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
844 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
847 AllArgsDecayedAreUnique<Args...>::value,
848 "Found duplicate types among the arguments passed to set(...). "
849 "Types should be listed at most once.");
851 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
870 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
872 template<typename... Args>
876 using namespace Zivid::Detail::TypeTraits;
878 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
880 AllArgsAreDescendantNodes::value,
881 "All arguments passed to copyWith(...) must be descendant nodes.");
884 AllArgsDecayedAreUnique<Args...>::value,
885 "Found duplicate types among the arguments passed to copyWith(...). "
886 "Types should be listed at most once.");
889 copy.set(std::forward<Args>(args)...);
896 return m_convergenceCriteria;
902 return m_convergenceCriteria;
908 m_convergenceCriteria = value;
915 m_convergenceCriteria.
set(value);
922 m_convergenceCriteria.
set(value);
929 return m_maxCorrespondenceDistance;
935 return m_maxCorrespondenceDistance;
941 m_maxCorrespondenceDistance = value;
948 return m_maxIterationCount;
954 return m_maxIterationCount;
960 m_maxIterationCount = value;
966 typename std::enable_if<
967 std::is_same<T, LocalPointCloudRegistrationParameters::ConvergenceCriteria>::value,
971 return m_convergenceCriteria;
976 typename std::enable_if<
977 std::is_same<T, LocalPointCloudRegistrationParameters::ConvergenceCriteria::RMSEDiffThreshold>::
982 return m_convergenceCriteria
988 typename std::enable_if<
995 return m_convergenceCriteria
1001 typename std::enable_if<
1002 std::is_same<T, LocalPointCloudRegistrationParameters::MaxCorrespondenceDistance>::value,
1006 return m_maxCorrespondenceDistance;
1011 typename std::enable_if<
1012 std::is_same<T, LocalPointCloudRegistrationParameters::MaxIterationCount>::value,
1016 return m_maxIterationCount;
1019 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
1022 return m_convergenceCriteria;
1025 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
1028 return m_maxCorrespondenceDistance;
1031 template<size_t i, typename std::enable_if<i == 2, int>::type = 0>
1034 return m_maxIterationCount;
1038 template<
typename F>
1041 f(m_convergenceCriteria);
1042 f(m_maxCorrespondenceDistance);
1043 f(m_maxIterationCount);
1047 template<
typename F>
1050 f(m_convergenceCriteria);
1051 f(m_maxCorrespondenceDistance);
1052 f(m_maxIterationCount);
1071 void save(
const std::string &fileName)
const;
1074 void load(
const std::string &fileName);
1077 void setFromString(
const std::string &value);
1079 void setFromString(
const std::string &fullPath,
const std::string &value);
1081 std::string getString(
const std::string &fullPath)
const;
1092 struct LocalPointCloudRegistrationParameters::Version<1>
1108 std::ostream &ostream);
1111 std::istream &istream);
1117 const std::vector<uint8_t> &data);
1123# pragma warning(pop)
1127# if !(defined(_MSC_VER) && (_MSC_VER <= 1900))
1132 struct tuple_size<
Zivid::Experimental::LocalPointCloudRegistrationParameters::ConvergenceCriteria>
1133 : integral_constant<size_t, 2>
1137 struct tuple_element<i,
Zivid::Experimental::LocalPointCloudRegistrationParameters::ConvergenceCriteria>
1140 i < tuple_size<Zivid::Experimental::LocalPointCloudRegistrationParameters::ConvergenceCriteria>::value,
1141 "Index must be less than 2");
1144 =
decltype(declval<Zivid::Experimental::LocalPointCloudRegistrationParameters::ConvergenceCriteria>()
1149 struct tuple_size<
Zivid::Experimental::LocalPointCloudRegistrationParameters> : integral_constant<size_t, 3>
1153 struct tuple_element<i,
Zivid::Experimental::LocalPointCloudRegistrationParameters>
1156 i < tuple_size<Zivid::Experimental::LocalPointCloudRegistrationParameters>::value,
1157 "Index must be less than 3");
1160 =
decltype(declval<Zivid::Experimental::LocalPointCloudRegistrationParameters>().get<i>());
1169#if defined(__has_include) && !defined(NO_DOC)
1170# if __has_include( \
1171 "Zivid/Experimental/LocalPointCloudRegistrationParametersInternal.h") \
1172 && __has_include("Zivid/DataModelNodeMetaData.h")
1173# include "Zivid/Experimental/LocalPointCloudRegistrationParametersInternal.h"
#define ZIVID_CORE_EXPORT
Definition CoreExport.h:56
Stop iteration when the absolute change in root mean square error (RMSE) from previous iteration is l...
Definition LocalPointCloudRegistrationParameters.h:140
bool operator>=(const RMSEDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:212
bool operator<(const RMSEDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:194
bool operator>(const RMSEDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:200
float value() const
Get the value.
std::string toString() const
Get the value as string.
constexpr RMSEDiffThreshold(float value)
Constructor.
Definition LocalPointCloudRegistrationParameters.h:171
bool operator<=(const RMSEDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:206
static constexpr Range< float > validRange()
The range of valid values for RMSEDiffThreshold.
Definition LocalPointCloudRegistrationParameters.h:162
bool operator!=(const RMSEDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:188
RMSEDiffThreshold()=default
Default constructor.
float ValueType
The type of the underlying value.
Definition LocalPointCloudRegistrationParameters.h:159
bool operator==(const RMSEDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:182
friend std::ostream & operator<<(std::ostream &stream, const RMSEDiffThreshold &value)
Operator to serialize the value to a stream.
Definition LocalPointCloudRegistrationParameters.h:218
Stop iteration when the absolute change in coverage from previous iteration is less than this thresho...
Definition LocalPointCloudRegistrationParameters.h:237
friend std::ostream & operator<<(std::ostream &stream, const SourceCoverageDiffThreshold &value)
Operator to serialize the value to a stream.
Definition LocalPointCloudRegistrationParameters.h:315
bool operator>(const SourceCoverageDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:297
bool operator<=(const SourceCoverageDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:303
static constexpr Range< float > validRange()
The range of valid values for SourceCoverageDiffThreshold.
Definition LocalPointCloudRegistrationParameters.h:259
bool operator<(const SourceCoverageDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:291
float value() const
Get the value.
bool operator>=(const SourceCoverageDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:309
bool operator!=(const SourceCoverageDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:285
bool operator==(const SourceCoverageDiffThreshold &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:279
float ValueType
The type of the underlying value.
Definition LocalPointCloudRegistrationParameters.h:256
SourceCoverageDiffThreshold()=default
Default constructor.
constexpr SourceCoverageDiffThreshold(float value)
Constructor.
Definition LocalPointCloudRegistrationParameters.h:268
std::string toString() const
Get the value as string.
Criteria for ending iteration early. Iteration will end when all criteria are satisfied.
Definition LocalPointCloudRegistrationParameters.h:117
const LocalPointCloudRegistrationParameters::ConvergenceCriteria::SourceCoverageDiffThreshold & get() const
Definition LocalPointCloudRegistrationParameters.h:497
ConvergenceCriteria & set(const RMSEDiffThreshold &value)
Set RMSEDiffThreshold.
Definition LocalPointCloudRegistrationParameters.h:453
std::tuple< LocalPointCloudRegistrationParameters::ConvergenceCriteria::RMSEDiffThreshold, LocalPointCloudRegistrationParameters::ConvergenceCriteria::SourceCoverageDiffThreshold > Descendants
Definition LocalPointCloudRegistrationParameters.h:328
ConvergenceCriteria copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition LocalPointCloudRegistrationParameters.h:420
friend std::ostream & operator<<(std::ostream &stream, const ConvergenceCriteria &value)
Operator to send the value as string to a stream.
Definition LocalPointCloudRegistrationParameters.h:542
ConvergenceCriteria & set(const SourceCoverageDiffThreshold &value)
Set SourceCoverageDiffThreshold.
Definition LocalPointCloudRegistrationParameters.h:472
const SourceCoverageDiffThreshold & sourceCoverageDiffThreshold() const
Get SourceCoverageDiffThreshold.
Definition LocalPointCloudRegistrationParameters.h:460
bool operator!=(const ConvergenceCriteria &other) const
Inequality operator.
ConvergenceCriteria()
Default constructor.
RMSEDiffThreshold & rmseDiffThreshold()
Get RMSEDiffThreshold.
Definition LocalPointCloudRegistrationParameters.h:447
std::string toString() const
Get the value as string.
const RMSEDiffThreshold & rmseDiffThreshold() const
Get RMSEDiffThreshold.
Definition LocalPointCloudRegistrationParameters.h:441
void set(Args &&...args)
Set multiple arguments.
Definition LocalPointCloudRegistrationParameters.h:386
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition LocalPointCloudRegistrationParameters.h:518
bool operator==(const ConvergenceCriteria &other) const
Equality operator.
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition LocalPointCloudRegistrationParameters.h:526
SourceCoverageDiffThreshold & sourceCoverageDiffThreshold()
Get SourceCoverageDiffThreshold.
Definition LocalPointCloudRegistrationParameters.h:466
const LocalPointCloudRegistrationParameters::ConvergenceCriteria::RMSEDiffThreshold & get() const
Definition LocalPointCloudRegistrationParameters.h:484
The radius around each source point in which the algorithm will look for neighbors in the target poin...
Definition LocalPointCloudRegistrationParameters.h:567
MaxCorrespondenceDistance()=default
Default constructor.
bool operator<(const MaxCorrespondenceDistance &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:622
constexpr MaxCorrespondenceDistance(float value)
Constructor.
Definition LocalPointCloudRegistrationParameters.h:599
std::string toString() const
Get the value as string.
friend std::ostream & operator<<(std::ostream &stream, const MaxCorrespondenceDistance &value)
Operator to serialize the value to a stream.
Definition LocalPointCloudRegistrationParameters.h:646
float value() const
Get the value.
bool operator!=(const MaxCorrespondenceDistance &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:616
bool operator>=(const MaxCorrespondenceDistance &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:640
bool operator>(const MaxCorrespondenceDistance &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:628
bool operator<=(const MaxCorrespondenceDistance &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:634
static constexpr Range< float > validRange()
The range of valid values for MaxCorrespondenceDistance.
Definition LocalPointCloudRegistrationParameters.h:590
bool operator==(const MaxCorrespondenceDistance &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:610
float ValueType
The type of the underlying value.
Definition LocalPointCloudRegistrationParameters.h:587
End iteration when reaching this number, even if convergence criteria are not yet satisfied.
Definition LocalPointCloudRegistrationParameters.h:664
bool operator>(const MaxIterationCount &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:723
bool operator==(const MaxIterationCount &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:705
uint32_t value() const
Get the value.
bool operator>=(const MaxIterationCount &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:735
uint32_t ValueType
The type of the underlying value.
Definition LocalPointCloudRegistrationParameters.h:682
friend std::ostream & operator<<(std::ostream &stream, const MaxIterationCount &value)
Operator to serialize the value to a stream.
Definition LocalPointCloudRegistrationParameters.h:741
bool operator!=(const MaxIterationCount &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:711
MaxIterationCount()=default
Default constructor.
bool operator<=(const MaxIterationCount &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:729
static constexpr Range< uint32_t > validRange()
The range of valid values for MaxIterationCount.
Definition LocalPointCloudRegistrationParameters.h:685
constexpr MaxIterationCount(uint32_t value)
Constructor.
Definition LocalPointCloudRegistrationParameters.h:694
std::string toString() const
Get the value as string.
bool operator<(const MaxIterationCount &other) const
Comparison operator.
Definition LocalPointCloudRegistrationParameters.h:717
Input parameters for controlling the local point cloud registration process.
Definition LocalPointCloudRegistrationParameters.h:81
std::string toString() const
Get the value as string.
LocalPointCloudRegistrationParameters()
Default constructor.
LocalPointCloudRegistrationParameters & set(const MaxCorrespondenceDistance &value)
Set MaxCorrespondenceDistance.
Definition LocalPointCloudRegistrationParameters.h:939
const LocalPointCloudRegistrationParameters::ConvergenceCriteria::SourceCoverageDiffThreshold & get() const
Definition LocalPointCloudRegistrationParameters.h:993
const LocalPointCloudRegistrationParameters::ConvergenceCriteria & get() const
Definition LocalPointCloudRegistrationParameters.h:969
MaxCorrespondenceDistance & maxCorrespondenceDistance()
Get MaxCorrespondenceDistance.
Definition LocalPointCloudRegistrationParameters.h:933
const MaxIterationCount & maxIterationCount() const
Get MaxIterationCount.
Definition LocalPointCloudRegistrationParameters.h:946
const LocalPointCloudRegistrationParameters::MaxIterationCount & get() const
Definition LocalPointCloudRegistrationParameters.h:1014
bool operator==(const LocalPointCloudRegistrationParameters &other) const
Equality operator.
ConvergenceCriteria & convergenceCriteria()
Get ConvergenceCriteria.
Definition LocalPointCloudRegistrationParameters.h:900
bool operator!=(const LocalPointCloudRegistrationParameters &other) const
Inequality operator.
const ConvergenceCriteria & convergenceCriteria() const
Get ConvergenceCriteria.
Definition LocalPointCloudRegistrationParameters.h:894
void set(Args &&...args)
Set multiple arguments.
Definition LocalPointCloudRegistrationParameters.h:838
const MaxCorrespondenceDistance & maxCorrespondenceDistance() const
Get MaxCorrespondenceDistance.
Definition LocalPointCloudRegistrationParameters.h:927
friend std::ostream & operator<<(std::ostream &stream, const LocalPointCloudRegistrationParameters &value)
Operator to send the value as string to a stream.
Definition LocalPointCloudRegistrationParameters.h:1065
const LocalPointCloudRegistrationParameters::ConvergenceCriteria::RMSEDiffThreshold & get() const
Definition LocalPointCloudRegistrationParameters.h:980
LocalPointCloudRegistrationParameters & set(const MaxIterationCount &value)
Set MaxIterationCount.
Definition LocalPointCloudRegistrationParameters.h:958
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition LocalPointCloudRegistrationParameters.h:1048
static LocalPointCloudRegistrationParameters fromSerialized(const std::string &value)
Construct a new LocalPointCloudRegistrationParameters instance from a previously serialized string.
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition LocalPointCloudRegistrationParameters.h:1039
std::tuple< LocalPointCloudRegistrationParameters::ConvergenceCriteria, LocalPointCloudRegistrationParameters::ConvergenceCriteria::RMSEDiffThreshold, LocalPointCloudRegistrationParameters::ConvergenceCriteria::SourceCoverageDiffThreshold, LocalPointCloudRegistrationParameters::MaxCorrespondenceDistance, LocalPointCloudRegistrationParameters::MaxIterationCount > Descendants
Definition LocalPointCloudRegistrationParameters.h:754
LocalPointCloudRegistrationParameters copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition LocalPointCloudRegistrationParameters.h:874
void save(const std::string &fileName) const
Save to the given file.
void load(const std::string &fileName)
Load from the given file.
std::string serialize() const
Serialize to a string.
MaxIterationCount & maxIterationCount()
Get MaxIterationCount.
Definition LocalPointCloudRegistrationParameters.h:952
LocalPointCloudRegistrationParameters(const std::string &fileName)
Construct LocalPointCloudRegistrationParameters by loading from file.
LocalPointCloudRegistrationParameters & set(const ConvergenceCriteria::SourceCoverageDiffThreshold &value)
Set ConvergenceCriteria::SourceCoverageDiffThreshold.
Definition LocalPointCloudRegistrationParameters.h:920
LocalPointCloudRegistrationParameters & set(const ConvergenceCriteria &value)
Set ConvergenceCriteria.
Definition LocalPointCloudRegistrationParameters.h:906
const LocalPointCloudRegistrationParameters::MaxCorrespondenceDistance & get() const
Definition LocalPointCloudRegistrationParameters.h:1004
LocalPointCloudRegistrationParameters & set(const ConvergenceCriteria::RMSEDiffThreshold &value)
Set ConvergenceCriteria::RMSEDiffThreshold.
Definition LocalPointCloudRegistrationParameters.h:913
Class describing a range of values for a given type T.
Definition Range.h:75
NodeType
Definition NodeType.h:49
Definition EnvironmentInfo.h:74
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:84