Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "types_six_dof_quat.h"
00018 #include "g2o/core/factory.h"
00019
00020 #include <iostream>
00021
00022 namespace g2o {
00023 using namespace std;
00024
00025 void __attribute__ ((constructor)) init_three_d_types(void)
00026 {
00027 Factory* factory = Factory::instance();
00028
00029 factory->registerType("VERTEX_SE3:QUAT", new HyperGraphElementCreator<VertexSE3>);
00030 factory->registerType("EDGE_SE3:QUAT", new HyperGraphElementCreator<EdgeSE3>);
00031
00032 HyperGraphActionLibrary* actionLib = HyperGraphActionLibrary::instance();
00033 actionLib->registerAction(new VertexSE3WriteGnuplotAction);
00034 actionLib->registerAction(new EdgeSE3WriteGnuplotAction);
00035
00036 #ifdef G2O_HAVE_OPENGL
00037 actionLib->registerAction(new VertexSE3DrawAction);
00038 actionLib->registerAction(new EdgeSE3DrawAction);
00039 #endif
00040 }
00041
00042 }