Beispiel #1
0
    static void Main()
    {
        try
        {
            var zivid = new Zivid.NET.Application();

            var FilenameZDF = "Zivid3D.zdf";
            var FilenamePLY = "Zivid3D.ply";

            var frame = new Zivid.NET.Frame(FilenameZDF);

            Console.WriteLine("Saving the frame to " + FilenamePLY);
            frame.Save(FilenamePLY);
        }
        catch (Exception ex)
        {
            Console.WriteLine("Error: " + ex.Message);
            Environment.ExitCode = 1;
        }
    }
Beispiel #2
0
    static void Main()
    {
        try
        {
            var zivid = new Zivid.NET.Application();

            var dataFile =
                Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + "/Zivid/Zivid3D.zdf";
            var pointCloudFile = "Zivid3D.ply";

            var frame = new Zivid.NET.Frame(dataFile);

            Console.WriteLine("Saving point cloud to file: " + pointCloudFile);
            frame.Save(pointCloudFile);
        }
        catch (Exception ex)
        {
            Console.WriteLine("Error: " + ex.Message);
            Environment.ExitCode = 1;
        }
    }