BRL-CAD
pull.c File Reference
#include "common.h"
#include <stdlib.h>
#include <string.h>
#include "bu/cmd.h"
#include "bu/getopt.h"
#include "bn.h"
#include "./ged_private.h"
Include dependency graph for pull.c:

Go to the source code of this file.

Functions

void pull_comb (struct db_i *dbip, struct directory *dp, void *mp)
 
void translate (matp_t matrix, mat_t tm, point_t min, point_t max)
 
int ged_pull (struct ged *gedp, int argc, const char *argv[])
 

Function Documentation

void pull_comb ( struct db_i dbip,
struct directory dp,
void *  mp 
)

Definition at line 85 of file pull.c.

References bn_mat_inverse(), bn_mat_mul2(), bu_log(), bu_malloc(), directory::d_flags, directory::d_namep, db_tree_funcleaf(), rt_db_internal::idb_ptr, if(), rt_db_get_internal(), rt_db_put_internal(), RT_DIR_SOLID, rt_uniresource, and rt_comb_internal::tree.

Referenced by ged_pull().

Here is the call graph for this function:

void translate ( matp_t  matrix,
mat_t  tm,
point_t  min,
point_t  max 
)
int ged_pull ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Pull objects' path transformations from primitives

Definition at line 208 of file pull.c.

References bu_getopt(), bu_log(), bu_optind, bu_vls_printf(), bu_vls_trunc(), directory::d_flags, db_functree(), db_lookup(), rt_wdb::dbip, rt_g::debug, DEBUG_TREEWALK, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, LOOKUP_NOISY, pull_comb(), RT_DIR_NULL, RT_DIR_SOLID, rt_uniresource, RTG, and usage().

Here is the call graph for this function: