|
Files |
file | dm-glx.h |
file | dm-Null.h |
file | dm-ogl.h |
file | dm-pex.h |
file | dm-plot.h |
file | dm-ps.h |
file | dm-tk.h |
file | dm-wgl.h |
file | dm-X.h |
file | dm.h |
file | dm_color.h |
file | dm_xvars.h |
Data Structures |
struct | modifiable_glx_vars |
struct | glx_vars |
struct | modifiable_ogl_vars |
struct | ogl_vars |
struct | modifiable_pex_vars |
struct | pex_vars |
struct | plot_vars |
struct | ps_vars |
struct | Tk_vars |
struct | modifiable_wgl_vars |
struct | wgl_vars |
struct | x_vars |
struct | dm_vars |
struct | dm |
struct | dm_obj |
| A display manager object is used for interacting with a display manager. More...
|
struct | dm_xvars |
Defines |
#define | GED2IRIS(x) (((float)(x))*0.00048828125) |
#define | Glx_MV_O(_m) offsetof(struct modifiable_glx_vars, _m) |
#define | CMAP_BASE 40 |
#define | GED2IRIS(x) (((float)(x))*0.00048828125) |
#define | Ogl_MV_O(_m) offsetof(struct modifiable_ogl_vars, _m) |
#define | GED_TO_Xx(_dmp, x) ((int)(((x)/4096.0+0.5)*((struct pex_vars *)((_dmp)->dmr_vars))->width)) |
#define | GED_TO_Xy(_dmp, x) ((int)((0.5-(x)/4096.0)*((struct pex_vars *)((_dmp)->dmr_vars))->height)) |
#define | Xx_TO_GED(_dmp, x) ((int)(((x)/(double)((struct pex_vars *)((_dmp)->dmr_vars))->width - 0.5) * 4095)) |
#define | Xy_TO_GED(_dmp, x) ((int)((0.5 - (x)/(double)((struct pex_vars *)((_dmp)->dmr_vars))->height) * 4095)) |
#define | TRY_DEPTHCUE 0 |
#define | Pex_MV_O(_m) offsetof(struct modifiable_pex_vars, _m) |
#define | GED_TO_PLOT(x) (x) |
#define | PLOT_TO_GED(x) (x) |
#define | GED_TO_PS(x) ((int)((x)+2048)) |
#define | CMAP_BASE 40 |
#define | CUBE_DIMENSION 6 |
#define | NUM_PIXELS 216 |
#define | ColormapNull (Colormap *)NULL |
#define | CMAP_BASE 40 |
#define | GED2IRIS(x) (((float)(x))*0.00048828125) |
#define | Wgl_MV_O(_m) offsetof(struct modifiable_wgl_vars, _m) |
#define | CMAP_BASE 40 |
#define | CUBE_DIMENSION 6 |
#define | NUM_PIXELS 216 |
#define | ColormapNull (Colormap *)NULL |
#define | DM_EXPORT |
#define | DM_NULL (struct dm *)NULL |
#define | DM_MIN (-2048) |
#define | DM_MAX (2047) |
#define | X 0 |
#define | Y 1 |
#define | Z 2 |
#define | DM_O(_m) offsetof(struct dm, _m) |
#define | GED_MAX 2047.0 |
#define | GED_MIN -2048.0 |
#define | GED_RANGE 4095.0 |
#define | INV_GED 0.00048828125 |
#define | INV_4096 0.000244140625 |
#define | DIVBY4096(x) (((double)(x))*INV_4096) |
#define | GED_TO_Xx(_dmp, x) ((int)((DIVBY4096(x)+0.5)*_dmp->dm_width)) |
#define | GED_TO_Xy(_dmp, x) ((int)((0.5-DIVBY4096(x))*_dmp->dm_height)) |
#define | Xx_TO_GED(_dmp, x) ((int)(((x)/(double)_dmp->dm_width - 0.5) * GED_RANGE)) |
#define | Xy_TO_GED(_dmp, x) ((int)((0.5 - (x)/(double)_dmp->dm_height) * GED_RANGE)) |
#define | FONTBACK "-adobe-courier-medium-r-normal--10-100-75-75-m-60-iso8859-1" |
#define | FONT5 "5x7" |
#define | FONT6 "6x10" |
#define | FONT7 "7x13" |
#define | FONT8 "8x13" |
#define | FONT9 "9x15" |
#define | DM_TYPE_BAD -1 |
#define | DM_TYPE_NULL 0 |
#define | DM_TYPE_PLOT 1 |
#define | DM_TYPE_PS 2 |
#define | DM_TYPE_X 3 |
#define | DM_TYPE_OGL 4 |
#define | DM_TYPE_GLX 5 |
#define | DM_TYPE_PEX 6 |
#define | DM_TYPE_WGL 7 |
#define | DM_SOLID_LINE 0 |
#define | DM_DASHED_LINE 1 |
#define | IS_DM_TYPE_NULL(_t) ((_t) == DM_TYPE_NULL) |
#define | IS_DM_TYPE_PLOT(_t) ((_t) == DM_TYPE_PLOT) |
#define | IS_DM_TYPE_PS(_t) ((_t) == DM_TYPE_PS) |
#define | IS_DM_TYPE_X(_t) ((_t) == DM_TYPE_X) |
#define | IS_DM_TYPE_OGL(_t) ((_t) == DM_TYPE_OGL) |
#define | IS_DM_TYPE_GLX(_t) ((_t) == DM_TYPE_GLX) |
#define | IS_DM_TYPE_PEX(_t) ((_t) == DM_TYPE_PEX) |
#define | IS_DM_TYPE_WGL(_t) ((_t) == DM_TYPE_WGL) |
#define | GET_DM(p, structure, w, hp) |
#define | DM_COLOR_HI ((short)230) |
#define | DM_COLOR_LOW ((short)0) |
#define | DM_BLACK_R DM_COLOR_LOW |
#define | DM_BLACK_G DM_COLOR_LOW |
#define | DM_BLACK_B DM_COLOR_LOW |
#define | DM_RED_R DM_COLOR_HI |
#define | DM_RED_G DM_COLOR_LOW |
#define | DM_RED_B DM_COLOR_LOW |
#define | DM_BLUE_R DM_COLOR_LOW |
#define | DM_BLUE_G DM_COLOR_LOW |
#define | DM_BLUE_B DM_COLOR_HI |
#define | DM_YELLOW_R DM_COLOR_HI |
#define | DM_YELLOW_G DM_COLOR_HI |
#define | DM_YELLOW_B DM_COLOR_LOW |
#define | DM_WHITE_R DM_COLOR_HI |
#define | DM_WHITE_G DM_COLOR_HI |
#define | DM_WHITE_B DM_COLOR_HI |
#define | DM_BLACK DM_BLACK_R, DM_BLACK_G, DM_BLACK_B |
#define | DM_RED DM_RED_R, DM_RED_G, DM_RED_B |
#define | DM_BLUE DM_BLUE_R, DM_BLUE_G, DM_BLUE_B |
#define | DM_YELLOW DM_YELLOW_R, DM_YELLOW_G, DM_YELLOW_B |
#define | DM_WHITE DM_WHITE_R, DM_WHITE_G, DM_WHITE_B |
#define | DM_COPY_COLOR(_dr, _dg, _db, _sr, _sg, _sb) |
#define | DM_SAME_COLOR(_dr, _dg, _db, _sr, _sg, _sb) |
#define | DM_CHGV_REDO 0 |
#define | DM_CHGV_ADD 1 |
#define | DM_CHGV_DEL 2 |
#define | DM_CHGV_REPL 3 |
#define | DM_CHGV_ILLUM 4 |
#define | LIGHT_OFF 0 |
#define | LIGHT_ON 1 |
#define | LIGHT_RESET 2 |
#define | DM_OPEN(_type, _argc, _argv) dm_open(_type,_argc,_argv) |
#define | DM_CLOSE(_dmp) _dmp->dm_close(_dmp) |
#define | DM_DRAW_BEGIN(_dmp) _dmp->dm_drawBegin(_dmp) |
#define | DM_DRAW_END(_dmp) _dmp->dm_drawEnd(_dmp) |
#define | DM_NORMAL(_dmp) _dmp->dm_normal(_dmp) |
#define | DM_LOADMATRIX(_dmp, _mat, _eye) _dmp->dm_loadMatrix(_dmp,_mat,_eye) |
#define | DM_DRAW_STRING_2D(_dmp, _str, _x, _y, _size, _use_aspect) _dmp->dm_drawString2D(_dmp,_str,_x,_y,_size,_use_aspect) |
#define | DM_DRAW_LINE_2D(_dmp, _x1, _y1, _x2, _y2) _dmp->dm_drawLine2D(_dmp,_x1,_y1,_x2,_y2) |
#define | DM_DRAW_POINT_2D(_dmp, _x, _y) _dmp->dm_drawPoint2D(_dmp,_x,_y) |
#define | DM_DRAW_VLIST(_dmp, _vlist) _dmp->dm_drawVList(_dmp,_vlist) |
#define | DM_SET_FGCOLOR(_dmp, _r, _g, _b, _strict, _transparency) _dmp->dm_setFGColor(_dmp,_r,_g,_b,_strict,_transparency) |
#define | DM_SET_BGCOLOR(_dmp, _r, _g, _b) _dmp->dm_setBGColor(_dmp,_r,_g,_b) |
#define | DM_SET_LINE_ATTR(_dmp, _width, _dashed) _dmp->dm_setLineAttr(_dmp,_width,_dashed) |
#define | DM_CONFIGURE_WIN(_dmp) _dmp->dm_configureWin(_dmp) |
#define | DM_SET_WIN_BOUNDS(_dmp, _w) _dmp->dm_setWinBounds(_dmp,_w) |
#define | DM_SET_LIGHT(_dmp, _on) _dmp->dm_setLight(_dmp,_on) |
#define | DM_SET_TRANSPARENCY(_dmp, _on) _dmp->dm_setTransparency(_dmp,_on) |
#define | DM_SET_DEPTH_MASK(_dmp, _on) _dmp->dm_setDepthMask(_dmp,_on) |
#define | DM_SET_ZBUFFER(_dmp, _on) _dmp->dm_setZBuffer(_dmp,_on) |
#define | DM_DEBUG(_dmp, _lvl) _dmp->dm_debug(_dmp,_lvl) |
#define | DM_BEGINDLIST(_dmp, _list) _dmp->dm_beginDList(_dmp,_list) |
#define | DM_ENDDLIST(_dmp) _dmp->dm_endDList(_dmp) |
#define | DM_DRAWDLIST(_dmp, _list) _dmp->dm_drawDList(_dmp,_list) |
#define | DM_FREEDLISTS(_dmp, _list, _range) _dmp->dm_freeDLists(_dmp,_list,_range) |
#define | XVARS_MV_O(_m) offsetof(struct dm_xvars, _m) |
Functions |
void | glx_clearToBlack () |
void | ogl_fogHint () |
void | Pex_configure_window_shape () |
void | Pex_establish_perspective () |
void | Pex_set_perspective () |
void | wgl_fogHint () |
DM_EXPORT int | Dm_Init () |
DM_EXPORT struct dm * | dm_open (Tcl_Interp *interp, int type, int argc, char *argv[]) |
DM_EXPORT int | dm_share_dlist (struct dm *dmp1, struct dm *dmp2) |
DM_EXPORT fastf_t | dm_Xx2Normal (struct dm *dmp, register int x) |
DM_EXPORT int | dm_Normal2Xx (struct dm *dmp, register fastf_t f) |
DM_EXPORT fastf_t | dm_Xy2Normal (struct dm *dmp, register int y, int use_aspect) |
DM_EXPORT int | dm_Normal2Xy (struct dm *dmp, register fastf_t f, int use_aspect) |
DM_EXPORT void | dm_fogHint (struct dm *dmp, int fastfog) |
DM_EXPORT int | dm_processOptions () |
DM_EXPORT int | dm_limit (int i) |
DM_EXPORT int | dm_unlimit (int i) |
DM_EXPORT fastf_t | dm_wrap (fastf_t f) |
DM_EXPORT void | Nu_void () |
DM_EXPORT struct dm * | Nu_open () |
DM_EXPORT int | Nu_int0 () |
DM_EXPORT unsigned | Nu_unsign () |
DM_EXPORT int | clip (fastf_t *, fastf_t *, fastf_t *, fastf_t *) |
DM_EXPORT int | vclip (fastf_t *, fastf_t *, register fastf_t *, register fastf_t *) |
DM_EXPORT void | dmo_drawAxes_cmd (struct dm *dmp, fastf_t viewSize, mat_t rmat, point_t axesPos, fastf_t axesSize, int *axesColor, int *labelColor, int lineWidth, int posOnly, int threeColor, int tickEnable, int tickLen, int majorTickLen, fastf_t tickInterval, int ticksPerMajor, int *tickColor, int *majorTickColor, int tickThreshold) |
unsigned long | dm_get_pixel (unsigned char r, unsigned char g, unsigned char b, long unsigned int *pixels, int cd) |
void | dm_copy_default_colors () |
void | dm_allocate_color_cube () |
Variables |
glx_vars | head_glx_vars |
pex_vars | head_pex_vars |
plot_vars | head_plot_vars |
ps_vars | head_ps_vars |
DM_EXPORT struct dm | dm_Null |
DM_EXPORT char | dm_version [] |