BRL-CAD
dm_private.h File Reference
#include "common.h"
#include "vmath.h"
#include "dm.h"
Include dependency graph for dm_private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dm_vars
 
struct  dm_internal
 

Macros

#define HIDDEN_DM_FUNCTION_PROTOTYPES(_dmtype)
 

Functions

int drawLine3D (struct dm_internal *dmp, point_t pt1, point_t pt2, const char *log_bu, float *wireColor)
 
int drawLines3D (struct dm_internal *dmp, int npoints, point_t *points, int sflag, const char *log_bu, float *wireColor)
 
int drawLine2D (struct dm_internal *dmp, fastf_t X1, fastf_t Y1, fastf_t X2, fastf_t Y2, const char *log_bu)
 
int draw_Line3D (struct dm_internal *dmp, point_t pt1, point_t pt2)
 
void dm_generic_hook (const struct bu_structparse *sdp, const char *name, void *base, const char *value, void *data)
 

Detailed Description

Internal header for the display manager library.

Definition in file dm_private.h.

Macro Definition Documentation

#define HIDDEN_DM_FUNCTION_PROTOTYPES (   _dmtype)
Value:
HIDDEN int _dmtype##_close(dm *dmp); \
HIDDEN int _dmtype##_drawBegin(dm *dmp); \
HIDDEN int _dmtype##_drawEnd(dm *dmp); \
HIDDEN int _dmtype##_normal(dm *dmp); \
HIDDEN int _dmtype##_loadMatrix(dm *dmp, fastf_t *mat, int which_eye); \
HIDDEN int _dmtype##_drawString2D(dm *dmp, char *str, fastf_t x, fastf_t y, int size, int use_aspect); \
HIDDEN int _dmtype##_drawLine2D(dm *dmp, fastf_t x_1, fastf_t y_1, fastf_t x_2, fastf_t y_2); \
HIDDEN int _dmtype##_drawLine3D(dm *dmp, point_t pt1, point_t pt2); \
HIDDEN int _dmtype##_drawLines3D(dm *dmp, int npoints, point_t *points, int sflag); \
HIDDEN int _dmtype##_drawPoint2D(dm *dmp, fastf_t x, fastf_t y); \
HIDDEN int _dmtype##_drawPoint3D(dm *dmp, point_t point); \
HIDDEN int _dmtype##_drawPoints3D(dm *dmp, int npoints, point_t *points); \
HIDDEN int _dmtype##_drawVList(dm *dmp, struct bn_vlist *vp); \
HIDDEN int _dmtype##_draw(dm *dmp, struct bn_vlist *(*callback_function)(void *), void **data); \
HIDDEN int _dmtype##_setFGColor(dm *dmp, unsigned char r, unsigned char g, unsigned char b, int strict, fastf_t transparency); \
HIDDEN int _dmtype##_setBGColor(dm *dmp, unsigned char r, unsigned char g, unsigned char b); \
HIDDEN int _dmtype##_setLineAttr(dm *dmp, int width, int style); \
HIDDEN int _dmtype##_configureWin_guts(dm *dmp, int force); \
HIDDEN int _dmtype##_configureWin(dm *dmp, int force); \
HIDDEN int _dmtype##_setLight(dm *dmp, int lighting_on); \
HIDDEN int _dmtype##_setTransparency(dm *dmp, int transparency_on); \
HIDDEN int _dmtype##_setDepthMask(dm *dmp, int depthMask_on); \
HIDDEN int _dmtype##_setZBuffer(dm *dmp, int zbuffer_on); \
HIDDEN int _dmtype##_setWinBounds(dm *dmp, fastf_t *w); \
HIDDEN int _dmtype##_debug(dm *dmp, int lvl); \
HIDDEN int _dmtype##_beginDList(dm *dmp, unsigned int list); \
HIDDEN int _dmtype##_endDList(dm *dmp); \
HIDDEN int _dmtype##_drawDList(dm *dmp, unsigned int list); \
HIDDEN int _dmtype##_freeDLists(dm *dmp, unsigned int list, int range); \
HIDDEN int _dmtype##_getDisplayImage(dm *dmp, unsigned char **image);
ustring width
#define HIDDEN
Definition: common.h:86
COMPLEX data[64]
Definition: fftest.c:34
Coord * point
Definition: chull3d.cpp:52
Definition: vlist.h:71
double fastf_t
Definition: defines.h:300

Definition at line 151 of file dm_private.h.

Function Documentation

int drawLine3D ( struct dm_internal dmp,
point_t  pt1,
point_t  pt2,
const char *  log_bu,
float *  wireColor 
)
int drawLines3D ( struct dm_internal dmp,
int  npoints,
point_t *  points,
int  sflag,
const char *  log_bu,
float *  wireColor 
)
int drawLine2D ( struct dm_internal dmp,
fastf_t  X1,
fastf_t  Y1,
fastf_t  X2,
fastf_t  Y2,
const char *  log_bu 
)
int draw_Line3D ( struct dm_internal dmp,
point_t  pt1,
point_t  pt2 
)

Definition at line 167 of file dm_util.c.

References bn_pt3_pt3_equal().

Referenced by plot_drawLine3D(), and ps_drawLine3D().

Here is the call graph for this function:

void dm_generic_hook ( const struct bu_structparse sdp,
const char *  name,
void *  base,
const char *  value,
void *  data 
)

Definition at line 831 of file dm-generic.c.

References dm_hook_data::dm_hook, and dm_hook_data::dmh_data.