-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'wrap/' changes from 9a467794e..96ccdfd0b
96ccdfd0b Merge pull request #65 from borglab/fix/special-cases 04c06b7e6 Merge pull request #63 from borglab/fix/cmake bf2c91bd2 fix issue in template instantiation generator 152dbcb12 test for special cases d03004b24 fixed the cmake to discover the correct python version and set all corresponding variables 4cf66e0da Merge pull request #61 from borglab/fix/python-variables 80558e35b added more status messages and set the PYBIND11_PYTHON_VERSION each time 73afd1b0a set both sets of Python variables and find python version when including PybindWrap REVERT: 9a467794e Merge pull request #61 from borglab/fix/python-variables REVERT: 6bae7af99 added more status messages and set the PYBIND11_PYTHON_VERSION each time REVERT: 5129cf3b9 set both sets of Python variables and find python version when including PybindWrap git-subtree-dir: wrap git-subtree-split: 96ccdfd0b84a4dbf1b3e9ed31b95ebc2758be9cc
- Loading branch information
1 parent
34aae4f
commit c78ca4b
Showing
10 changed files
with
542 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
%class NonlinearFactorGraph, see Doxygen page for details | ||
%at https://gtsam.org/doxygen/ | ||
% | ||
%-------Methods------- | ||
%addPriorPinholeCameraCal3Bundler(size_t key, PinholeCamera<Cal3Bundler> prior, Base noiseModel) : returns void | ||
% | ||
classdef NonlinearFactorGraph < handle | ||
properties | ||
ptr_gtsamNonlinearFactorGraph = 0 | ||
end | ||
methods | ||
function obj = NonlinearFactorGraph(varargin) | ||
if nargin == 2 && isa(varargin{1}, 'uint64') && varargin{1} == uint64(5139824614673773682) | ||
my_ptr = varargin{2}; | ||
special_cases_wrapper(0, my_ptr); | ||
else | ||
error('Arguments do not match any overload of gtsam.NonlinearFactorGraph constructor'); | ||
end | ||
obj.ptr_gtsamNonlinearFactorGraph = my_ptr; | ||
end | ||
|
||
function delete(obj) | ||
special_cases_wrapper(1, obj.ptr_gtsamNonlinearFactorGraph); | ||
end | ||
|
||
function display(obj), obj.print(''); end | ||
%DISPLAY Calls print on the object | ||
function disp(obj), obj.display; end | ||
%DISP Calls print on the object | ||
function varargout = addPriorPinholeCameraCal3Bundler(this, varargin) | ||
% ADDPRIORPINHOLECAMERACAL3BUNDLER usage: addPriorPinholeCameraCal3Bundler(size_t key, PinholeCamera<Cal3Bundler> prior, Base noiseModel) : returns void | ||
% Doxygen can be found at https://gtsam.org/doxygen/ | ||
if length(varargin) == 3 && isa(varargin{1},'numeric') && isa(varargin{2},'gtsam.PinholeCameraCal3Bundler') && isa(varargin{3},'gtsam.noiseModel.Base') | ||
special_cases_wrapper(2, this, varargin{:}); | ||
return | ||
end | ||
error('Arguments do not match any overload of function gtsam.NonlinearFactorGraph.addPriorPinholeCameraCal3Bundler'); | ||
end | ||
|
||
end | ||
|
||
methods(Static = true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
%class PinholeCameraCal3Bundler, see Doxygen page for details | ||
%at https://gtsam.org/doxygen/ | ||
% | ||
classdef PinholeCameraCal3Bundler < handle | ||
properties | ||
ptr_gtsamPinholeCameraCal3Bundler = 0 | ||
end | ||
methods | ||
function obj = PinholeCameraCal3Bundler(varargin) | ||
if nargin == 2 && isa(varargin{1}, 'uint64') && varargin{1} == uint64(5139824614673773682) | ||
my_ptr = varargin{2}; | ||
special_cases_wrapper(3, my_ptr); | ||
else | ||
error('Arguments do not match any overload of gtsam.PinholeCameraCal3Bundler constructor'); | ||
end | ||
obj.ptr_gtsamPinholeCameraCal3Bundler = my_ptr; | ||
end | ||
|
||
function delete(obj) | ||
special_cases_wrapper(4, obj.ptr_gtsamPinholeCameraCal3Bundler); | ||
end | ||
|
||
function display(obj), obj.print(''); end | ||
%DISPLAY Calls print on the object | ||
function disp(obj), obj.display; end | ||
%DISP Calls print on the object | ||
end | ||
|
||
methods(Static = true) | ||
end | ||
end |
Oops, something went wrong.