| 
									
										
										
										
											2020-08-18 23:26:34 +08:00
										 |  |  | /**
 | 
					
						
							|  |  |  |  * @file  gtsam.cpp
 | 
					
						
							|  |  |  |  * @brief   The auto-generated wrapper C++ source code.
 | 
					
						
							|  |  |  |  * @author  Duy-Nguyen Ta, Fan Jiang, Matthew Sklar
 | 
					
						
							|  |  |  |  * @date  Aug. 18, 2020
 | 
					
						
							|  |  |  |  *
 | 
					
						
							|  |  |  |  * ** THIS FILE IS AUTO-GENERATED, DO NOT MODIFY! **
 | 
					
						
							|  |  |  |  */
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Include relevant boost libraries required by GTSAM
 | 
					
						
							| 
									
										
										
										
											2020-08-18 23:03:51 +08:00
										 |  |  | {include_boost}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <pybind11/eigen.h>
 | 
					
						
							|  |  |  | #include <pybind11/stl_bind.h>
 | 
					
						
							|  |  |  | #include <pybind11/pybind11.h>
 | 
					
						
							| 
									
										
										
										
											2021-04-08 17:23:02 +08:00
										 |  |  | #include <pybind11/functional.h>
 | 
					
						
							|  |  |  | #include <pybind11/iostream.h>
 | 
					
						
							| 
									
										
										
										
											2020-08-18 23:03:51 +08:00
										 |  |  | #include "gtsam/base/serialization.h"
 | 
					
						
							|  |  |  | #include "gtsam/nonlinear/utilities.h"  // for RedirectCout.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-18 23:26:34 +08:00
										 |  |  | // These are the included headers listed in `gtsam_unstable.i`
 | 
					
						
							| 
									
										
										
										
											2020-08-18 23:03:51 +08:00
										 |  |  | {includes}
 | 
					
						
							|  |  |  | #include <boost/serialization/export.hpp>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {boost_class_export}
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-14 07:30:12 +08:00
										 |  |  | {holder_type}
 | 
					
						
							| 
									
										
										
										
											2020-08-18 23:03:51 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include "python/gtsam_unstable/preamble.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | using namespace std;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace py = pybind11;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | PYBIND11_MODULE({module_name}, m_) {{ | 
					
						
							|  |  |  |     m_.doc() = "pybind11 wrapper of {module_name}";
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-18 23:26:34 +08:00
										 |  |  |     // Note here we need to import the dependent library
 | 
					
						
							| 
									
										
										
										
											2020-08-18 23:03:51 +08:00
										 |  |  |     py::module::import("gtsam");
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {wrapped_namespace}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "python/gtsam_unstable/specializations.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | }}
 | 
					
						
							|  |  |  | 
 |