Example for ThreeDOut object, writes a wrl with a PMatrix
- Author
- MIP
#include "Utils/ThreeDOut.hh"
using namespace std;
using namespace BIAS;
int main(int argc, char* argv[])
{
if (argc<2) {
BIASERR("too few arguments.");
return -1;
}
ifstream ifs(argv[1]);
int i=0, j = 0;
while (ifs.good()) {
if (P.
BBCIn(ifs)!=0)
break;
cout<<".";
if (i++ == 10) {
if (j++==1) {
color[1]=0;
color[2]=0;
}
i=0;
}
}
ifs.close();
cout<<endl;
return 0;
}