28 template<
class CAMERA>
47 void print(
const std::string&
s =
"")
const override {
60 const typename CAMERA::MeasurementVector&
measured,
67 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION 68 friend class boost::serialization::access; 70 template<
class ARCHIVE>
72 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base);
77 template<
class CAMERA>
81 template<
class CAMERA>
bool equals(const PinholeSet &p, double tol=1e-9) const
equals
PinholeSet< CAMERA > This
TriangulationResult triangulateSafe(const typename CAMERA::MeasurementVector &measured, const TriangulationParameters ¶ms) const
triangulateSafe
bool equals(const CameraSet &p, double tol=1e-9) const
equals
std::string serialize(const T &input)
serializes to a string
Base class to create smart factors on poses or cameras.
void print(const std::string &s="") const override
print
A set of cameras, all with their own calibration.
static const SmartProjectionParams params
virtual void print(const std::string &s="") const
Functions for triangulation.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
TriangulationResult triangulateSafe(const CameraSet< CAMERA > &cameras, const typename CAMERA::MeasurementVector &measured, const TriangulationParameters ¶ms)
triangulateSafe: extensive checking of the outcome