BRL-CAD

NMG plotting routines. More...

Collaboration diagram for Plotting:

Files

file  plot.h
 

Macros

#define NMG_VLIST_STYLE_VECTOR   0
 
#define NMG_VLIST_STYLE_POLYGON   1
 
#define NMG_VLIST_STYLE_VISUALIZE_NORMALS   2
 
#define NMG_VLIST_STYLE_USE_VU_NORMALS   4
 
#define NMG_VLIST_STYLE_NO_SURFACES   8
 

Functions

void nmg_pl_shell (FILE *fp, const struct shell *s, int fancy, struct bu_list *vlfree)
 
void nmg_vu_to_vlist (struct bu_list *vhead, const struct vertexuse *vu, struct bu_list *vlfree)
 
void nmg_eu_to_vlist (struct bu_list *vhead, const struct bu_list *eu_hd, struct bu_list *vlfree)
 
void nmg_lu_to_vlist (struct bu_list *vhead, const struct loopuse *lu, int poly_markers, const vectp_t norm, struct bu_list *vlfree)
 
void nmg_snurb_fu_to_vlist (struct bu_list *vhead, const struct faceuse *fu, int poly_markers, struct bu_list *vlfree)
 
void nmg_s_to_vlist (struct bu_list *vhead, const struct shell *s, int poly_markers, struct bu_list *vlfree)
 
void nmg_r_to_vlist (struct bu_list *vhead, const struct nmgregion *r, int poly_markers, struct bu_list *vlfree)
 
void nmg_m_to_vlist (struct bu_list *vhead, struct model *m, int poly_markers, struct bu_list *vlfree)
 
void nmg_offset_eu_vert (point_t base, const struct edgeuse *eu, const vect_t face_normal, int tip)
 
void nmg_pl_v (FILE *fp, const struct vertex *v, long *b)
 
void nmg_pl_e (FILE *fp, const struct edge *e, long *b, int red, int green, int blue)
 
void nmg_pl_eu (FILE *fp, const struct edgeuse *eu, long *b, int red, int green, int blue)
 
void nmg_pl_lu (FILE *fp, const struct loopuse *fu, long *b, int red, int green, int blue, struct bu_list *vlfree)
 
void nmg_pl_fu (FILE *fp, const struct faceuse *fu, long *b, int red, int green, int blue, struct bu_list *vlfree)
 
void nmg_pl_s (FILE *fp, const struct shell *s, struct bu_list *vlfree)
 
void nmg_pl_r (FILE *fp, const struct nmgregion *r, struct bu_list *vlfree)
 
void nmg_pl_m (FILE *fp, const struct model *m, struct bu_list *vlfree)
 
void nmg_vlblock_v (struct bv_vlblock *vbp, const struct vertex *v, long *tab, struct bu_list *vlfree)
 
void nmg_vlblock_e (struct bv_vlblock *vbp, const struct edge *e, long *tab, int red, int green, int blue, struct bu_list *vlfree)
 
void nmg_vlblock_eu (struct bv_vlblock *vbp, const struct edgeuse *eu, long *tab, int red, int green, int blue, int fancy, struct bu_list *vlfree)
 
void nmg_vlblock_euleft (struct bu_list *vh, const struct edgeuse *eu, const point_t center, const mat_t mat, const vect_t xvec, const vect_t yvec, double len, struct bu_list *vlfree, const struct bn_tol *tol)
 
void nmg_vlblock_around_eu (struct bv_vlblock *vbp, const struct edgeuse *arg_eu, long *tab, int fancy, struct bu_list *vlfree, const struct bn_tol *tol)
 
void nmg_vlblock_lu (struct bv_vlblock *vbp, const struct loopuse *lu, long *tab, int red, int green, int blue, int fancy, struct bu_list *vlfree)
 
void nmg_vlblock_fu (struct bv_vlblock *vbp, const struct faceuse *fu, long *tab, int fancy, struct bu_list *vlfree)
 
void nmg_vlblock_s (struct bv_vlblock *vbp, const struct shell *s, int fancy, struct bu_list *vlfree)
 
void nmg_vlblock_r (struct bv_vlblock *vbp, const struct nmgregion *r, int fancy, struct bu_list *vlfree)
 
void nmg_vlblock_m (struct bv_vlblock *vbp, const struct model *m, int fancy, struct bu_list *vlfree)
 
void nmg_pl_edges_in_2_shells (struct bv_vlblock *vbp, long *b, const struct edgeuse *eu, int fancy, struct bu_list *vlfree, const struct bn_tol *tol)
 
void nmg_pl_isect (const char *filename, const struct shell *s, struct bu_list *vlfree, const struct bn_tol *tol)
 
void nmg_pl_comb_fu (int num1, int num2, const struct faceuse *fu1, struct bu_list *vlfree)
 
void nmg_pl_2fu (const char *str, const struct faceuse *fu1, const struct faceuse *fu2, int show_mates, struct bu_list *vlfree)
 
void nmg_show_broken_classifier_stuff (uint32_t *p, char **classlist, int all_new, int fancy, const char *a_string, struct bu_list *vlfree)
 
void nmg_face_plot (const struct faceuse *fu, struct bu_list *vlfree)
 
void nmg_2face_plot (const struct faceuse *fu1, const struct faceuse *fu2, struct bu_list *vlfree)
 
void nmg_face_lu_plot (const struct loopuse *lu, const struct vertexuse *vu1, const struct vertexuse *vu2, struct bu_list *vlfree)
 
void nmg_plot_lu_ray (const struct loopuse *lu, const struct vertexuse *vu1, const struct vertexuse *vu2, const vect_t left, struct bu_list *vlfree)
 
void nmg_plot_ray_face (const char *fname, point_t pt, const vect_t dir, const struct faceuse *fu, struct bu_list *vlfree)
 
void nmg_plot_lu_around_eu (const char *prefix, const struct edgeuse *eu, struct bu_list *vlfree, const struct bn_tol *tol)
 
int nmg_snurb_to_vlist (struct bu_list *vhead, const struct face_g_snurb *fg, int n_interior, struct bu_list *vlfree)
 
void nmg_cnurb_to_vlist (struct bu_list *vhead, const struct edgeuse *eu, int n_interior, int cmd, struct bu_list *vlfree)
 

Detailed Description

NMG plotting routines.

Macro Definition Documentation

◆ NMG_VLIST_STYLE_VECTOR

#define NMG_VLIST_STYLE_VECTOR   0

Definition at line 42 of file plot.h.

◆ NMG_VLIST_STYLE_POLYGON

#define NMG_VLIST_STYLE_POLYGON   1

Definition at line 43 of file plot.h.

◆ NMG_VLIST_STYLE_VISUALIZE_NORMALS

#define NMG_VLIST_STYLE_VISUALIZE_NORMALS   2

Definition at line 44 of file plot.h.

◆ NMG_VLIST_STYLE_USE_VU_NORMALS

#define NMG_VLIST_STYLE_USE_VU_NORMALS   4

Definition at line 45 of file plot.h.

◆ NMG_VLIST_STYLE_NO_SURFACES

#define NMG_VLIST_STYLE_NO_SURFACES   8

Definition at line 46 of file plot.h.

Function Documentation

◆ nmg_pl_shell()

void nmg_pl_shell ( FILE *  fp,
const struct shell s,
int  fancy,
struct bu_list vlfree 
)

◆ nmg_vu_to_vlist()

void nmg_vu_to_vlist ( struct bu_list vhead,
const struct vertexuse vu,
struct bu_list vlfree 
)

◆ nmg_eu_to_vlist()

void nmg_eu_to_vlist ( struct bu_list vhead,
const struct bu_list eu_hd,
struct bu_list vlfree 
)

◆ nmg_lu_to_vlist()

void nmg_lu_to_vlist ( struct bu_list vhead,
const struct loopuse lu,
int  poly_markers,
const vectp_t  norm,
struct bu_list vlfree 
)

◆ nmg_snurb_fu_to_vlist()

void nmg_snurb_fu_to_vlist ( struct bu_list vhead,
const struct faceuse fu,
int  poly_markers,
struct bu_list vlfree 
)

◆ nmg_s_to_vlist()

void nmg_s_to_vlist ( struct bu_list vhead,
const struct shell s,
int  poly_markers,
struct bu_list vlfree 
)

◆ nmg_r_to_vlist()

void nmg_r_to_vlist ( struct bu_list vhead,
const struct nmgregion r,
int  poly_markers,
struct bu_list vlfree 
)

◆ nmg_m_to_vlist()

void nmg_m_to_vlist ( struct bu_list vhead,
struct model m,
int  poly_markers,
struct bu_list vlfree 
)

◆ nmg_offset_eu_vert()

void nmg_offset_eu_vert ( point_t  base,
const struct edgeuse eu,
const vect_t  face_normal,
int  tip 
)

◆ nmg_pl_v()

void nmg_pl_v ( FILE *  fp,
const struct vertex v,
long *  b 
)

◆ nmg_pl_e()

void nmg_pl_e ( FILE *  fp,
const struct edge e,
long *  b,
int  red,
int  green,
int  blue 
)

◆ nmg_pl_eu()

void nmg_pl_eu ( FILE *  fp,
const struct edgeuse eu,
long *  b,
int  red,
int  green,
int  blue 
)

◆ nmg_pl_lu()

void nmg_pl_lu ( FILE *  fp,
const struct loopuse fu,
long *  b,
int  red,
int  green,
int  blue,
struct bu_list vlfree 
)

◆ nmg_pl_fu()

void nmg_pl_fu ( FILE *  fp,
const struct faceuse fu,
long *  b,
int  red,
int  green,
int  blue,
struct bu_list vlfree 
)

◆ nmg_pl_s()

void nmg_pl_s ( FILE *  fp,
const struct shell s,
struct bu_list vlfree 
)

◆ nmg_pl_r()

void nmg_pl_r ( FILE *  fp,
const struct nmgregion r,
struct bu_list vlfree 
)

◆ nmg_pl_m()

void nmg_pl_m ( FILE *  fp,
const struct model m,
struct bu_list vlfree 
)

◆ nmg_vlblock_v()

void nmg_vlblock_v ( struct bv_vlblock vbp,
const struct vertex v,
long *  tab,
struct bu_list vlfree 
)

◆ nmg_vlblock_e()

void nmg_vlblock_e ( struct bv_vlblock vbp,
const struct edge e,
long *  tab,
int  red,
int  green,
int  blue,
struct bu_list vlfree 
)

◆ nmg_vlblock_eu()

void nmg_vlblock_eu ( struct bv_vlblock vbp,
const struct edgeuse eu,
long *  tab,
int  red,
int  green,
int  blue,
int  fancy,
struct bu_list vlfree 
)

◆ nmg_vlblock_euleft()

void nmg_vlblock_euleft ( struct bu_list vh,
const struct edgeuse eu,
const point_t  center,
const mat_t  mat,
const vect_t  xvec,
const vect_t  yvec,
double  len,
struct bu_list vlfree,
const struct bn_tol tol 
)

◆ nmg_vlblock_around_eu()

void nmg_vlblock_around_eu ( struct bv_vlblock vbp,
const struct edgeuse arg_eu,
long *  tab,
int  fancy,
struct bu_list vlfree,
const struct bn_tol tol 
)

◆ nmg_vlblock_lu()

void nmg_vlblock_lu ( struct bv_vlblock vbp,
const struct loopuse lu,
long *  tab,
int  red,
int  green,
int  blue,
int  fancy,
struct bu_list vlfree 
)

◆ nmg_vlblock_fu()

void nmg_vlblock_fu ( struct bv_vlblock vbp,
const struct faceuse fu,
long *  tab,
int  fancy,
struct bu_list vlfree 
)

◆ nmg_vlblock_s()

void nmg_vlblock_s ( struct bv_vlblock vbp,
const struct shell s,
int  fancy,
struct bu_list vlfree 
)

◆ nmg_vlblock_r()

void nmg_vlblock_r ( struct bv_vlblock vbp,
const struct nmgregion r,
int  fancy,
struct bu_list vlfree 
)

◆ nmg_vlblock_m()

void nmg_vlblock_m ( struct bv_vlblock vbp,
const struct model m,
int  fancy,
struct bu_list vlfree 
)

◆ nmg_pl_edges_in_2_shells()

void nmg_pl_edges_in_2_shells ( struct bv_vlblock vbp,
long *  b,
const struct edgeuse eu,
int  fancy,
struct bu_list vlfree,
const struct bn_tol tol 
)

◆ nmg_pl_isect()

void nmg_pl_isect ( const char *  filename,
const struct shell s,
struct bu_list vlfree,
const struct bn_tol tol 
)

◆ nmg_pl_comb_fu()

void nmg_pl_comb_fu ( int  num1,
int  num2,
const struct faceuse fu1,
struct bu_list vlfree 
)

◆ nmg_pl_2fu()

void nmg_pl_2fu ( const char *  str,
const struct faceuse fu1,
const struct faceuse fu2,
int  show_mates,
struct bu_list vlfree 
)

◆ nmg_show_broken_classifier_stuff()

void nmg_show_broken_classifier_stuff ( uint32_t *  p,
char **  classlist,
int  all_new,
int  fancy,
const char *  a_string,
struct bu_list vlfree 
)

◆ nmg_face_plot()

void nmg_face_plot ( const struct faceuse fu,
struct bu_list vlfree 
)

◆ nmg_2face_plot()

void nmg_2face_plot ( const struct faceuse fu1,
const struct faceuse fu2,
struct bu_list vlfree 
)

◆ nmg_face_lu_plot()

void nmg_face_lu_plot ( const struct loopuse lu,
const struct vertexuse vu1,
const struct vertexuse vu2,
struct bu_list vlfree 
)

◆ nmg_plot_lu_ray()

void nmg_plot_lu_ray ( const struct loopuse lu,
const struct vertexuse vu1,
const struct vertexuse vu2,
const vect_t  left,
struct bu_list vlfree 
)

◆ nmg_plot_ray_face()

void nmg_plot_ray_face ( const char *  fname,
point_t  pt,
const vect_t  dir,
const struct faceuse fu,
struct bu_list vlfree 
)

◆ nmg_plot_lu_around_eu()

void nmg_plot_lu_around_eu ( const char *  prefix,
const struct edgeuse eu,
struct bu_list vlfree,
const struct bn_tol tol 
)

◆ nmg_snurb_to_vlist()

int nmg_snurb_to_vlist ( struct bu_list vhead,
const struct face_g_snurb fg,
int  n_interior,
struct bu_list vlfree 
)

◆ nmg_cnurb_to_vlist()

void nmg_cnurb_to_vlist ( struct bu_list vhead,
const struct edgeuse eu,
int  n_interior,
int  cmd,
struct bu_list vlfree 
)