📄 testmarch.cpp
字号:
//#include "pifcorrect.h"
#include "stdio.h"#include "extractisosurf.h"int main(int argc, char **argv){ //float T = 70.f; //PifFile Map3DPifFile; //printf("input threashold:\n"); //scanf("%f", &T); //printf("reading 3D map...\n"); //ReadPifFile3D(&Map3DPifFile,"sys$login:polyoma.pif");
if (argc==1)
{
printf("using default parameters...\n"); ExtractIsoSurf3("skull.txt", "skull.wrl", 70.f, 1);
return 0;
}
else if (argc==4)
{
printf("using given parameters (no check performed)...\n");
ExtractIsoSurf3(argv[1], argv[2], (float)atof(argv[3]), 1);
return 0;
}
printf("usage: %s [<input file> <output file> <threashhold>]\n",argv[0]);
return 1; //ReleasePifFile(&Map3DPifFile);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -