#include <Utils/ThreeDOut.hh>
#include <Geometry/Projection.hh>
#include <Base/Image/ImageIO.hh>
#include <Base/Image/ImageConvert.hh>
#include <iostream>
#include <Base/Math/Random.hh>
using namespace std;
using namespace BIAS;
int main(int argc, char* argv[])
{
if(argc<4) {
cout<<"usage:\n";
cout<<argv[0]<<" <projectionFile.xml> <ouputFile> [texture]\n";
return -1;
}
int count = atoi(argv[3]);
for(int i = 0; i < count; i++){
(double)(rand()%1000)/100.0);
(double)(rand()%1000)/100.0,
(double)(rand()%1000)/100.0,
(double)(rand()%1000)/100.0);
(double)(rand()%1000)/100.0,
(double)(rand()%1000)/100.0);
R.
SetXYZ((
double)(rand()%1000)/100.0,
(double)(rand()%1000)/100.0,
(double)(rand()%1000)/100.0);
cout << Q[0] << ", " << Q[1] << ", " << Q[2] << ", " << Q[3] << endl;
cout<<"Fatal error generating projection object!\n";
return -1;
}
1.3,
(double)(rand()%100)/100.00,
"puppy me", (rand()%2));
cout << "Projection " << i << " added" << endl;
}
cout<<"finished\n"<<flush;
return 0;
}