mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Suppport for MSVC DLLs.
Change-Id: Ibbcc4ba4e59f5bbf1cb91fe81c7d3b9042d03493
This commit is contained in:
@@ -107,7 +107,7 @@ namespace ceres {
|
||||
//
|
||||
// The class LocalParameterization defines the function Plus and its
|
||||
// Jacobian which is needed to compute the Jacobian of f w.r.t delta.
|
||||
class LocalParameterization {
|
||||
class CERES_EXPORT LocalParameterization {
|
||||
public:
|
||||
virtual ~LocalParameterization() {}
|
||||
|
||||
@@ -133,7 +133,7 @@ class LocalParameterization {
|
||||
// Some basic parameterizations
|
||||
|
||||
// Identity Parameterization: Plus(x, delta) = x + delta
|
||||
class IdentityParameterization : public LocalParameterization {
|
||||
class CERES_EXPORT IdentityParameterization : public LocalParameterization {
|
||||
public:
|
||||
explicit IdentityParameterization(int size);
|
||||
virtual ~IdentityParameterization() {}
|
||||
@@ -150,7 +150,7 @@ class IdentityParameterization : public LocalParameterization {
|
||||
};
|
||||
|
||||
// Hold a subset of the parameters inside a parameter block constant.
|
||||
class SubsetParameterization : public LocalParameterization {
|
||||
class CERES_EXPORT SubsetParameterization : public LocalParameterization {
|
||||
public:
|
||||
explicit SubsetParameterization(int size,
|
||||
const vector<int>& constant_parameters);
|
||||
@@ -172,7 +172,7 @@ class SubsetParameterization : public LocalParameterization {
|
||||
// with * being the quaternion multiplication operator. Here we assume
|
||||
// that the first element of the quaternion vector is the real (cos
|
||||
// theta) part.
|
||||
class QuaternionParameterization : public LocalParameterization {
|
||||
class CERES_EXPORT QuaternionParameterization : public LocalParameterization {
|
||||
public:
|
||||
virtual ~QuaternionParameterization() {}
|
||||
virtual bool Plus(const double* x,
|
||||
|
||||
Reference in New Issue
Block a user