BRL-CAD
misc.h File Reference
#include "common.h"
#include "vmath.h"
#include "rt/defines.h"
#include "rt/resource.h"
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rt_point_labels
 

Macros

#define RT_REDUCE_OBJ_PRESERVE_VOLUME   0x1
 

Functions

int rt_find_paths (struct db_i *dbip, struct directory *start, struct directory *end, struct bu_ptbl *paths, struct resource *resp)
 
struct bu_bitvrt_get_solidbitv (size_t nbits, struct resource *resp)
 
int rt_id_solid (struct bu_external *ep)
 
void rt_reduce_obj (struct rt_db_internal *dest, const struct rt_db_internal *ip, fastf_t reduction_level, unsigned flags)
 
void rt_reduce_db (struct db_i *db, size_t num_preserved_attributes, const char *const *preserved_attributes, const struct bu_ptbl *preserved_combs_dirs)
 
int rt_generic_xform (struct rt_db_internal *op, const mat_t mat, struct rt_db_internal *ip, int avail, struct db_i *dbip)
 
void rt_generic_make (const struct rt_functab *ftp, struct rt_db_internal *intern)
 

Detailed Description

Catch all for functions that don't have a clear sub-header yet.

Definition in file misc.h.

Macro Definition Documentation

◆ RT_REDUCE_OBJ_PRESERVE_VOLUME

#define RT_REDUCE_OBJ_PRESERVE_VOLUME   0x1

Definition at line 63 of file misc.h.

Function Documentation

◆ rt_find_paths()

int rt_find_paths ( struct db_i dbip,
struct directory start,
struct directory end,
struct bu_ptbl paths,
struct resource resp 
)

◆ rt_get_solidbitv()

struct bu_bitv * rt_get_solidbitv ( size_t  nbits,
struct resource resp 
)

◆ rt_id_solid()

int rt_id_solid ( struct bu_external ep)

◆ rt_reduce_obj()

void rt_reduce_obj ( struct rt_db_internal dest,
const struct rt_db_internal ip,
fastf_t  reduction_level,
unsigned  flags 
)

reduce an object into some form of simpler representation

◆ rt_reduce_db()

void rt_reduce_db ( struct db_i db,
size_t  num_preserved_attributes,
const char *const *  preserved_attributes,
const struct bu_ptbl preserved_combs_dirs 
)

reduce the database hierarchy

◆ rt_generic_xform()

int rt_generic_xform ( struct rt_db_internal op,
const mat_t  mat,
struct rt_db_internal ip,
int  avail,
struct db_i dbip 
)

◆ rt_generic_make()

void rt_generic_make ( const struct rt_functab ftp,
struct rt_db_internal intern 
)