special_cases_wrapper.cpp
Go to the documentation of this file.
1 #include <gtwrap/matlab.h>
2 #include <map>
3 
4 #include <boost/archive/text_iarchive.hpp>
5 #include <boost/archive/text_oarchive.hpp>
6 #include <boost/serialization/export.hpp>
7 
8 #include <folder/path/to/Test.h>
10 #include <gtsam/geometry/Point2.h>
11 #include <gtsam/geometry/Point3.h>
12 #include <path/to/ns1.h>
13 #include <path/to/ns1/ClassB.h>
14 #include <path/to/ns2.h>
15 #include <path/to/ns2/ClassA.h>
16 #include <path/to/ns3.h>
17 
18 typedef Fun<double> FunDouble;
19 typedef PrimitiveRef<double> PrimitiveRefDouble;
20 typedef MyVector<3> MyVector3;
21 typedef MyVector<12> MyVector12;
22 typedef MultipleTemplates<int, double> MultipleTemplatesIntDouble;
23 typedef MultipleTemplates<int, float> MultipleTemplatesIntFloat;
25 typedef MyTemplate<gtsam::Point2> MyTemplatePoint2;
26 typedef MyTemplate<gtsam::Matrix> MyTemplateMatrix;
29 
32 
33 typedef std::set<boost::shared_ptr<FunRange>*> Collector_FunRange;
35 typedef std::set<boost::shared_ptr<FunDouble>*> Collector_FunDouble;
37 typedef std::set<boost::shared_ptr<Test>*> Collector_Test;
39 typedef std::set<boost::shared_ptr<PrimitiveRefDouble>*> Collector_PrimitiveRefDouble;
41 typedef std::set<boost::shared_ptr<MyVector3>*> Collector_MyVector3;
43 typedef std::set<boost::shared_ptr<MyVector12>*> Collector_MyVector12;
45 typedef std::set<boost::shared_ptr<MultipleTemplatesIntDouble>*> Collector_MultipleTemplatesIntDouble;
47 typedef std::set<boost::shared_ptr<MultipleTemplatesIntFloat>*> Collector_MultipleTemplatesIntFloat;
49 typedef std::set<boost::shared_ptr<MyFactorPosePoint2>*> Collector_MyFactorPosePoint2;
51 typedef std::set<boost::shared_ptr<gtsam::Point2>*> Collector_gtsamPoint2;
53 typedef std::set<boost::shared_ptr<gtsam::Point3>*> Collector_gtsamPoint3;
55 typedef std::set<boost::shared_ptr<MyBase>*> Collector_MyBase;
57 typedef std::set<boost::shared_ptr<MyTemplatePoint2>*> Collector_MyTemplatePoint2;
59 typedef std::set<boost::shared_ptr<MyTemplateMatrix>*> Collector_MyTemplateMatrix;
61 typedef std::set<boost::shared_ptr<ForwardKinematicsFactor>*> Collector_ForwardKinematicsFactor;
63 typedef std::set<boost::shared_ptr<ns1::ClassA>*> Collector_ns1ClassA;
65 typedef std::set<boost::shared_ptr<ns1::ClassB>*> Collector_ns1ClassB;
67 typedef std::set<boost::shared_ptr<ns2::ClassA>*> Collector_ns2ClassA;
69 typedef std::set<boost::shared_ptr<ns2::ns3::ClassB>*> Collector_ns2ns3ClassB;
71 typedef std::set<boost::shared_ptr<ns2::ClassC>*> Collector_ns2ClassC;
73 typedef std::set<boost::shared_ptr<ClassD>*> Collector_ClassD;
75 typedef std::set<boost::shared_ptr<gtsam::NonlinearFactorGraph>*> Collector_gtsamNonlinearFactorGraph;
77 typedef std::set<boost::shared_ptr<gtsam::SfmTrack>*> Collector_gtsamSfmTrack;
79 typedef std::set<boost::shared_ptr<PinholeCameraCal3Bundler>*> Collector_gtsamPinholeCameraCal3Bundler;
81 typedef std::set<boost::shared_ptr<GeneralSFMFactorCal3Bundler>*> Collector_gtsamGeneralSFMFactorCal3Bundler;
83 
85 {
86  mstream mout;
87  std::streambuf *outbuf = std::cout.rdbuf(&mout);
88 
89  bool anyDeleted = false;
90  { for(Collector_FunRange::iterator iter = collector_FunRange.begin();
91  iter != collector_FunRange.end(); ) {
92  delete *iter;
93  collector_FunRange.erase(iter++);
94  anyDeleted = true;
95  } }
96  { for(Collector_FunDouble::iterator iter = collector_FunDouble.begin();
97  iter != collector_FunDouble.end(); ) {
98  delete *iter;
99  collector_FunDouble.erase(iter++);
100  anyDeleted = true;
101  } }
102  { for(Collector_Test::iterator iter = collector_Test.begin();
103  iter != collector_Test.end(); ) {
104  delete *iter;
105  collector_Test.erase(iter++);
106  anyDeleted = true;
107  } }
108  { for(Collector_PrimitiveRefDouble::iterator iter = collector_PrimitiveRefDouble.begin();
109  iter != collector_PrimitiveRefDouble.end(); ) {
110  delete *iter;
112  anyDeleted = true;
113  } }
114  { for(Collector_MyVector3::iterator iter = collector_MyVector3.begin();
115  iter != collector_MyVector3.end(); ) {
116  delete *iter;
117  collector_MyVector3.erase(iter++);
118  anyDeleted = true;
119  } }
120  { for(Collector_MyVector12::iterator iter = collector_MyVector12.begin();
121  iter != collector_MyVector12.end(); ) {
122  delete *iter;
123  collector_MyVector12.erase(iter++);
124  anyDeleted = true;
125  } }
126  { for(Collector_MultipleTemplatesIntDouble::iterator iter = collector_MultipleTemplatesIntDouble.begin();
128  delete *iter;
130  anyDeleted = true;
131  } }
132  { for(Collector_MultipleTemplatesIntFloat::iterator iter = collector_MultipleTemplatesIntFloat.begin();
134  delete *iter;
136  anyDeleted = true;
137  } }
138  { for(Collector_MyFactorPosePoint2::iterator iter = collector_MyFactorPosePoint2.begin();
139  iter != collector_MyFactorPosePoint2.end(); ) {
140  delete *iter;
142  anyDeleted = true;
143  } }
144  { for(Collector_gtsamPoint2::iterator iter = collector_gtsamPoint2.begin();
145  iter != collector_gtsamPoint2.end(); ) {
146  delete *iter;
147  collector_gtsamPoint2.erase(iter++);
148  anyDeleted = true;
149  } }
150  { for(Collector_gtsamPoint3::iterator iter = collector_gtsamPoint3.begin();
151  iter != collector_gtsamPoint3.end(); ) {
152  delete *iter;
153  collector_gtsamPoint3.erase(iter++);
154  anyDeleted = true;
155  } }
156  { for(Collector_MyBase::iterator iter = collector_MyBase.begin();
157  iter != collector_MyBase.end(); ) {
158  delete *iter;
159  collector_MyBase.erase(iter++);
160  anyDeleted = true;
161  } }
162  { for(Collector_MyTemplatePoint2::iterator iter = collector_MyTemplatePoint2.begin();
163  iter != collector_MyTemplatePoint2.end(); ) {
164  delete *iter;
166  anyDeleted = true;
167  } }
168  { for(Collector_MyTemplateMatrix::iterator iter = collector_MyTemplateMatrix.begin();
169  iter != collector_MyTemplateMatrix.end(); ) {
170  delete *iter;
172  anyDeleted = true;
173  } }
174  { for(Collector_ForwardKinematicsFactor::iterator iter = collector_ForwardKinematicsFactor.begin();
176  delete *iter;
178  anyDeleted = true;
179  } }
180  { for(Collector_ns1ClassA::iterator iter = collector_ns1ClassA.begin();
181  iter != collector_ns1ClassA.end(); ) {
182  delete *iter;
183  collector_ns1ClassA.erase(iter++);
184  anyDeleted = true;
185  } }
186  { for(Collector_ns1ClassB::iterator iter = collector_ns1ClassB.begin();
187  iter != collector_ns1ClassB.end(); ) {
188  delete *iter;
189  collector_ns1ClassB.erase(iter++);
190  anyDeleted = true;
191  } }
192  { for(Collector_ns2ClassA::iterator iter = collector_ns2ClassA.begin();
193  iter != collector_ns2ClassA.end(); ) {
194  delete *iter;
195  collector_ns2ClassA.erase(iter++);
196  anyDeleted = true;
197  } }
198  { for(Collector_ns2ns3ClassB::iterator iter = collector_ns2ns3ClassB.begin();
199  iter != collector_ns2ns3ClassB.end(); ) {
200  delete *iter;
201  collector_ns2ns3ClassB.erase(iter++);
202  anyDeleted = true;
203  } }
204  { for(Collector_ns2ClassC::iterator iter = collector_ns2ClassC.begin();
205  iter != collector_ns2ClassC.end(); ) {
206  delete *iter;
207  collector_ns2ClassC.erase(iter++);
208  anyDeleted = true;
209  } }
210  { for(Collector_ClassD::iterator iter = collector_ClassD.begin();
211  iter != collector_ClassD.end(); ) {
212  delete *iter;
213  collector_ClassD.erase(iter++);
214  anyDeleted = true;
215  } }
216  { for(Collector_gtsamNonlinearFactorGraph::iterator iter = collector_gtsamNonlinearFactorGraph.begin();
218  delete *iter;
220  anyDeleted = true;
221  } }
222  { for(Collector_gtsamSfmTrack::iterator iter = collector_gtsamSfmTrack.begin();
223  iter != collector_gtsamSfmTrack.end(); ) {
224  delete *iter;
225  collector_gtsamSfmTrack.erase(iter++);
226  anyDeleted = true;
227  } }
228  { for(Collector_gtsamPinholeCameraCal3Bundler::iterator iter = collector_gtsamPinholeCameraCal3Bundler.begin();
230  delete *iter;
232  anyDeleted = true;
233  } }
234  { for(Collector_gtsamGeneralSFMFactorCal3Bundler::iterator iter = collector_gtsamGeneralSFMFactorCal3Bundler.begin();
236  delete *iter;
238  anyDeleted = true;
239  } }
240  if(anyDeleted)
241  cout <<
242  "WARNING: Wrap modules with variables in the workspace have been reloaded due to\n"
243  "calling destructors, call 'clear all' again if you plan to now recompile a wrap\n"
244  "module, so that your recompiled module is used instead of the old one." << endl;
245  std::cout.rdbuf(outbuf);
246 }
247 
249  const mxArray *alreadyCreated = mexGetVariablePtr("global", "gtsam_special_cases_rttiRegistry_created");
250  if(!alreadyCreated) {
251  std::map<std::string, std::string> types;
252  types.insert(std::make_pair(typeid(MyBase).name(), "MyBase"));
253  types.insert(std::make_pair(typeid(MyTemplatePoint2).name(), "MyTemplatePoint2"));
254  types.insert(std::make_pair(typeid(MyTemplateMatrix).name(), "MyTemplateMatrix"));
255  types.insert(std::make_pair(typeid(ForwardKinematicsFactor).name(), "ForwardKinematicsFactor"));
256 
257  mxArray *registry = mexGetVariable("global", "gtsamwrap_rttiRegistry");
258  if(!registry)
259  registry = mxCreateStructMatrix(1, 1, 0, NULL);
260  typedef std::pair<std::string, std::string> StringPair;
261  for(const StringPair& rtti_matlab: types) {
262  int fieldId = mxAddField(registry, rtti_matlab.first.c_str());
263  if(fieldId < 0)
264  mexErrMsgTxt("gtsam wrap: Error indexing RTTI types, inheritance will not work correctly");
265  mxArray *matlabName = mxCreateString(rtti_matlab.second.c_str());
266  mxSetFieldByNumber(registry, 0, fieldId, matlabName);
267  }
268  if(mexPutVariable("global", "gtsamwrap_rttiRegistry", registry) != 0)
269  mexErrMsgTxt("gtsam wrap: Error indexing RTTI types, inheritance will not work correctly");
270  mxDestroyArray(registry);
271 
272  mxArray *newAlreadyCreated = mxCreateNumericMatrix(0, 0, mxINT8_CLASS, mxREAL);
273  if(mexPutVariable("global", "gtsam_geometry_rttiRegistry_created", newAlreadyCreated) != 0)
274  mexErrMsgTxt("gtsam wrap: Error indexing RTTI types, inheritance will not work correctly");
275  mxDestroyArray(newAlreadyCreated);
276  }
277 }
278 
279 void gtsamNonlinearFactorGraph_collectorInsertAndMakeBase_0(int nargout, mxArray *out[], int nargin, const mxArray *in[])
280 {
281  mexAtExit(&_deleteAllObjects);
282  typedef boost::shared_ptr<gtsam::NonlinearFactorGraph> Shared;
283 
284  Shared *self = *reinterpret_cast<Shared**> (mxGetData(in[0]));
286 }
287 
288 void gtsamNonlinearFactorGraph_deconstructor_1(int nargout, mxArray *out[], int nargin, const mxArray *in[])
289 {
290  typedef boost::shared_ptr<gtsam::NonlinearFactorGraph> Shared;
291  checkArguments("delete_gtsamNonlinearFactorGraph",nargout,nargin,1);
292  Shared *self = *reinterpret_cast<Shared**>(mxGetData(in[0]));
293  Collector_gtsamNonlinearFactorGraph::iterator item;
294  item = collector_gtsamNonlinearFactorGraph.find(self);
295  if(item != collector_gtsamNonlinearFactorGraph.end()) {
296  delete self;
298  }
299 }
300 
301 void gtsamNonlinearFactorGraph_addPrior_2(int nargout, mxArray *out[], int nargin, const mxArray *in[])
302 {
303  checkArguments("addPriorPinholeCameraCal3Bundler",nargout,nargin-1,3);
304  auto obj = unwrap_shared_ptr<gtsam::NonlinearFactorGraph>(in[0], "ptr_gtsamNonlinearFactorGraph");
305  size_t key = unwrap< size_t >(in[1]);
306  gtsam::PinholeCamera<gtsam::Cal3Bundler>& prior = *unwrap_shared_ptr< gtsam::PinholeCamera<gtsam::Cal3Bundler> >(in[2], "ptr_gtsamPinholeCameraCal3Bundler");
307  boost::shared_ptr<gtsam::noiseModel::Base> noiseModel = unwrap_shared_ptr< gtsam::noiseModel::Base >(in[3], "ptr_gtsamnoiseModelBase");
308  obj->addPrior<gtsam::PinholeCamera<gtsam::Cal3Bundler>>(key,prior,noiseModel);
309 }
310 
311 void gtsamSfmTrack_collectorInsertAndMakeBase_3(int nargout, mxArray *out[], int nargin, const mxArray *in[])
312 {
313  mexAtExit(&_deleteAllObjects);
314  typedef boost::shared_ptr<gtsam::SfmTrack> Shared;
315 
316  Shared *self = *reinterpret_cast<Shared**> (mxGetData(in[0]));
317  collector_gtsamSfmTrack.insert(self);
318 }
319 
320 void gtsamSfmTrack_deconstructor_4(int nargout, mxArray *out[], int nargin, const mxArray *in[])
321 {
322  typedef boost::shared_ptr<gtsam::SfmTrack> Shared;
323  checkArguments("delete_gtsamSfmTrack",nargout,nargin,1);
324  Shared *self = *reinterpret_cast<Shared**>(mxGetData(in[0]));
325  Collector_gtsamSfmTrack::iterator item;
326  item = collector_gtsamSfmTrack.find(self);
327  if(item != collector_gtsamSfmTrack.end()) {
328  delete self;
329  collector_gtsamSfmTrack.erase(item);
330  }
331 }
332 
333 void gtsamPinholeCameraCal3Bundler_collectorInsertAndMakeBase_5(int nargout, mxArray *out[], int nargin, const mxArray *in[])
334 {
335  mexAtExit(&_deleteAllObjects);
336  typedef boost::shared_ptr<gtsam::PinholeCamera<gtsam::Cal3Bundler>> Shared;
337 
338  Shared *self = *reinterpret_cast<Shared**> (mxGetData(in[0]));
340 }
341 
342 void gtsamPinholeCameraCal3Bundler_deconstructor_6(int nargout, mxArray *out[], int nargin, const mxArray *in[])
343 {
344  typedef boost::shared_ptr<gtsam::PinholeCamera<gtsam::Cal3Bundler>> Shared;
345  checkArguments("delete_gtsamPinholeCameraCal3Bundler",nargout,nargin,1);
346  Shared *self = *reinterpret_cast<Shared**>(mxGetData(in[0]));
347  Collector_gtsamPinholeCameraCal3Bundler::iterator item;
348  item = collector_gtsamPinholeCameraCal3Bundler.find(self);
349  if(item != collector_gtsamPinholeCameraCal3Bundler.end()) {
350  delete self;
352  }
353 }
354 
355 void gtsamGeneralSFMFactorCal3Bundler_collectorInsertAndMakeBase_7(int nargout, mxArray *out[], int nargin, const mxArray *in[])
356 {
357  mexAtExit(&_deleteAllObjects);
358  typedef boost::shared_ptr<gtsam::GeneralSFMFactor<gtsam::PinholeCamera<gtsam::Cal3Bundler>, gtsam::Point3>> Shared;
359 
360  Shared *self = *reinterpret_cast<Shared**> (mxGetData(in[0]));
362 }
363 
364 void gtsamGeneralSFMFactorCal3Bundler_deconstructor_8(int nargout, mxArray *out[], int nargin, const mxArray *in[])
365 {
366  typedef boost::shared_ptr<gtsam::GeneralSFMFactor<gtsam::PinholeCamera<gtsam::Cal3Bundler>, gtsam::Point3>> Shared;
367  checkArguments("delete_gtsamGeneralSFMFactorCal3Bundler",nargout,nargin,1);
368  Shared *self = *reinterpret_cast<Shared**>(mxGetData(in[0]));
369  Collector_gtsamGeneralSFMFactorCal3Bundler::iterator item;
372  delete self;
374  }
375 }
376 
377 
378 void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
379 {
380  mstream mout;
381  std::streambuf *outbuf = std::cout.rdbuf(&mout);
382 
384 
385  int id = unwrap<int>(in[0]);
386 
387  try {
388  switch(id) {
389  case 0:
390  gtsamNonlinearFactorGraph_collectorInsertAndMakeBase_0(nargout, out, nargin-1, in+1);
391  break;
392  case 1:
393  gtsamNonlinearFactorGraph_deconstructor_1(nargout, out, nargin-1, in+1);
394  break;
395  case 2:
396  gtsamNonlinearFactorGraph_addPrior_2(nargout, out, nargin-1, in+1);
397  break;
398  case 3:
399  gtsamSfmTrack_collectorInsertAndMakeBase_3(nargout, out, nargin-1, in+1);
400  break;
401  case 4:
402  gtsamSfmTrack_deconstructor_4(nargout, out, nargin-1, in+1);
403  break;
404  case 5:
406  break;
407  case 6:
408  gtsamPinholeCameraCal3Bundler_deconstructor_6(nargout, out, nargin-1, in+1);
409  break;
410  case 7:
412  break;
413  case 8:
414  gtsamGeneralSFMFactorCal3Bundler_deconstructor_8(nargout, out, nargin-1, in+1);
415  break;
416  }
417  } catch(const std::exception& e) {
418  mexErrMsgTxt(("Exception from gtsam:\n" + std::string(e.what()) + "\n").c_str());
419  }
420 
421  std::cout.rdbuf(outbuf);
422 }
int unwrap< int >(const mxArray *array)
Definition: matlab.h:295
std::set< boost::shared_ptr< MultipleTemplatesIntDouble > * > Collector_MultipleTemplatesIntDouble
Fun< double > FunDouble
std::set< boost::shared_ptr< gtsam::Point2 > * > Collector_gtsamPoint2
std::set< boost::shared_ptr< MyFactorPosePoint2 > * > Collector_MyFactorPosePoint2
static Collector_MyVector12 collector_MyVector12
std::set< boost::shared_ptr< Test > * > Collector_Test
std::set< boost::shared_ptr< MyVector12 > * > Collector_MyVector12
std::set< boost::shared_ptr< ns2::ns3::ClassB > * > Collector_ns2ns3ClassB
MyVector< 12 > MyVector12
static Collector_PrimitiveRefDouble collector_PrimitiveRefDouble
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
std::set< boost::shared_ptr< ns2::ClassA > * > Collector_ns2ClassA
Point2 prior(const Point2 &x)
Prior on a single pose.
Definition: simulated2D.h:87
void gtsamNonlinearFactorGraph_deconstructor_1(int nargout, mxArray *out[], int nargin, const mxArray *in[])
std::set< boost::shared_ptr< GeneralSFMFactorCal3Bundler > * > Collector_gtsamGeneralSFMFactorCal3Bundler
std::set< boost::shared_ptr< FunDouble > * > Collector_FunDouble
void checkArguments(const string &name, int nargout, int nargin, int expected)
Definition: matlab.h:116
std::set< boost::shared_ptr< ForwardKinematicsFactor > * > Collector_ForwardKinematicsFactor
Vector2 Point2
Definition: Point2.h:27
std::set< boost::shared_ptr< Test > * > Collector_Test
void gtsamGeneralSFMFactorCal3Bundler_deconstructor_8(int nargout, mxArray *out[], int nargin, const mxArray *in[])
MultipleTemplates< int, float > MultipleTemplatesIntFloat
MyTemplate< gtsam::Matrix > MyTemplateMatrix
static Collector_ns1ClassB collector_ns1ClassB
std::set< boost::shared_ptr< ns2::ClassC > * > Collector_ns2ClassC
MyTemplate< gtsam::Point2 > MyTemplatePoint2
gtsam::PinholeCamera< gtsam::Cal3Bundler > PinholeCameraCal3Bundler
static Collector_MultipleTemplatesIntFloat collector_MultipleTemplatesIntFloat
void gtsamPinholeCameraCal3Bundler_deconstructor_6(int nargout, mxArray *out[], int nargin, const mxArray *in[])
iterator iter(handle obj)
Definition: pytypes.h:1547
std::set< boost::shared_ptr< gtsam::Point3 > * > Collector_gtsamPoint3
size_t unwrap< size_t >(const mxArray *array)
Definition: matlab.h:302
std::set< boost::shared_ptr< MyBase > * > Collector_MyBase
std::set< boost::shared_ptr< ClassD > * > Collector_ClassD
std::set< boost::shared_ptr< MyVector12 > * > Collector_MyVector12
static Collector_gtsamPinholeCameraCal3Bundler collector_gtsamPinholeCameraCal3Bundler
GeneralSFMFactor< SfmCamera, Point3 > MyFactor
void gtsamSfmTrack_deconstructor_4(int nargout, mxArray *out[], int nargin, const mxArray *in[])
std::set< boost::shared_ptr< MultipleTemplatesIntDouble > * > Collector_MultipleTemplatesIntDouble
std::set< boost::shared_ptr< ns2::ClassC > * > Collector_ns2ClassC
void gtsamGeneralSFMFactorCal3Bundler_collectorInsertAndMakeBase_7(int nargout, mxArray *out[], int nargin, const mxArray *in[])
std::set< boost::shared_ptr< PinholeCameraCal3Bundler > * > Collector_gtsamPinholeCameraCal3Bundler
std::set< boost::shared_ptr< ns1::ClassA > * > Collector_ns1ClassA
static Collector_FunRange collector_FunRange
MyFactor< gtsam::Pose2, gtsam::Matrix > MyFactorPosePoint2
void _special_cases_RTTIRegister()
MyTemplate< gtsam::Matrix > MyTemplateMatrix
static Collector_MyTemplatePoint2 collector_MyTemplatePoint2
std::set< boost::shared_ptr< MyVector3 > * > Collector_MyVector3
static Collector_gtsamPoint3 collector_gtsamPoint3
std::set< boost::shared_ptr< MultipleTemplatesIntFloat > * > Collector_MultipleTemplatesIntFloat
static Collector_MyFactorPosePoint2 collector_MyFactorPosePoint2
std::set< boost::shared_ptr< MyTemplateMatrix > * > Collector_MyTemplateMatrix
std::set< boost::shared_ptr< gtsam::Point2 > * > Collector_gtsamPoint2
void gtsamPinholeCameraCal3Bundler_collectorInsertAndMakeBase_5(int nargout, mxArray *out[], int nargin, const mxArray *in[])
std::set< boost::shared_ptr< ns2::ns3::ClassB > * > Collector_ns2ns3ClassB
std::set< boost::shared_ptr< MyFactorPosePoint2 > * > Collector_MyFactorPosePoint2
std::set< boost::shared_ptr< MyTemplatePoint2 > * > Collector_MyTemplatePoint2
static Collector_FunDouble collector_FunDouble
std::set< boost::shared_ptr< MyTemplateMatrix > * > Collector_MyTemplateMatrix
std::set< boost::shared_ptr< ns1::ClassA > * > Collector_ns1ClassA
static Collector_ns1ClassA collector_ns1ClassA
static Collector_gtsamSfmTrack collector_gtsamSfmTrack
std::set< boost::shared_ptr< ns2::ClassA > * > Collector_ns2ClassA
MultipleTemplates< int, double > MultipleTemplatesIntDouble
std::set< boost::shared_ptr< FunDouble > * > Collector_FunDouble
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::set< boost::shared_ptr< PrimitiveRefDouble > * > Collector_PrimitiveRefDouble
std::set< boost::shared_ptr< PrimitiveRefDouble > * > Collector_PrimitiveRefDouble
std::set< boost::shared_ptr< ForwardKinematicsFactor > * > Collector_ForwardKinematicsFactor
PrimitiveRef< double > PrimitiveRefDouble
gtsam::GeneralSFMFactor< gtsam::PinholeCamera< gtsam::Cal3Bundler >, gtsam::Point3 > GeneralSFMFactorCal3Bundler
#define NULL
Definition: ccolamd.c:609
static Collector_MyTemplateMatrix collector_MyTemplateMatrix
void _deleteAllObjects()
std::set< boost::shared_ptr< gtsam::NonlinearFactorGraph > * > Collector_gtsamNonlinearFactorGraph
static Collector_ClassD collector_ClassD
static Collector_MyVector3 collector_MyVector3
static Collector_ns2ns3ClassB collector_ns2ns3ClassB
std::set< boost::shared_ptr< ClassD > * > Collector_ClassD
std::set< boost::shared_ptr< MyVector3 > * > Collector_MyVector3
std::set< boost::shared_ptr< ns1::ClassB > * > Collector_ns1ClassB
void gtsamSfmTrack_collectorInsertAndMakeBase_3(int nargout, mxArray *out[], int nargin, const mxArray *in[])
std::set< boost::shared_ptr< ns1::ClassB > * > Collector_ns1ClassB
MyTemplate< gtsam::Point2 > MyTemplatePoint2
static Collector_gtsamGeneralSFMFactorCal3Bundler collector_gtsamGeneralSFMFactorCal3Bundler
BOOST_CLASS_EXPORT_GUID(gtsam::Point2,"gtsamPoint2")
std::set< boost::shared_ptr< FunRange > * > Collector_FunRange
3D Point
static Collector_MyBase collector_MyBase
static Collector_ns2ClassC collector_ns2ClassC
static Collector_Test collector_Test
std::set< boost::shared_ptr< gtsam::Point3 > * > Collector_gtsamPoint3
static Collector_MultipleTemplatesIntDouble collector_MultipleTemplatesIntDouble
MyVector< 3 > MyVector3
static Collector_ForwardKinematicsFactor collector_ForwardKinematicsFactor
void gtsamNonlinearFactorGraph_collectorInsertAndMakeBase_0(int nargout, mxArray *out[], int nargin, const mxArray *in[])
Vector3 Point3
Definition: Point3.h:35
static Collector_ns2ClassA collector_ns2ClassA
static Collector_gtsamNonlinearFactorGraph collector_gtsamNonlinearFactorGraph
std::set< boost::shared_ptr< MyTemplatePoint2 > * > Collector_MyTemplatePoint2
2D Point
std::set< boost::shared_ptr< MyBase > * > Collector_MyBase
Calibration used by Bundler.
Definition: matlab.h:98
static Collector_gtsamPoint2 collector_gtsamPoint2
std::set< boost::shared_ptr< FunRange > * > Collector_FunRange
std::set< boost::shared_ptr< MultipleTemplatesIntFloat > * > Collector_MultipleTemplatesIntFloat
std::set< boost::shared_ptr< gtsam::SfmTrack > * > Collector_gtsamSfmTrack
void gtsamNonlinearFactorGraph_addPrior_2(int nargout, mxArray *out[], int nargin, const mxArray *in[])


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:44:47