BRL-CAD
red.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <regex.h>
#include "bu/getopt.h"
#include "db.h"
#include "raytrace.h"
#include "./ged_private.h"
Include dependency graph for red.c:

Go to the source code of this file.

Functions

void _ged_print_matrix (FILE *fp, matp_t matrix)
 
int _ged_find_matrix (struct ged *gedp, const char *currptr, int strlength, matp_t *matrix, int *name_end)
 
HIDDEN int build_comb (struct ged *gedp, struct directory *dp, struct bu_vls *target_name)
 
HIDDEN int write_comb (struct ged *gedp, struct rt_comb_internal *comb, const char *name)
 
int ged_red (struct ged *gedp, int argc, const char **argv)
 

Variables

char _ged_tmpfil [MAXPATHLEN] = {0}
 

Detailed Description

The red command.

Definition in file red.c.

Function Documentation

void _ged_print_matrix ( FILE *  fp,
matp_t  matrix 
)

Definition at line 74 of file red.c.

References ZERO.

Referenced by write_comb().

int _ged_find_matrix ( struct ged gedp,
const char *  currptr,
int  strlength,
matp_t *  matrix,
int *  name_end 
)

Definition at line 96 of file red.c.

References bu_calloc(), bu_free(), bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_sprintf(), bu_vls_strlen(), bu_vls_strncpy(), bu_vls_trunc(), and ged::ged_result_str.

Referenced by build_comb().

Here is the call graph for this function:

Variable Documentation

char _ged_tmpfil[MAXPATHLEN] = {0}

Definition at line 40 of file red.c.

Referenced by build_comb(), ged_put_comb(), ged_red(), and write_comb().