BRL-CAD
brep_debug.h File Reference
#include "common.h"
#include <vector>
#include <list>
#include <iostream>
#include <algorithm>
#include <set>
#include <utility>
#include "vmath.h"
#include "brep.h"
#include "dvec.h"
#include "raytrace.h"
#include "rtgeom.h"
#include "plot3.h"
Include dependency graph for brep_debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define fastf_t   double
 
#define BLUEVIOLET   138, 43, 226
 
#define CADETBLUE   95, 159, 159
 
#define CORNFLOWERBLUE   66, 66, 111
 
#define LIGHTBLUE   173, 216, 230
 
#define DARKGREEN   0, 100, 0
 
#define KHAKI   189, 183, 107
 
#define FORESTGREEN   34, 139, 34
 
#define LIMEGREEN   124, 252, 0
 
#define PALEGREEN   152, 251, 152
 
#define DARKORANGE   255, 140, 0
 
#define DARKSALMON   233, 150, 122
 
#define LIGHTCORAL   240, 128, 128
 
#define PEACH   255, 218, 185
 
#define DEEPPINK   255, 20, 147
 
#define HOTPINK   255, 105, 180
 
#define INDIANRED   205, 92, 92
 
#define DARKVIOLET   148, 0, 211
 
#define MAROON   139, 28, 98
 
#define GOLDENROD   218, 165, 32
 
#define DARKGOLDENROD   184, 134, 11
 
#define LIGHTGOLDENROD   238, 221, 130
 
#define DARKYELLOW   155, 155, 52
 
#define LIGHTYELLOW   255, 255, 224
 
#define PURERED   255, 0, 0
 
#define GREEN   0, 255, 0
 
#define BLUE   0, 0, 255
 
#define YELLOW   255, 255, 0
 
#define MAGENTA   255, 0, 255
 
#define CYAN   0, 255, 255
 
#define BLACK   0, 0, 0
 
#define WHITE   255, 255, 255
 
#define M_COLOR_PLOT(c)   pl_color(brep_plot_file(), c)
 
#define COLOR_PLOT(r, g, b)   pl_color(brep_plot_file(), (r), (g), (b))
 
#define M_PT_PLOT(p)
 
#define PT_PLOT(p)
 
#define LINE_PLOT(p1, p2)   pdv_3move(brep_plot_file(), p1); pdv_3line(brep_plot_file(), p1, p2)
 
#define BB_PLOT(p1, p2)   pdv_3box(brep_plot_file(), p1, p2)
 

Functions

FILE * brep_plot_file (const char *pname)
 
void plotsurfaceleafs (SurfaceTree *surf)
 
void plotleaf3d (BBNode *bb, double within_distance_tol)
 
void plotleafuv (BBNode *bb)
 
void plottrim (ON_BrepFace &face, struct bn_vlblock *vbp)
 
void plottrim (const ON_Curve &curve, double from, double to)
 
void plottrim (ON_Curve &curve)
 
int brep_translate_scv (ON_Brep *brep, int surface_index, int i, int j, fastf_t dx, fastf_t dy, fastf_t dz)
 

Detailed Description

brep debugging utilities

Definition in file brep_debug.h.