main.cc

来自「this is software for visual SLAM」· CC 代码 · 共 47 行

CC
47
字号
// Copyright 2008 Isis Innovation Limited// This is the main extry point for PTAM#include <iostream>#include <gvars3/instances.h>#include "System.h"using namespace std;using namespace GVars3;int main(){  cout << "  Welcome to PTAM " << endl;  cout << "  --------------- " << endl;  cout << "  Parallel tracking and mapping for Small AR workspaces" << endl;  cout << "  Copyright (C) Isis Innovation Limited 2008 " << endl;    cout << endl;  cout << "  Parsing settings.cfg ...." << endl;  GUI.LoadFile("settings.cfg");    GUI.StartParserThread(); // Start parsing of the console input  atexit(GUI.StopParserThread);     try    {      System s;      s.Run();    }  catch(CVD::Exceptions::All e)    {      cout << endl;      cout << "!! Failed to run system; got exception. " << endl;      cout << "   Exception was: " << endl;      cout << e.what << endl;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?