This project is read-only.

FrameWork API:

class IG_API CIG {
public:
static CIG* GetInstance();

//return key
int AddObject(char* filename);
void SetObjectPosition(int key, double x, double y, double z, double h, double p, double r);
//return key
int AddCamera(const CameraProps& props);
void SetCameraSensor(int key, CAMERA_SENSOR sensor);
void SetCameraLookAt(int key, double camX, double camY, double camZ, double lookX, double lookY, double lookZ, double upX, double upY, double upZ);
void SetCameraPosition(int key, double x, double y, double z, double h, double p, double r);
void SetSlaveCamera(int objectKey, int cameraKey);
void SetCameraOffset(int key, double x, double y, double z, double h, double p, double r);

void Run();
void Draw();//for external time control

cv::Mat GetImage(int cameraKey);
double GetVersion();
};

Last edited Nov 13, 2014 at 8:53 PM by ahutterer, version 1