replace typedef with using
parent
f9041846ce
commit
9bc63fa5a9
|
|
@ -72,8 +72,8 @@ class GTSAM_EXPORT Cal3 {
|
|||
|
||||
public:
|
||||
enum { dimension = 5 };
|
||||
typedef boost::shared_ptr<Cal3>
|
||||
shared_ptr; ///< shared pointer to calibration object
|
||||
///< shared pointer to calibration object
|
||||
using shared_ptr = boost::shared_ptr<Cal3>;
|
||||
|
||||
/// @name Standard Constructors
|
||||
/// @{
|
||||
|
|
|
|||
|
|
@ -53,8 +53,8 @@ class GTSAM_EXPORT Cal3Fisheye : public Cal3 {
|
|||
|
||||
public:
|
||||
enum { dimension = 9 };
|
||||
typedef boost::shared_ptr<Cal3Fisheye>
|
||||
shared_ptr; ///< shared pointer to fisheye calibration object
|
||||
///< shared pointer to fisheye calibration object
|
||||
using shared_ptr = boost::shared_ptr<Cal3Fisheye>;
|
||||
|
||||
/// @name Standard Constructors
|
||||
/// @{
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@ namespace gtsam {
|
|||
*/
|
||||
class GTSAM_EXPORT Cal3Unified : public Cal3DS2_Base {
|
||||
|
||||
typedef Cal3Unified This;
|
||||
typedef Cal3DS2_Base Base;
|
||||
using This = Cal3Unified;
|
||||
using Base = Cal3DS2_Base;
|
||||
|
||||
private:
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,9 @@ namespace gtsam {
|
|||
class GTSAM_EXPORT Cal3_S2 : public Cal3 {
|
||||
public:
|
||||
enum { dimension = 5 };
|
||||
typedef boost::shared_ptr<Cal3_S2>
|
||||
shared_ptr; ///< shared pointer to calibration object
|
||||
|
||||
///< shared pointer to calibration object
|
||||
using shared_ptr = boost::shared_ptr<Cal3_S2>;
|
||||
|
||||
/// @name Standard Constructors
|
||||
/// @{
|
||||
|
|
|
|||
|
|
@ -28,14 +28,15 @@ namespace gtsam {
|
|||
* \nosubgrouping
|
||||
*/
|
||||
class GTSAM_EXPORT Cal3_S2Stereo : public Cal3_S2 {
|
||||
private:
|
||||
private:
|
||||
double b_;
|
||||
|
||||
public:
|
||||
public:
|
||||
|
||||
enum { dimension = 6 };
|
||||
|
||||
///< shared pointer to stereo calibration object
|
||||
typedef boost::shared_ptr<Cal3_S2Stereo> shared_ptr;
|
||||
using shared_ptr = boost::shared_ptr<Cal3_S2Stereo>;
|
||||
|
||||
/// @name Standard Constructors
|
||||
/// @
|
||||
|
|
@ -111,7 +112,7 @@ namespace gtsam {
|
|||
/// @name Advanced Interface
|
||||
/// @{
|
||||
|
||||
private:
|
||||
private:
|
||||
/** Serialization function */
|
||||
friend class boost::serialization::access;
|
||||
template<class Archive>
|
||||
|
|
|
|||
Loading…
Reference in New Issue