forked from borglab/gtsam
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.i
More file actions
17 lines (15 loc) · 739 Bytes
/
Copy pathcustom.i
File metadata and controls
17 lines (15 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace gtsam {
// MATLAB-only declarations that are merged into the generated toolbox in
// addition to the normal GTSAM interfaces. This file exposes the native helper
// class that bridges gtsam::CustomFactor to the MATLAB callback registry.
//
// The constructor intentionally accepts gtsam::noiseModel::Base* here because
// that matches the generated MATLAB wrapper surface. The corresponding C++
// constructor takes noiseModel::Base::shared_ptr after unwrap.
#include <MatlabCustomFactor.h>
virtual class MatlabCustomFactor : gtsam::NoiseModelFactor {
MatlabCustomFactor(gtsam::noiseModel::Base* noiseModel,
const gtsam::KeyVector& keys,
size_t callbackId);
};
} // namespace gtsam