Open3D (C++ API)  0.18.0+fcf98ee
open3d::visualization::app Namespace Reference


void RunViewer (int argc, const char *argv[])

Function Documentation

◆ RunViewer()

void open3d::visualization::app::RunViewer ( int  argc,
const char *  argv[] 

Runs Open3D Viewer. This function is called when the standalone viewer app is run or when the draw command is called from the command line interface.

argc(argument count) is the number of arguments in argv .
argv(argument vector) is the array of arguments stored as character arrays. It contains the path of the calling program (which should be in the same directory as the gui resources folder) as the first argument. The optional second argument is the path of the geometry file to be visualized