• 大小: 697KB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2021-06-01
  • 语言: 其他
  • 标签: Pangolin  

资源简介

常用于作为SLAM算法的可视化库,WIndows+VS2013(Update 5)平台兼容

资源截图

代码片段和文件信息

#include 

int main( int /*argc*/ char** /*argv*/ )
{  
    pangolin::CreateWindowAndBind(“Main“640480);
    glEnable(GL_DEPTH_TEST);

    // Define Projection and initial ModelView matrix
    pangolin::OpenGlRenderState s_cam(
        pangolin::ProjectionMatrix(6404804204203202400.2100)
        pangolin::ModelViewLookAt(-22-2 000 pangolin::AxisY)
    );

    // Create Interactive View in window
    pangolin::Handler3D handler(s_cam);
    pangolin::View& d_cam = pangolin::CreateDisplay()
            .SetBounds(0.0 1.0 0.0 1.0 -640.0f/480.0f)
            .SetHandler(&handler);

    while( !pangolin::ShouldQuit() )
    {
        // Clear screen and activate view to render into
        glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
        d_cam.Activate(s_cam);

        // Render OpenGL Cube
        pangolin::glDrawColouredCube();

        // Swap frames and Process Events
        pangolin::Finishframe();
    }
    
    return 0;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-10-10 22:16  Pangolin-0.5\
     文件          56  2016-10-10 22:16  Pangolin-0.5\.gitignore
     文件         592  2016-10-10 22:16  Pangolin-0.5\.travis.yml
     文件        2955  2016-10-10 22:16  Pangolin-0.5\CMakeLists.txt
     目录           0  2016-10-10 22:16  Pangolin-0.5\CMakeModules\
     文件       10333  2016-10-10 22:16  Pangolin-0.5\CMakeModules\AndroidUtils.cmake
     文件         962  2016-10-10 22:16  Pangolin-0.5\CMakeModules\embedBinaryFiles.cmake
     文件         724  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindDC1394.cmake
     文件        1175  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindDepthSense.cmake
     文件        3078  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindEigen3.cmake
     文件        2570  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindFFMPEG.cmake
     文件        1006  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindFREEGLUT.cmake
     文件        1404  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindGLEW.cmake
     文件         827  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindGLUES.cmake
     文件        1287  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindLibRealSense.cmake
     文件        1861  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindOculus.cmake
     文件         727  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindOpenEXR.cmake
     文件        1758  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindOpenNI.cmake
     文件        1800  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindOpenNI2.cmake
     文件        4271  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindPleora.cmake
     文件         994  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindROBOTVISION.cmake
     文件        1688  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindTeliCam.cmake
     文件         533  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindTooN.cmake
     文件         806  2016-10-10 22:16  Pangolin-0.5\CMakeModules\FindXrandr.cmake
     文件        1027  2016-10-10 22:16  Pangolin-0.5\CMakeModules\Findlibusb1.cmake
     文件        1068  2016-10-10 22:16  Pangolin-0.5\CMakeModules\Findpthread.cmake
     文件         825  2016-10-10 22:16  Pangolin-0.5\CMakeModules\Finduvc.cmake
     文件        1140  2016-10-10 22:16  Pangolin-0.5\CMakeModules\SetPlatformVars.cmake
     文件        1103  2016-10-10 22:16  Pangolin-0.5\LICENCE
     文件        3566  2016-10-10 22:16  Pangolin-0.5\README.md
     文件         477  2016-10-10 22:16  Pangolin-0.5\appveyor.yml
............此处省略295个文件信息

评论

共有 条评论