13 #include <QPushButton>
18 #include <vtkCellArray.h>
45 this->setLayout(
new QVBoxLayout);
63 this->updateDifferenceLines();
67 void ICPRegistrationBaseWidget::initialize()
69 delete this->layout();
74 this->initializeProperties();
81 connect(
mObscuredListener.get(), SIGNAL(obscured(
bool)),
this, SLOT(obscuredSlot(
bool)));
85 void ICPRegistrationBaseWidget::initializeProperties()
88 "Ignore LTS, instead attempt to find optimal value",
93 "Fraction of points in the lesser point set to use during each iteration.",
98 "Number of iterations",
103 "Differential RMS stop threshold, between iterations",
108 "Maximum time spent iterating, in seconds",
113 "Data outside a bounding box defined by the intersection\n"
114 "of the fixed/moving by a margin are cropped.",
119 "Use only linear iteration",
124 "Display metric and difference lines between point sets",
129 "Registration is done one iteration at a time.",
133 std::vector<PropertyPtr> ICPRegistrationBaseWidget::getAllProperties()
135 std::vector<PropertyPtr> properties;
148 void ICPRegistrationBaseWidget::obscuredSlot(
bool obscured)
209 bool success =
false;
223 std::cout <<
"v2v linear result:\n" << linearTransform << std::endl;
226 if ((boost::math::isnan)(linearTransform(0,0)))
244 void ICPRegistrationBaseWidget::updateDifferenceLines()
256 void ICPRegistrationBaseWidget::onDisplayProgressChanged()
258 this->updateDifferenceLines();