MeshLib Documentation
Loading...
Searching...
No Matches
Basing your application on MeshLib
  • C++ First of all you should make main function like this
    #include <MRMesh/MRLog.h>
    #include <MRMesh/MRSystem.h>
    #include <MRViewer/MRSetupViewer.h>
    #include <MRViewer/MRViewer.h>
    int main( int argc, char** argv )
    {
    MR::Viewer::LaunchParams launchParams{ .argc = argc, .argv = argv };
    MR::Viewer::parseLaunchParams( launchParams );
    launchParams.name = "Your app name";
    return MR::launchDefaultViewer( launchParams, MR::ViewerSetup() );
    }
    int main()
    Definition LaplacianDeformation.cpp:4
    Then you should make your plugins, to find how have a look at State Plugins Overview page