📄 viewcorr.h
字号:
/* viewcorr.h * The global types for view correlation routines. */typedef struct ViewParmsStruct { Point3 eye; /* projection point */ Matrix3 view; /* 3x3 rotation matrix */ Matrix3 viewinv; /* 3x3 inverse rotation matrix */ double d_over_s; /* distance to screen / half screen width */ double aspect; /* aspect ratio (for non-square pixels) */ double halfx, halfy; /* half of screen resolutions */ double xcenter, ycenter; /* center of image */} ViewParms;typedef struct ViewDataStruct { int numpts; /* number of data points */ Point3 *pts; /* array of three D data points */ Point2 *scrpts; /* array of screen data points */} ViewData;/* If you cannot handle arbitrary aspect ratios, change the following define * to an undef. The iteration will happen with the aspect ratio given in * the initial set of ViewParms. */#define ITERATE_ASPECT_RATIO#ifdef ITERATE_ASPECT_RATIO#define NUM_VIEW_PARMS 10#else#define NUM_VIEW_PARMS 9#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -