dm Struct Reference
[Libdm]

#include <dm.h>

Collaboration diagram for dm:

Collaboration graph
[legend]

Data Fields

int(* dm_close )()
int(* dm_drawBegin )()
 formerly dmr_prolog
int(* dm_drawEnd )()
 formerly dmr_epilog
int(* dm_normal )()
int(* dm_loadMatrix )()
int(* dm_drawString2D )()
 formerly dmr_puts
int(* dm_drawLine2D )()
 formerly dmr_2d_line
int(* dm_drawPoint2D )()
int(* dm_drawVList )()
 formerly dmr_object
int(* dm_setFGColor )(struct dm *dmp, unsigned char r, unsigned char g, unsigned char b, int strict, fastf_t transparency)
int(* dm_setBGColor )(struct dm *, unsigned char, unsigned char, unsigned char)
int(* dm_setLineAttr )()
 currently - linewidth, (not-)dashed
int(* dm_configureWin )()
int(* dm_setWinBounds )()
int(* dm_setLight )()
int(* dm_setTransparency )()
int(* dm_setDepthMask )()
int(* dm_setZBuffer )()
int(* dm_debug )()
 Set DM debug level.
int(* dm_beginDList )()
int(* dm_endDList )()
int(* dm_drawDList )()
int(* dm_freeDLists )()
unsigned long dm_id
 window id
int dm_displaylist
 !0 means device has displaylist
int dm_stereo
 stereo flag
double dm_bound
 zoom-in limit
int dm_boundFlag
char * dm_name
 short name of device
char * dm_lname
 long name of device
int dm_type
 display manager type
int dm_top
 !0 means toplevel window
int dm_width
int dm_height
int dm_lineWidth
int dm_lineStyle
fastf_t dm_aspect
fastf_tdm_vp
 XXX--ogl still depends on this--Viewscale pointer.
dm_vars dm_vars
 display manager dependant variables
bu_vls dm_pathName
 full Tcl/Tk name of drawing window
bu_vls dm_tkName
 short Tcl/Tk name of drawing window
bu_vls dm_dName
 Display name.
unsigned char dm_bg [3]
 background color
unsigned char dm_fg [3]
 foreground color
vect_t dm_clipmin
 minimum clipping vector
vect_t dm_clipmax
 maximum clipping vector
int dm_debugLevel
 !0 means debugging
int dm_perspective
 !0 means perspective on
int dm_light
 !0 means lighting on
int dm_transparency
 !0 means transparency on
int dm_depthMask
 !0 means depth buffer is writable
int dm_zbuffer
 !0 means zbuffer on
int dm_zclip
 !0 means zclipping
int dm_clearBufferAfter
 1 means clear back buffer after drawing and swap
Tcl_Interpdm_interp
 Tcl interpreter.

Detailed Description

Interface to a specific Display Manager

Definition at line 179 of file dm.h.


Field Documentation

int(* dm_close)()
 

int(* dm_drawBegin)()
 

formerly dmr_prolog

int(* dm_drawEnd)()
 

formerly dmr_epilog

int(* dm_normal)()
 

int(* dm_loadMatrix)()
 

int(* dm_drawString2D)()
 

formerly dmr_puts

int(* dm_drawLine2D)()
 

formerly dmr_2d_line

int(* dm_drawPoint2D)()
 

int(* dm_drawVList)()
 

formerly dmr_object

int(* dm_setFGColor)(struct dm *dmp, unsigned char r, unsigned char g, unsigned char b, int strict, fastf_t transparency)
 

int(* dm_setBGColor)(struct dm *, unsigned char, unsigned char, unsigned char)
 

int(* dm_setLineAttr)()
 

currently - linewidth, (not-)dashed

int(* dm_configureWin)()
 

int(* dm_setWinBounds)()
 

int(* dm_setLight)()
 

int(* dm_setTransparency)()
 

int(* dm_setDepthMask)()
 

int(* dm_setZBuffer)()
 

int(* dm_debug)()
 

Set DM debug level.

int(* dm_beginDList)()
 

int(* dm_endDList)()
 

int(* dm_drawDList)()
 

int(* dm_freeDLists)()
 

unsigned long dm_id
 

window id

Definition at line 203 of file dm.h.

int dm_displaylist
 

!0 means device has displaylist

Definition at line 204 of file dm.h.

int dm_stereo
 

stereo flag

Definition at line 205 of file dm.h.

double dm_bound
 

zoom-in limit

Definition at line 206 of file dm.h.

int dm_boundFlag
 

Definition at line 207 of file dm.h.

char* dm_name
 

short name of device

Definition at line 208 of file dm.h.

char* dm_lname
 

long name of device

Definition at line 209 of file dm.h.

int dm_type
 

display manager type

Definition at line 210 of file dm.h.

int dm_top
 

!0 means toplevel window

Definition at line 211 of file dm.h.

int dm_width
 

Definition at line 212 of file dm.h.

int dm_height
 

Definition at line 213 of file dm.h.

int dm_lineWidth
 

Definition at line 214 of file dm.h.

int dm_lineStyle
 

Definition at line 215 of file dm.h.

fastf_t dm_aspect
 

Definition at line 216 of file dm.h.

fastf_t* dm_vp
 

XXX--ogl still depends on this--Viewscale pointer.

Definition at line 217 of file dm.h.

struct dm_vars dm_vars
 

display manager dependant variables

Definition at line 218 of file dm.h.

struct bu_vls dm_pathName
 

full Tcl/Tk name of drawing window

Definition at line 219 of file dm.h.

struct bu_vls dm_tkName
 

short Tcl/Tk name of drawing window

Definition at line 220 of file dm.h.

struct bu_vls dm_dName
 

Display name.

Definition at line 221 of file dm.h.

unsigned char dm_bg[3]
 

background color

Definition at line 222 of file dm.h.

unsigned char dm_fg[3]
 

foreground color

Definition at line 223 of file dm.h.

vect_t dm_clipmin
 

minimum clipping vector

Definition at line 224 of file dm.h.

vect_t dm_clipmax
 

maximum clipping vector

Definition at line 225 of file dm.h.

int dm_debugLevel
 

!0 means debugging

Definition at line 226 of file dm.h.

int dm_perspective
 

!0 means perspective on

Definition at line 227 of file dm.h.

int dm_light
 

!0 means lighting on

Definition at line 228 of file dm.h.

int dm_transparency
 

!0 means transparency on

Definition at line 229 of file dm.h.

int dm_depthMask
 

!0 means depth buffer is writable

Definition at line 230 of file dm.h.

int dm_zbuffer
 

!0 means zbuffer on

Definition at line 231 of file dm.h.

int dm_zclip
 

!0 means zclipping

Definition at line 232 of file dm.h.

int dm_clearBufferAfter
 

1 means clear back buffer after drawing and swap

Definition at line 233 of file dm.h.

Tcl_Interp* dm_interp
 

Tcl interpreter.

Definition at line 234 of file dm.h.


The documentation for this struct was generated from the following file:
Generated on Mon Sep 18 01:25:12 2006 for BRL-CAD by  doxygen 1.4.6