BRL-CAD
vlist.h File Reference
#include "common.h"
#include <stdio.h>
#include "vmath.h"
#include "bu/vls.h"
#include "rt/defines.h"
Include dependency graph for vlist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void rt_vlist_copy (struct bu_list *dest, const struct bu_list *src)
 
void rt_vlist_cleanup (void)
 
void rt_vlist_import (struct bu_list *hp, struct bu_vls *namevls, const unsigned char *buf)
 
struct bv_vlblockrt_vlblock_init (void)
 
int rt_process_uplot_value (struct bu_list **vhead, struct bv_vlblock *vbp, FILE *fp, int c, double char_size, int mode)
 
int rt_uplot_to_vlist (struct bv_vlblock *vbp, FILE *fp, double char_size, int mode)
 
void rt_label_vlist_verts (struct bv_vlblock *vbp, struct bu_list *src, mat_t mat, double sz, double mm2local)
 
void rt_label_vlist_faces (struct bv_vlblock *vbp, struct bu_list *f_list, mat_t mat, double sz, double mm2local)
 

Function Documentation

◆ rt_vlist_copy()

void rt_vlist_copy ( struct bu_list dest,
const struct bu_list src 
)

TODO - replace these with the appropriate libbn calls specifically passing &RTG.rtg_vlfree

◆ rt_vlist_cleanup()

void rt_vlist_cleanup ( void  )

◆ rt_vlist_import()

void rt_vlist_import ( struct bu_list hp,
struct bu_vls namevls,
const unsigned char *  buf 
)

◆ rt_vlblock_init()

struct bv_vlblock * rt_vlblock_init ( void  )

◆ rt_process_uplot_value()

int rt_process_uplot_value ( struct bu_list **  vhead,
struct bv_vlblock vbp,
FILE *  fp,
int  c,
double  char_size,
int  mode 
)

◆ rt_uplot_to_vlist()

int rt_uplot_to_vlist ( struct bv_vlblock vbp,
FILE *  fp,
double  char_size,
int  mode 
)

Read a BRL-style 3-D UNIX-plot file into a vector list. For now, discard color information, only extract vectors. This might be more naturally located in mged/plot.c

◆ rt_label_vlist_verts()

void rt_label_vlist_verts ( struct bv_vlblock vbp,
struct bu_list src,
mat_t  mat,
double  sz,
double  mm2local 
)

Used by MGED's "labelvert" command.

◆ rt_label_vlist_faces()

void rt_label_vlist_faces ( struct bv_vlblock vbp,
struct bu_list f_list,
mat_t  mat,
double  sz,
double  mm2local 
)

Used by MGED's "labelface" command.