Interface for model builders used in RanSaC. More...
#include <model.h>
Public Member Functions | |
virtual unsigned int | getSize () const =0 |
model size (i.e. number of datapoints required to construct a model). | |
virtual shared_ptr< ModelClassT > | operator() (const typename ModelClassT::DataVec &selected)=0 |
produces a model from the given data points. |
Interface for model builders used in RanSaC.
virtual unsigned int ModelBuilder< ModelClassT >::getSize | ( | ) | const [pure virtual] |
model size (i.e. number of datapoints required to construct a model).
Implemented in GeneralizedModelBuilder< ErrorAccumClassT >, GeneralizedModelBuilder< RealErrorMaxErrorAccumulator< DummyErrorFunc< Matrix3d, ImageMatch > > >, GeneralizedModelBuilder< ErrorAccumT >, GeneralizedModelBuilder< RealErrorMaxErrorAccumulator< AngleError > >, DummyModelBuilder< ErrorAccumT >, DummyModelBuilder< RealErrorMaxErrorAccumulator< AngleError > >, ScaleModelBuilder< ErrorAccumClassT >, LiHartleyMulti5ptBuilder< ErrorAccumT >, LiHartley5ptFrom6ptsBuilder< ErrorAccumClassT >, LiHartley5ptFrom6ptsBuilder< RealErrorMaxErrorAccumulator< AngleError > >, Point3dModelFromLandmarkObservationPairBuilder< ErrorAccumClassT >, EightPointModelBuilder< ErrorAccumClassT >, and EightPointModelBuilder< RealErrorMaxErrorAccumulator< DummyErrorFunc< Matrix3d, ImageMatch > > >.
virtual shared_ptr<ModelClassT> ModelBuilder< ModelClassT >::operator() | ( | const typename ModelClassT::DataVec & | selected | ) | [pure virtual] |
produces a model from the given data points.
Implemented in GeneralizedModelBuilder< ErrorAccumClassT >, GeneralizedModelBuilder< RealErrorMaxErrorAccumulator< DummyErrorFunc< Matrix3d, ImageMatch > > >, GeneralizedModelBuilder< ErrorAccumT >, and GeneralizedModelBuilder< RealErrorMaxErrorAccumulator< AngleError > >.