#include "common.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <strings.h>
#include "tcl.h"
#include "machine.h"
#include "bu.h"
#include "vmath.h"
#include "bn.h"
Include dependency graph for bn_tcl.c:
Go to the source code of this file.
Data Structures | |
struct | math_func_link |
Defines | |
#define | NOISE_FBM 0 |
#define | NOISE_TURB 1 |
Functions | |
int | bn_decode_mat (fastf_t *m, const char *str) |
int | bn_decode_quat (fastf_t *q, const char *str) |
int | bn_decode_vect (fastf_t *v, const char *str) |
int | bn_decode_hvect (fastf_t *v, const char *str) |
void | bn_encode_mat (struct bu_vls *vp, const mat_t m) |
void | bn_encode_quat (struct bu_vls *vp, const mat_t q) |
void | bn_encode_vect (struct bu_vls *vp, const mat_t v) |
void | bn_encode_hvect (struct bu_vls *vp, const mat_t v) |
void | bn_quat_distance_wrapper (double *dp, mat_t q1, mat_t q2) |
void | bn_mat_scale_about_pt_wrapper (int *statusp, mat_t mat, const point_t pt, const double scale) |
int | bn_math_cmd (ClientData clientData, Tcl_Interp *interp, int argc, char **argv) |
Tcl wrappers for the math functions. | |
int | bn_cmd_noise_perlin (ClientData clientData, Tcl_Interp *interp, int argc, char **argv) |
int | bn_cmd_noise (ClientData clientData, Tcl_Interp *interp, int argc, char **argv) |
int | bn_cmd_noise_slice (ClientData clientData, Tcl_Interp *interp, int argc, char **argv) |
usage: noise_slice xdim ydim inv h_val lac octaves dX dY dZ sX [sY sZ] | |
int | bn_cmd_random (ClientData clientData, Tcl_Interp *interp, int argc, char **argv) |
void | bn_tcl_mat_print (Tcl_Interp *interp, const char *title, const mat_t m) |
void | bn_tcl_setup (Tcl_Interp *interp) |
Add all the supported Tcl interfaces to LIBBN routines to the list of commands known by the given interpreter. | |
int | Bn_Init (Tcl_Interp *interp) |
Allows LIBBN to be dynamically loade to a vanilla tclsh/wish with "load /usr/brlcad/lib/libbn.so". | |
double | bn_noise_fbm (point_t point, double h_val, double lacunarity, double octaves) |
double | bn_noise_turb (point_t point, double h_val, double lacunarity, double octaves) |
Definition in file bn_tcl.c.
|
Referenced by bn_cmd_noise_slice(). |
|
|