#include "cv.h"
#include "highgui.h"
using namespace std;
#pragma comment ( lib, "cxcore200.lib" )
#pragma comment ( lib, "cv200.lib" )
#pragma comment ( lib, "highgui200.lib" )
#define FRAME_HEIGTH 400
#define FRAME_WIDTH 400
_3DPoint g_ViewPoint(4,2,0);
_3DObject g_Object;
const float weitiao = 0.2f;
int mouse_begin_x;
int mouse_begin_y;
_3DPlane GetRetinaPlane()
int main(int argc,char* argv[])
{
InitObject();
frame = cvCreateImage(cvSize(FRAME_WIDTH,FRAME_HEIGTH),IPL_DEPTH_8U,3);
cvNamedWindow(WINDOW_NAME);
cvSetMouseCallback(WINDOW_NAME, on_mouse, 0 );
Draw_3D_Object();
while(1)
{
cvShowImage(WINDOW_NAME,frame);
cvWaitKey(2);
}
return 0;
}