// モデルフォーマットを変更する
        private void ChangeModelFormat()
        {
            if ( fileFormat == PXCM3DScan.FileFormat.OBJ ){
                fileFormat = PXCM3DScan.FileFormat.STL;
            }
            else if ( fileFormat == PXCM3DScan.FileFormat.STL ){
                fileFormat = PXCM3DScan.FileFormat.PLY;
            }
            else {
                fileFormat = PXCM3DScan.FileFormat.OBJ;
            }

            ShowModelFormat();
        }
Ejemplo n.º 2
0
        // モデルフォーマットを変更する
        private void ChangeModelFormat()
        {
            if (fileFormat == PXCM3DScan.FileFormat.OBJ)
            {
                fileFormat = PXCM3DScan.FileFormat.STL;
            }
            else if (fileFormat == PXCM3DScan.FileFormat.STL)
            {
                fileFormat = PXCM3DScan.FileFormat.PLY;
            }
            else
            {
                fileFormat = PXCM3DScan.FileFormat.OBJ;
            }

            ShowModelFormat();
        }
Ejemplo n.º 3
0
 public static String ToString(this PXCM3DScan.FileFormat format)
 {
     return(PXCM3DScan.FileFormatToString(format));
 }