BRL-CAD
#include "common.h"
#include "analyze/defines.h"
#include "bu/opt.h"
#include "bu/vls.h"
#include "raytrace.h"
Include dependency graph for nirt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  nirt_state
 

Macros

#define NIRT_ALL   0x1
 reset to initial state or report all state More...
 
#define NIRT_OUT   0x2
 output log More...
 
#define NIRT_MSG   0x4
 output log More...
 
#define NIRT_ERR   0x8
 error log More...
 
#define NIRT_SEGS   0x10
 segment list More...
 
#define NIRT_OBJS   0x20
 'active' objects from the scene More...
 
#define NIRT_FRMTS   0x40
 available pre-defined output formats More...
 
#define NIRT_VIEW   0x80
 the current view (ae/dir/center/etc.) More...
 

Typedefs

typedef int(* nirt_hook_t) (struct nirt_state *ns, void *u_data)
 

Functions

int nirt_init (struct nirt_state *ns)
 
int nirt_init_dbip (struct nirt_state *ns, struct db_i *dbip)
 
int nirt_clear_dbip (struct nirt_state *ns)
 
void nirt_destroy (struct nirt_state *ns)
 
int nirt_exec (struct nirt_state *ns, const char *script)
 
void * nirt_udata (struct nirt_state *ns, void *u_data)
 
void nirt_hook (struct nirt_state *ns, nirt_hook_t hf, int flag)
 
void nirt_clear (struct nirt_state *ns, int flags)
 
void nirt_log (struct bu_vls *o, struct nirt_state *ns, int output_type)
 
int nirt_help (struct bu_vls *h, struct nirt_state *ns, bu_opt_format_t ofmt)
 
int nirt_line_segments (struct bv_vlblock **segs, struct nirt_state *ns)