BRL-CAD
Loading...
Searching...
No Matches
plot3.h File Reference
#include "common.h"
#include "vmath.h"
#include "bu/color.h"
#include "bu/file.h"
Include dependency graph for plot3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PLOT3_EXPORT
 
#define PL_OUTPUT_MODE_BINARY   0
 
#define PL_OUTPUT_MODE_TEXT   1
 
#define PLOT_PREFIX_STR   plot3_
 
#define PL_CONCAT2(a, b)   a ## b
 
#define PL_CONCAT(a, b)   PL_CONCAT2(a,b)
 
#define PL_ADD_PREFIX(b)   PL_CONCAT(PLOT_PREFIX_STR,b)
 
#define pd_3box   PL_ADD_PREFIX(pd_3box)
 
#define pd_3cont   PL_ADD_PREFIX(pd_3cont)
 
#define pd_3line   PL_ADD_PREFIX(pd_3line)
 
#define pd_3move   PL_ADD_PREFIX(pd_3move)
 
#define pd_3point   PL_ADD_PREFIX(pd_3point)
 
#define pd_3space   PL_ADD_PREFIX(pd_3space)
 
#define pd_arc   PL_ADD_PREFIX(pd_arc)
 
#define pd_box   PL_ADD_PREFIX(pd_box)
 
#define pd_circle   PL_ADD_PREFIX(pd_circle)
 
#define pd_cont   PL_ADD_PREFIX(pd_cont)
 
#define pd_line   PL_ADD_PREFIX(pd_line)
 
#define pd_move   PL_ADD_PREFIX(pd_move)
 
#define pd_point   PL_ADD_PREFIX(pd_point)
 
#define pd_space   PL_ADD_PREFIX(pd_space)
 
#define pdv_3box   PL_ADD_PREFIX(pdv_3box)
 
#define pdv_3cont   PL_ADD_PREFIX(pdv_3cont)
 
#define pdv_3line   PL_ADD_PREFIX(pdv_3line)
 
#define pdv_3move   PL_ADD_PREFIX(pdv_3move)
 
#define pdv_3point   PL_ADD_PREFIX(pdv_3point)
 
#define pdv_3ray   PL_ADD_PREFIX(pdv_3ray)
 
#define pdv_3space   PL_ADD_PREFIX(pdv_3space)
 
#define pl_3box   PL_ADD_PREFIX(pl_3box)
 
#define pl_3cont   PL_ADD_PREFIX(pl_3cont)
 
#define pl_3line   PL_ADD_PREFIX(pl_3line)
 
#define pl_3move   PL_ADD_PREFIX(pl_3move)
 
#define pl_3point   PL_ADD_PREFIX(pl_3point)
 
#define pl_3space   PL_ADD_PREFIX(pl_3space)
 
#define pl_arc   PL_ADD_PREFIX(pl_arc)
 
#define pl_box   PL_ADD_PREFIX(pl_box)
 
#define pl_circle   PL_ADD_PREFIX(pl_circle)
 
#define pl_color   PL_ADD_PREFIX(pl_color)
 
#define pl_color_buc   PL_ADD_PREFIX(pl_color_buc)
 
#define pl_cont   PL_ADD_PREFIX(pl_cont)
 
#define pl_erase   PL_ADD_PREFIX(pl_erase)
 
#define pl_flush   PL_ADD_PREFIX(pl_flush)
 
#define pl_getOutputMode   PL_ADD_PREFIX(pl_getOutputMode)
 
#define pl_label   PL_ADD_PREFIX(pl_label)
 
#define pl_line   PL_ADD_PREFIX(pl_line)
 
#define pl_linmod   PL_ADD_PREFIX(pl_linmod)
 
#define pl_move   PL_ADD_PREFIX(pl_move)
 
#define pl_point   PL_ADD_PREFIX(pl_point)
 
#define pl_setOutputMode   PL_ADD_PREFIX(pl_setOutputMode)
 
#define pl_space   PL_ADD_PREFIX(pl_space)
 
#define pl_list   PL_ADD_PREFIX(pl_list)
 
#define plot3_invalid   PL_ADD_PREFIX(plot3_invalid)
 
#define plot3_data_scale   PL_ADD_PREFIX(plot3_data_scale)
 
#define plot3_float_split   PL_ADD_PREFIX(plot3_float_split)
 
#define plot3_float_to_ascii   PL_ADD_PREFIX(plot3_float_to_ascii)
 
#define plot3_font_getchar   PL_ADD_PREFIX(plot3_font_getchar)
 
#define plot3_ipow   PL_ADD_PREFIX(plot3_ipow)
 
#define plot3_scale_fit   PL_ADD_PREFIX(plot3_scale_fit)
 
#define plot3_xy_plot   PL_ADD_PREFIX(plot3_xy_plot)
 
#define pd_3list   PL_ADD_PREFIX(pd_3list)
 
#define pd_3marker   PL_ADD_PREFIX(pd_3marker)
 
#define pd_list   PL_ADD_PREFIX(pd_list)
 
#define pd_marked_list   PL_ADD_PREFIX(pd_marked_list)
 
#define pd_marker   PL_ADD_PREFIX(pd_marker)
 
#define pd_symbol   PL_ADD_PREFIX(pd_symbol)
 
#define pdv_3axis   PL_ADD_PREFIX(pdv_3axis)
 
#define pdv_3symbol   PL_ADD_PREFIX(pdv_3symbol)
 
#define pdv_3vector   PL_ADD_PREFIX(pdv_3vector)
 
#define PLOT3_FONT_LAST   -128
 
#define PLOT3_FONT_NEGY   -127
 

Functions

PLOT3_EXPORT void pl_setOutputMode (int mode)
 
PLOT3_EXPORT void pl_point (FILE *plotfp, int x, int y)
 
PLOT3_EXPORT void pl_line (FILE *plotfp, int fx, int fy, int tx, int ty)
 
PLOT3_EXPORT void pl_linmod (FILE *plotfp, const char *s)
 
PLOT3_EXPORT void pl_move (FILE *plotfp, int x, int y)
 
PLOT3_EXPORT void pl_cont (FILE *plotfp, int x, int y)
 
PLOT3_EXPORT void pl_label (FILE *plotfp, const char *s)
 
PLOT3_EXPORT void pl_space (FILE *plotfp, int x_1, int y_1, int x_2, int y_2)
 
PLOT3_EXPORT void pl_erase (FILE *plotfp)
 
PLOT3_EXPORT void pl_circle (FILE *plotfp, int x, int y, int r)
 
PLOT3_EXPORT void pl_arc (FILE *plotfp, int xc, int yc, int x_1, int y_1, int x_2, int y_2)
 
PLOT3_EXPORT void pl_box (FILE *plotfp, int x_1, int y_1, int x_2, int y_2)
 
PLOT3_EXPORT void pl_color (FILE *plotfp, int r, int g, int b)
 
PLOT3_EXPORT void pl_color_buc (FILE *plotfp, struct bu_color *c)
 
PLOT3_EXPORT void pl_flush (FILE *plotfp)
 
PLOT3_EXPORT void pl_3space (FILE *plotfp, int x_1, int y_1, int z_1, int x_2, int y_2, int z_2)
 
PLOT3_EXPORT void pl_3point (FILE *plotfp, int x, int y, int z)
 
PLOT3_EXPORT void pl_3move (FILE *plotfp, int x, int y, int z)
 
PLOT3_EXPORT void pl_3cont (FILE *plotfp, int x, int y, int z)
 
PLOT3_EXPORT void pl_3line (FILE *plotfp, int x_1, int y_1, int z_1, int x_2, int y_2, int z_2)
 
PLOT3_EXPORT void pl_3box (FILE *plotfp, int x_1, int y_1, int z_1, int x_2, int y_2, int z_2)
 
PLOT3_EXPORT void pd_point (FILE *plotfp, double x, double y)
 
PLOT3_EXPORT void pd_line (FILE *plotfp, double fx, double fy, double tx, double ty)
 
PLOT3_EXPORT void pd_move (FILE *plotfp, double x, double y)
 
PLOT3_EXPORT void pd_cont (FILE *plotfp, double x, double y)
 
PLOT3_EXPORT void pd_space (FILE *plotfp, double x_1, double y_1, double x_2, double y_2)
 
PLOT3_EXPORT void pd_circle (FILE *plotfp, double x, double y, double r)
 
PLOT3_EXPORT void pd_arc (FILE *plotfp, double xc, double yc, double x_1, double y_1, double x_2, double y_2)
 
PLOT3_EXPORT void pd_box (FILE *plotfp, double x_1, double y_1, double x_2, double y_2)
 
PLOT3_EXPORT void pd_3space (FILE *plotfp, double x_1, double y_1, double z_1, double x_2, double y_2, double z_2)
 
PLOT3_EXPORT void pd_3point (FILE *plotfp, double x, double y, double z)
 
PLOT3_EXPORT void pd_3move (FILE *plotfp, double x, double y, double z)
 
PLOT3_EXPORT void pd_3cont (FILE *plotfp, double x, double y, double z)
 
PLOT3_EXPORT void pd_3line (FILE *plotfp, double x_1, double y_1, double z_1, double x_2, double y_2, double z_2)
 
PLOT3_EXPORT void pd_3box (FILE *plotfp, double x_1, double y_1, double z_1, double x_2, double y_2, double z_2)
 
PLOT3_EXPORT void pdv_3ray (FILE *fp, const point_t pt, const vect_t dir, double t)
 
PLOT3_EXPORT void pl_list (FILE *fp, int *x, int *y, int npoints)
 
PLOT3_EXPORT void pd_list (FILE *fp, double *x, double *y, int npoints)
 
PLOT3_EXPORT void pd_3list (FILE *fp, double *x, double *y, double *z, int npoints)
 
PLOT3_EXPORT void pd_marked_list (FILE *fp, double *x, double *y, int npoints, int flag, int mark, int interval, double size)
 
PLOT3_EXPORT void pd_marker (FILE *fp, int c, double x, double y, double scale)
 
PLOT3_EXPORT void pd_3marker (FILE *fp, int c, double x, double y, double z, double scale)
 
PLOT3_EXPORT void plot3_data_scale (int idata[], int elements, int mode, int length, int odata[], double *min, double *dx)
 
PLOT3_EXPORT void pd_symbol (FILE *fp, char *string, double x, double y, double scale, double theta)
 
PLOT3_EXPORT void plot3_xy_plot (FILE *fp, int xp, int yp, int xl, int yl, char xtitle[], char ytitle[], float x[], float y[], int n, double cscale)
 
PLOT3_EXPORT void plot3_float_to_ascii (float x, char *s)
 
PLOT3_EXPORT void plot3_scale_fit (float *x, int npts, float size, float *xs, float *xmin, float *xmax, float *dx)
 
PLOT3_EXPORT void plot3_float_split (float x, float *coef, int *ex)
 
PLOT3_EXPORT double plot3_ipow (double x, int n)
 
PLOT3_EXPORT void pdv_3axis (FILE *fp, char *string, point_t origin, mat_t rot, double length, int ccw, int ndigits, double label_start, double label_incr, double tick_separation, double char_width)
 
PLOT3_EXPORT void pdv_3symbol (FILE *fp, char *string, point_t origin, mat_t rot, double scale)
 
PLOT3_EXPORT void pdv_3vector (FILE *plotfp, point_t from, point_t to, double fromheadfract, double toheadfract)
 
PLOT3_EXPORT int * plot3_font_getchar (const unsigned char *c)
 
PLOT3_EXPORT int plot3_invalid (FILE *fp, int mode)