BRL-CAD
dm_obj.c File Reference
#include "common.h"
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <zlib.h>
#include <png.h>
#include "tcl.h"
#include "bu/cmd.h"
#include "bu/endian.h"
#include "vmath.h"
#include "bn.h"
#include "db.h"
#include "mater.h"
#include "nmg.h"
#include "rtgeom.h"
#include "nurb.h"
#include "solid.h"
#include "dm.h"
#include "dm_private.h"
Include dependency graph for dm_obj.c:

Go to the source code of this file.

Data Structures

struct  dm_obj
 A display manager object is used for interacting with a display manager. More...
 

Functions

HIDDEN int dmo_parseAxesArgs (int argc, const char **argv, fastf_t *viewSize, mat_t rmat, point_t axesPos, fastf_t *axesSize, int *axesColor, int *labelColor, int *lineWidth, int *posOnly, int *tripleColor, struct bu_vls *vlsp)
 
HIDDEN int dmo_drawViewAxes_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_drawCenterDot_cmd (struct dm_obj *dmop, int argc, const char **argv)
 
HIDDEN int dmo_drawCenterDot_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_parseDataAxesArgs (int argc, const char **argv, fastf_t *viewSize, mat_t rmat, mat_t model2view, point_t axesPos, fastf_t *axesSize, int *axesColor, int *lineWidth, struct bu_vls *vlsp)
 
HIDDEN int dmo_drawDataAxes_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_parseModelAxesArgs (int argc, const char **argv, fastf_t *viewSize, mat_t rmat, point_t axesPos, fastf_t *axesSize, int *axesColor, int *labelColor, int *lineWidth, int *posOnly, int *tripleColor, mat_t model2view, int *tickEnable, int *tickLength, int *majorTickLength, fastf_t *tickInterval, int *ticksPerMajor, int *tickColor, int *majorTickColor, int *tickThreshold, struct bu_vls *vlsp)
 
HIDDEN int dmo_drawModelAxes_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_drawBegin_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_drawEnd_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_clear_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_normal_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_loadmat_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_drawString_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_drawPoint_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_drawLine_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_drawVList_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN void dmo_drawSolid (struct dm_obj *dmop, struct solid *sp)
 
int dmo_drawScale_cmd (struct dm_obj *dmop, int argc, const char **argv)
 
HIDDEN int dmo_drawScale_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_drawSList (struct dm_obj *dmop, struct bu_list *hsp)
 
HIDDEN int dmo_drawSList_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_fg_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_bg_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_lineWidth_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_lineStyle_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_configure_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_zclip_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_zbuffer_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_light_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_transparency_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_depthMask_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_bounds_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_perspective_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_png_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_clearBufferAfter_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_debug_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_logfile_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_flush_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_sync_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_size_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_get_aspect_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_observer_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_getDrawLabelsHook_cmd (struct dm_obj *dmop, int argc, const char **argv)
 
HIDDEN int dmo_getDrawLabelsHook_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN int dmo_setDrawLabelsHook_cmd (struct dm_obj *dmop, int argc, const char **argv)
 
HIDDEN int dmo_setDrawLabelsHook_tcl (void *clientData, int argc, const char **argv)
 
HIDDEN void dmo_deleteProc (ClientData clientData)
 
HIDDEN int dmo_cmd (ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
 
HIDDEN int dmo_open_tcl (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)
 
int Dmo_Init (Tcl_Interp *interp)
 

Detailed Description

A display manager object contains the attributes and methods for controlling display managers.

Definition in file dm_obj.c.

Function Documentation

HIDDEN int dmo_parseAxesArgs ( int  argc,
const char **  argv,
fastf_t viewSize,
mat_t  rmat,
point_t  axesPos,
fastf_t axesSize,
int *  axesColor,
int *  labelColor,
int *  lineWidth,
int *  posOnly,
int *  tripleColor,
struct bu_vls vlsp 
)

Definition at line 267 of file dm_obj.c.

References bn_decode_mat(), bn_decode_vect(), and bu_vls_printf().

Referenced by dmo_drawViewAxes_tcl(), and dmo_parseModelAxesArgs().

Here is the call graph for this function:

HIDDEN int dmo_drawViewAxes_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 389 of file dm_obj.c.

References bview_axes_state::axes_color, bview_axes_state::axes_pos, bview_axes_state::axes_size, bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_draw_axes(), dm_obj::dmo_dmp, dmo_parseAxesArgs(), dm_obj::interp, bview_axes_state::label_color, bview_axes_state::line_width, memset(), bview_axes_state::pos_only, and bview_axes_state::triple_color.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_drawCenterDot_cmd ( struct dm_obj dmop,
int  argc,
const char **  argv 
)

Definition at line 448 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_draw_point_2d(), dm_set_fg(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_drawCenterDot_tcl().

Here is the call graph for this function:

HIDDEN int dmo_drawCenterDot_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 511 of file dm_obj.c.

References dmo_drawCenterDot_cmd(), and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_parseDataAxesArgs ( int  argc,
const char **  argv,
fastf_t viewSize,
mat_t  rmat,
mat_t  model2view,
point_t  axesPos,
fastf_t axesSize,
int *  axesColor,
int *  lineWidth,
struct bu_vls vlsp 
)

Definition at line 523 of file dm_obj.c.

References bn_decode_mat(), bn_decode_vect(), and bu_vls_printf().

Referenced by dmo_drawDataAxes_tcl().

Here is the call graph for this function:

HIDDEN int dmo_drawDataAxes_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 607 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), bview_data_axes_state::color, dm_draw_data_axes(), dm_obj::dmo_dmp, dmo_parseDataAxesArgs(), dm_obj::interp, bview_data_axes_state::line_width, memset(), bview_data_axes_state::points, and bview_data_axes_state::size.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_parseModelAxesArgs ( int  argc,
const char **  argv,
fastf_t viewSize,
mat_t  rmat,
point_t  axesPos,
fastf_t axesSize,
int *  axesColor,
int *  labelColor,
int *  lineWidth,
int *  posOnly,
int *  tripleColor,
mat_t  model2view,
int *  tickEnable,
int *  tickLength,
int *  majorTickLength,
fastf_t tickInterval,
int *  ticksPerMajor,
int *  tickColor,
int *  majorTickColor,
int *  tickThreshold,
struct bu_vls vlsp 
)

Definition at line 662 of file dm_obj.c.

References bn_decode_mat(), bu_vls_printf(), and dmo_parseAxesArgs().

Referenced by dmo_drawModelAxes_tcl().

Here is the call graph for this function:

HIDDEN int dmo_drawBegin_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 906 of file dm_obj.c.

References dm_draw_begin(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_drawEnd_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 918 of file dm_obj.c.

References dm_draw_end(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_clear_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 937 of file dm_obj.c.

References dm_draw_begin(), dm_draw_end(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_normal_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 960 of file dm_obj.c.

References dm_normal(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_loadmat_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 979 of file dm_obj.c.

References bn_decode_mat(), bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_loadmatrix(), dm_obj::dmo_dmp, dm_obj::interp, and dm_obj::viewMat.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_drawString_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1027 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_draw_string_2d(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_drawPoint_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1057 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_draw_point_2d(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_drawLine_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1090 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_draw_line_2d(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_drawVList_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1124 of file dm_obj.c.

References BN_CK_VLIST, bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_draw_vlist(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN void dmo_drawSolid ( struct dm_obj dmop,
struct solid *  sp 
)

Definition at line 1160 of file dm_obj.c.

References dm_draw_vlist(), dm_set_fg(), dm_obj::dmo_dmp, and UP.

Referenced by dmo_drawSList().

Here is the call graph for this function:

int dmo_drawScale_cmd ( struct dm_obj dmop,
int  argc,
const char **  argv 
)

Definition at line 1182 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_draw_scale(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_drawScale_tcl().

Here is the call graph for this function:

HIDDEN int dmo_drawScale_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1243 of file dm_obj.c.

References dmo_drawScale_cmd(), and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_drawSList ( struct dm_obj dmop,
struct bu_list hsp 
)

Definition at line 1259 of file dm_obj.c.

References dm_internal::dm_lineWidth, dm_set_depth_mask(), dm_set_line_attr(), dm_internal::dm_transparency, dm_obj::dmo_dmp, dmo_drawSolid(), and ZERO.

Referenced by dmo_drawSList_tcl().

Here is the call graph for this function:

HIDDEN int dmo_drawSList_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1322 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dmo_drawSList(), and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_fg_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1365 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_fg, dm_set_fg(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_bg_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1434 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_bg, dm_set_bg(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_lineWidth_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1499 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_lineStyle, dm_internal::dm_lineWidth, dm_set_line_attr(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_lineStyle_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1559 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_lineStyle, dm_internal::dm_lineWidth, dm_set_line_attr(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_configure_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1620 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_configure_win(), dm_internal::dm_height, dm_internal::dm_width, dm_obj::dmo_dmp, fb_configure_window(), FB_NULL, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_zclip_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1659 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_zclip, dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_zbuffer_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1710 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_set_zbuffer(), dm_internal::dm_zbuffer, dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_light_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1761 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_light, dm_set_light(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_transparency_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1813 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_set_transparency(), dm_internal::dm_transparency, dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_depthMask_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1865 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_depthMask, dm_set_depth_mask(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_bounds_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1917 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_bound, dm_internal::dm_clipmax, dm_internal::dm_clipmin, dm_obj::dmo_dmp, GED_MAX, dm_obj::interp, X, Y, and Z.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_perspective_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 1995 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_perspective, dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_png_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2327 of file dm_obj.c.

References bu_log(), and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_clearBufferAfter_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2352 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_clearBufferAfter, dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_debug_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2403 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_debug(), dm_internal::dm_debugLevel, dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_logfile_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2453 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_log, dm_logfile(), dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_flush_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2500 of file dm_obj.c.

References dm_internal::dm_vars, dm_obj::dmo_dmp, and dm_vars::pub_vars.

Referenced by dmo_cmd().

HIDDEN int dmo_sync_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2527 of file dm_obj.c.

References dm_internal::dm_vars, dm_obj::dmo_dmp, and dm_vars::pub_vars.

Referenced by dmo_cmd().

HIDDEN int dmo_size_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2551 of file dm_obj.c.

References bu_log(), bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_height, dm_internal::dm_vars, dm_internal::dm_width, dm_obj::dmo_dmp, dm_obj::interp, dm_vars::pub_vars, and OSL::Strings::width.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_get_aspect_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2618 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_internal::dm_aspect, dm_obj::dmo_dmp, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_observer_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2655 of file dm_obj.c.

References bu_observer_cmd(), bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_obj::dmo_observers, and dm_obj::interp.

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_getDrawLabelsHook_cmd ( struct dm_obj dmop,
int  argc,
const char **  argv 
)

Definition at line 2691 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_obj::dmo_drawLabelsHook, dm_obj::dmo_drawLabelsHookClientData, and dm_obj::interp.

Referenced by dmo_getDrawLabelsHook_tcl().

Here is the call graph for this function:

HIDDEN int dmo_getDrawLabelsHook_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2721 of file dm_obj.c.

References dmo_getDrawLabelsHook_cmd().

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN int dmo_setDrawLabelsHook_cmd ( struct dm_obj dmop,
int  argc,
const char **  argv 
)

Definition at line 2730 of file dm_obj.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), dm_obj::dmo_drawLabelsHook, dm_obj::dmo_drawLabelsHookClientData, and dm_obj::interp.

Referenced by dmo_setDrawLabelsHook_tcl().

Here is the call graph for this function:

HIDDEN int dmo_setDrawLabelsHook_tcl ( void *  clientData,
int  argc,
const char **  argv 
)

Definition at line 2784 of file dm_obj.c.

References dmo_setDrawLabelsHook_cmd().

Referenced by dmo_cmd().

Here is the call graph for this function:

HIDDEN void dmo_deleteProc ( ClientData  clientData)

Definition at line 2796 of file dm_obj.c.

References bu_free(), BU_LIST_DEQUEUE, bu_observer_free(), bu_vls_free(), dm_close(), dm_obj::dmo_dmp, dm_obj::dmo_name, dm_obj::dmo_observers, and dm_obj::l.

Referenced by dmo_open_tcl().

Here is the call graph for this function:

HIDDEN int dmo_open_tcl ( ClientData  clientData,
Tcl_Interp *  interp,
int  argc,
char **  argv 
)
int Dmo_Init ( Tcl_Interp *  interp)

Definition at line 3057 of file dm_obj.c.

References BU_LIST_INIT, BU_VLS_INIT, dm_obj::dmo_name, dmo_open_tcl(), and dm_obj::l.

Referenced by Dm_Init().

Here is the call graph for this function: