BRL-CAD
tclcad.h File Reference

Header file for the BRL-CAD TclCAD Library, LIBTCLCAD. More...

#include "common.h"
#include "bu/cmd.h"
#include "tcl.h"
#include "dm.h"
#include "ged.h"
#include "fbserv_obj.h"
Include dependency graph for tclcad.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ged_dm_view
 
struct  ged_obj
 
struct  tclcad_obj
 

Macros

#define TCLCAD_IDLE_MODE   0
 
#define TCLCAD_ROTATE_MODE   1
 
#define TCLCAD_TRANSLATE_MODE   2
 
#define TCLCAD_SCALE_MODE   3
 
#define TCLCAD_CONSTRAINED_ROTATE_MODE   4
 
#define TCLCAD_CONSTRAINED_TRANSLATE_MODE   5
 
#define TCLCAD_OROTATE_MODE   6
 
#define TCLCAD_OSCALE_MODE   7
 
#define TCLCAD_OTRANSLATE_MODE   8
 
#define TCLCAD_MOVE_ARB_EDGE_MODE   9
 
#define TCLCAD_MOVE_ARB_FACE_MODE   10
 
#define TCLCAD_ROTATE_ARB_FACE_MODE   11
 
#define TCLCAD_PROTATE_MODE   12
 
#define TCLCAD_PSCALE_MODE   13
 
#define TCLCAD_PTRANSLATE_MODE   14
 
#define TCLCAD_POLY_CIRCLE_MODE   15
 
#define TCLCAD_POLY_CONTOUR_MODE   16
 
#define TCLCAD_POLY_ELLIPSE_MODE   17
 
#define TCLCAD_POLY_RECTANGLE_MODE   18
 
#define TCLCAD_POLY_SQUARE_MODE   19
 
#define TCLCAD_RECTANGLE_MODE   20
 
#define TCLCAD_MOVE_METABALL_POINT_MODE   21
 
#define TCLCAD_MOVE_PIPE_POINT_MODE   22
 
#define TCLCAD_MOVE_BOT_POINT_MODE   23
 
#define TCLCAD_MOVE_BOT_POINTS_MODE   24
 
#define TCLCAD_DATA_MOVE_OBJECT_MODE   25
 
#define TCLCAD_DATA_MOVE_POINT_MODE   26
 
#define TCLCAD_DATA_SCALE_MODE   27
 
#define TCLCAD_OBJ_FB_MODE_OFF   0
 
#define TCLCAD_OBJ_FB_MODE_UNDERLAY   1
 
#define TCLCAD_OBJ_FB_MODE_INTERLAY   2
 
#define TCLCAD_OBJ_FB_MODE_OVERLAY   3
 
#define GED_OBJ_NULL   ((struct ged_obj *)0)
 
#define TCLCAD_OBJ_NULL   (struct tclcad_obj *)0
 

Functions

int tclcad_tk_setup (Tcl_Interp *interp)
 
void tclcad_auto_path (Tcl_Interp *interp)
 
void tclcad_tcl_library (Tcl_Interp *interp)
 
int Tclcad_Init (Tcl_Interp *interp)
 
int Go_Init (Tcl_Interp *interp)
 create the Tcl command for to_open More...
 
int to_open_tcl (ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
 A TCL interface to wdb_fopen() and wdb_dbopen(). More...
 
struct applicationto_rt_gettrees_application (struct ged *gedp, int argc, const char *argv[])
 
void go_refresh (struct ged_obj *gop, struct ged_dm_view *gdvp)
 
void go_refresh_draw (struct ged_obj *gop, struct ged_dm_view *gdvp, int restore_zbuffer)
 
int Cho_Init (Tcl_Interp *interp)
 
int cho_open_tcl (ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
 
void tclcad_register_cmds (Tcl_Interp *interp, struct bu_cmdtab *cmds)
 

Detailed Description

Header file for the BRL-CAD TclCAD Library, LIBTCLCAD.

This library contains convenience routines for preparing and initializing Tcl.

Definition in file tclcad.h.