|
double | error (const Values &values) const override |
|
boost::shared_ptr< GaussianFactor > | linearize (const Values &values) const override |
|
| PinholeFactor () |
|
| PinholeFactor (const SharedNoiseModel &sharedNoiseModel, boost::optional< Pose3 > body_P_sensor=boost::none, size_t expectedNumberCameras=10) |
|
void | add (const Z &measured, const Key &key) |
|
void | add (const ZVector &measurements, const KeyVector &cameraKeys) |
|
void | add (const SFM_TRACK &trackToAdd) |
|
Pose3 | body_P_sensor () const |
|
virtual Cameras | cameras (const Values &values) const |
| Collect all cameras: important that in key order. More...
|
|
void | computeJacobians (FBlocks &Fs, Matrix &E, Vector &b, const Cameras &cameras, const POINT &point) const |
|
void | computeJacobiansSVD (FBlocks &Fs, Matrix &Enull, Vector &b, const Cameras &cameras, const POINT &point) const |
| SVD version. More...
|
|
virtual void | correctForMissingMeasurements (const Cameras &cameras, Vector &ue, boost::optional< typename Cameras::FBlocks & > Fs=boost::none, boost::optional< Matrix & > E=boost::none) const |
|
boost::shared_ptr< RegularHessianFactor< Dim > > | createHessianFactor (const Cameras &cameras, const Point3 &point, const double lambda=0.0, bool diagonalDamping=false) const |
| Linearize to a Hessianfactor. More...
|
|
boost::shared_ptr< JacobianFactorQ< Dim, ZDim > > | createJacobianQFactor (const Cameras &cameras, const Point3 &point, double lambda=0.0, bool diagonalDamping=false) const |
|
boost::shared_ptr< JacobianFactor > | createJacobianSVDFactor (const Cameras &cameras, const Point3 &point, double lambda=0.0) const |
|
boost::shared_ptr< RegularImplicitSchurFactor< PinholeCamera< Cal3Bundler > > > | createRegularImplicitSchurFactor (const Cameras &cameras, const Point3 &point, double lambda=0.0, bool diagonalDamping=false) const |
| Return Jacobians as RegularImplicitSchurFactor with raw access. More...
|
|
size_t | dim () const override |
| get the dimension (number of rows!) of the factor More...
|
|
bool | equals (const NonlinearFactor &p, double tol=1e-9) const override |
| equals More...
|
|
const ZVector & | measured () const |
|
void | print (const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override |
|
| SmartFactorBase () |
| Default Constructor, for serialization. More...
|
|
| SmartFactorBase (const SharedNoiseModel &sharedNoiseModel, boost::optional< Pose3 > body_P_sensor=boost::none, size_t expectedNumberCameras=10) |
| Constructor. More...
|
|
double | totalReprojectionError (const Cameras &cameras, const POINT &point) const |
|
Vector | unwhitenedError (const Cameras &cameras, const POINT &point, boost::optional< typename Cameras::FBlocks & > Fs=boost::none, boost::optional< Matrix & > E=boost::none) const |
|
void | updateAugmentedHessian (const Cameras &cameras, const Point3 &point, const double lambda, bool diagonalDamping, SymmetricBlockMatrix &augmentedHessian, const KeyVector allKeys) const |
|
Vector | whitenedError (const Cameras &cameras, const POINT &point) const |
|
void | whitenJacobians (FBlocks &F, Matrix &E, Vector &b) const |
| Whiten the Jacobians computed by computeJacobians using noiseModel_. More...
|
|
| ~SmartFactorBase () override |
| Virtual destructor, subclasses from NonlinearFactor. More...
|
|
| NonlinearFactor () |
|
template<typename CONTAINER > |
| NonlinearFactor (const CONTAINER &keys) |
|
virtual | ~NonlinearFactor () |
|
virtual bool | active (const Values &) const |
|
virtual shared_ptr | clone () const |
|
shared_ptr | rekey (const std::map< Key, Key > &rekey_mapping) const |
|
shared_ptr | rekey (const KeyVector &new_keys) const |
|
virtual | ~Factor ()=default |
| Default destructor. More...
|
|
Key | front () const |
| First key. More...
|
|
Key | back () const |
| Last key. More...
|
|
const_iterator | find (Key key) const |
| find More...
|
|
const KeyVector & | keys () const |
| Access the factor's involved variable keys. More...
|
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
size_t | size () const |
|
virtual void | printKeys (const std::string &s="Factor", const KeyFormatter &formatter=DefaultKeyFormatter) const |
| print only keys More...
|
|
KeyVector & | keys () |
|
iterator | begin () |
|
iterator | end () |
|
Definition at line 36 of file testSmartFactorBase.cpp.