removed .cpp files of deprecated LieXXX.h
parent
3b16ad2967
commit
83d4296255
|
@ -1,27 +0,0 @@
|
||||||
/* ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
|
|
||||||
* Atlanta, Georgia 30332-0415
|
|
||||||
* All Rights Reserved
|
|
||||||
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
|
|
||||||
|
|
||||||
* See LICENSE for the license information
|
|
||||||
|
|
||||||
* -------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @file LieMatrix.cpp
|
|
||||||
* @brief A wrapper around Matrix providing Lie compatibility
|
|
||||||
* @author Richard Roberts and Alex Cunningham
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <gtsam/base/deprecated/LieMatrix_Deprecated.h>
|
|
||||||
|
|
||||||
namespace gtsam {
|
|
||||||
|
|
||||||
/* ************************************************************************* */
|
|
||||||
void LieMatrix::print(const std::string& name) const {
|
|
||||||
gtsam::print(matrix(), name);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file LieMatrix.h
|
* @file LieMatrix.h
|
||||||
* @brief External deprecation warning, see LieMatrix_Deprecated.h for details
|
* @brief External deprecation warning, see deprecated/LieMatrix.h for details
|
||||||
* @author Paul Drews
|
* @author Paul Drews
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -23,4 +23,4 @@
|
||||||
#warning "LieMatrix.h is deprecated. Please use Eigen::Matrix instead."
|
#warning "LieMatrix.h is deprecated. Please use Eigen::Matrix instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "gtsam/base/LieMatrix_Deprecated.h"
|
#include "gtsam/base/deprecated/LieMatrix.h"
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
/*
|
|
||||||
* LieScalar.cpp
|
|
||||||
*
|
|
||||||
* Created on: Apr 12, 2013
|
|
||||||
* Author: thduynguyen
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <gtsam/base/deprecated/LieScalar_Deprecated.h>
|
|
||||||
|
|
||||||
namespace gtsam {
|
|
||||||
void LieScalar::print(const std::string& name) const {
|
|
||||||
std::cout << name << ": " << d_ << std::endl;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file LieScalar.h
|
* @file LieScalar.h
|
||||||
* @brief External deprecation warning, see LieScalar_Deprecated.h for details
|
* @brief External deprecation warning, see deprecated/LieScalar.h for details
|
||||||
* @author Kai Ni
|
* @author Kai Ni
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -23,4 +23,4 @@
|
||||||
#warning "LieScalar.h is deprecated. Please use double/float instead."
|
#warning "LieScalar.h is deprecated. Please use double/float instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gtsam/base/LieScalar_Deprecated.h>
|
#include <gtsam/base/deprecated/LieScalar.h>
|
||||||
|
|
|
@ -1,40 +0,0 @@
|
||||||
/* ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
|
|
||||||
* Atlanta, Georgia 30332-0415
|
|
||||||
* All Rights Reserved
|
|
||||||
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
|
|
||||||
|
|
||||||
* See LICENSE for the license information
|
|
||||||
|
|
||||||
* -------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @file LieVector.cpp
|
|
||||||
* @brief Implementations for LieVector functions
|
|
||||||
* @author Alex Cunningham
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <gtsam/base/deprecated/LieVector_Deprecated.h>
|
|
||||||
#include <cstdarg>
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
namespace gtsam {
|
|
||||||
|
|
||||||
/* ************************************************************************* */
|
|
||||||
LieVector::LieVector(size_t m, const double* const data)
|
|
||||||
: Vector(m)
|
|
||||||
{
|
|
||||||
for(size_t i = 0; i < m; i++)
|
|
||||||
(*this)(i) = data[i];
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ************************************************************************* */
|
|
||||||
void LieVector::print(const std::string& name) const {
|
|
||||||
gtsam::print(vector(), name);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Does not compile because LieVector is not fixed size.
|
|
||||||
// GTSAM_CONCEPT_LIE_INST(LieVector)
|
|
||||||
} // \namespace gtsam
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file LieVector.h
|
* @file LieVector.h
|
||||||
* @brief Deprecation warning for LieVector_Deprecated.h, see LieVector_Deprecated.h for details.
|
* @brief Deprecation warning for LieVector, see deprecated/LieVector.h for details.
|
||||||
* @author Paul Drews
|
* @author Paul Drews
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -23,4 +23,4 @@
|
||||||
#warning "LieVector.h is deprecated. Please use Eigen::Vector instead."
|
#warning "LieVector.h is deprecated. Please use Eigen::Vector instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gtsam/base/deprecated/LieVector_Deprecated.h>
|
#include <gtsam/base/deprecated/LieVector.h>
|
||||||
|
|
Loading…
Reference in New Issue