Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SOLVER_PROPERTY_H
00018 #define SOLVER_PROPERTY_H
00019
00020 #include <string>
00021
00022 namespace g2o {
00023
00027 struct SolverProperty
00028 {
00029 std::string name;
00030 std::string desc;
00031 std::string type;
00032 bool requiresMarginalize;
00033 int poseDim;
00034 int landmarkDim;
00035 SolverProperty() :
00036 name(), desc(), type(), requiresMarginalize(false), poseDim(-1), landmarkDim(-1)
00037 {
00038 }
00039 SolverProperty(const std::string& name_, const std::string& desc_, const std::string& type_, bool requiresMarginalize_, int poseDim_, int landmarkDim_) :
00040 name(name_), desc(desc_), type(type_), requiresMarginalize(requiresMarginalize_), poseDim(poseDim_), landmarkDim(landmarkDim_)
00041 {
00042 }
00043 };
00044
00045 }
00046
00047 #endif