#include "dyn.h"
#include <strstream.h>
Go to the source code of this file.
Defines | |
#define | HALF_ROOT2 0.707106781186547524400844362105 |
#define | ROOT2 1.414213562373095048801688724210 |
#define | GRAPH_WINDOW 1 |
#define | POPUP_WINDOW 2 |
#define | DIALOG_WINDOW 3 |
#define | BUTTON_WINDOW 4 |
#define | INPUT_WINDOW 5 |
#define | TEXT_WINDOW 6 |
#define | NO_TYPE 0 |
#define | OK_BUTTON 1 |
#define | CANCEL_BUTTON 2 |
#define | CHECK_BUTTON 3 |
#define | OK_KEEP_BUTTON 4 |
#define | lux_openwin LUX_openwin |
#define | lux_setup_region LUX_setup_region |
#define | lux_clear_current_region LUX_clear_current_region |
#define | lux_setup_axis LUX_setup_axis |
#define | lux_draw_linef LUX_draw_linef |
#define | lux_draw_pointf LUX_draw_pointf |
#define | lux_draw_rectanglef LUX_draw_rectanglef |
#define | lux_draw_arcf LUX_draw_arcf |
#define | lux_fill_arcf LUX_fill_arcf |
#define | lux_draw_axis LUX_draw_axis |
#define | lux_getevent LUX_getevent |
#define | lux_exit LUX_quick_exit |
#define | lux_set_color LUX_set_color |
#define | lux_lookup_color LUX_lookup_color |
#define | lux_rgb_pixel LUX_rgb_pixel |
#define | lux_draw_vstring LUX_draw_vstring |
#define | lux_draw_string LUX_draw_string |
#define | lux_draw_image_string LUX_draw_image_string |
#define | lux_check_keypress LUX_check_keypress |
#define | lux_check_buttonpress LUX_check_buttonpress |
#define | lux_open_dialog LUX_open_dialog |
#define | lux_draw_palette LUX_draw_palette |
#define | lux_set_item LUX_set_item |
#define | lux_get_itemvalue LUX_get_itemvalue |
#define | lux_update_itemvalue LUX_update_itemvalue |
#define | lux_clear_window LUX_clear_window |
#define | lux_reset_window LUX_reset_window |
#define | lux_update_fg LUX_update_fg |
#define | lux_show_dialog LUX_show_dialog |
#define | lux_reconvert_rcoord LUX_reconvert_rcoord |
#define | lux_set_linestyle LUX_set_linestyle |
#define | lux_set_window_name LUX_set_window_name |
#define | lux_set_window_bgcolor LUX_set_window_bgcolor |
#define | lux_set_bgcolor LUX_set_bgcolor |
#define | lux_set_noupdate LUX_set_noupdate |
#define | lux_next_keypress LUX_next_keypress |
#define | background_color 0 |
#define | default_color 1 |
#define | bound_single 2 |
#define | bound_binary 3 |
#define | unbound_single 4 |
#define | unbound_binary 5 |
#define | N_COLORS 16 |
#define | NV_COLOR1 "black" |
#define | NV_COLOR2 "red" |
#define | NV_COLOR3 "limegreen" |
#define | NV_COLOR4 "blue" |
#define | NV_COLOR5 "gold" |
#define | NV_COLOR6 "magenta" |
#define | NV_COLOR7 "dark goldenrod" |
#define | NV_COLOR8 "lightpink" |
#define | NV_COLOR9 "aquamarine" |
#define | NV_COLORa "cyan" |
#define | NV_COLORb "lightgrey" |
#define | NV_COLORc "turquoise" |
#define | NV_COLORd "gold" |
#define | NV_COLORe "thistle" |
#define | NV_COLORf "beige" |
#define | NV_COLORg "plum" |
#define | RV_COLOR1 "white" |
#define | RV_COLOR2 "red" |
#define | RV_COLOR3 "green" |
#define | RV_COLOR4 "lightblue" |
#define | RV_COLOR5 "yellow" |
#define | RV_COLOR6 "magenta" |
#define | RV_COLOR7 "orange" |
#define | RV_COLOR8 "pink" |
#define | RV_COLOR9 "aquamarine" |
#define | RV_COLORa "cyan" |
#define | RV_COLORb "lightgrey" |
#define | RV_COLORc "turquoise" |
#define | RV_COLORd "gold" |
#define | RV_COLORe "thistle" |
#define | RV_COLORf "beige" |
#define | RV_COLORg "plum" |
#define | TAB " " |
#define | FAC3D 1.75 |
#define | ZOOM ROOT2 |
#define | PFAC 1.1892 |
#define | _R_(i) ((int)( ((float)i)*r_factor + 0.5 )) |
Enumerations | |
enum | { colorenergy = 1, tracking, graph3dim } |
enum | { xminimum = 1, xmaximum, yminimum, ymaximum, pointsize, lmax3D, theta3D, phi3D, DelayTime, dtheta3D, Origin, Xorigin, Yorigin, Zorigin, View2D, view2D, originstar, OriginStar } |
enum | { ok = 1, ok_keep, cancel } |
Functions | |
unsigned long | lux_openwin (int, int, int, int) |
int | lux_set_window_name (unsigned long, char *) |
int | lux_setup_region (unsigned long, float, float, float, float) |
int | lux_clear_current_region (unsigned long) |
int | lux_setup_axis (unsigned long, float, float, float, float) |
int | lux_draw_linef (unsigned long, float, float, float, float) |
int | lux_draw_pointf (unsigned long, float, float) |
int | lux_draw_rectanglef (unsigned long, float, float, float, float) |
int | lux_draw_arcf (unsigned long, float, float, float, float, float, float) |
int | lux_fill_arcf (unsigned long, float, float, float, float, float, float) |
int | lux_draw_axis (unsigned long) |
int | lux_getevent () |
int | lux_exit () |
int | lux_set_color (unsigned long, long) |
int | lux_set_window_bgcolor (unsigned long, long) |
int | lux_set_bgcolor (unsigned long, long) |
unsigned long | lux_rgb_pixel (unsigned long, float, float, float) |
unsigned long | lux_lookup_color (unsigned long, char *) |
int | lux_draw_string (unsigned long, float, float, float, char *, char) |
int | lux_draw_vstring (unsigned long, float, float, float, char *, char) |
int | lux_draw_image_string (unsigned long, float, float, float, char *, char) |
int | lux_check_keypress (unsigned long, char) |
int | lux_check_buttonpress (unsigned long) |
unsigned long | lux_open_dialog (int, int, int, int) |
int | lux_set_item (unsigned long, int, int, int, int, int, int, char *) |
int | lux_draw_palette (unsigned long) |
int | lux_get_itemvalue (unsigned long, int, int, int, char *) |
int | lux_update_itemvalue (unsigned long, int, int, int, char *) |
int | lux_clear_window (unsigned long) |
int | lux_reset_window (unsigned long) |
int | lux_update_fg (unsigned long) |
int | lux_show_dialog (unsigned long) |
int | lux_reconvert_rcoord (unsigned long, int, int, float *, float *) |
int | lux_set_linestyle (unsigned long, int) |
int | lux_set_noupdate (unsigned long) |
int | lux_next_keypress (unsigned long, char *, char *, char *, char *) |
int | get_mouse_position (unsigned long, float *, float *) |
void | set_default_font (char *) |
void | lux_pause (int) |
void | accumulate_potential_energy (dyn *bj, dyn *bi, real &epot, real &rmin, dynptr &bmin) |
void | compute_energies (dyn *bj, dyn *bi, char &c) |
void | project3d (float x, float y, float z, float &X, float &Y, float ct, float st, float cp, float sp, float vx, float vy, float vz, float &dv2) |
void | project3d (float x, float y, float z, float &X, float &Y, float ct, float st, float cp, float sp) |
void | draw3d_axis (unsigned long win, float lmax, float ct, float st, float cp, float sp) |
void | draw2d_axis (unsigned long win, float xmin, float xmax, float ymin, float ymax, int k) |
void | update_with_delay (unsigned long win, float t) |
void | show_instructions (unsigned long win, float r, char *buffer, int update) |
void | show_instructions (unsigned long win, float r, char *buffer, int line, int update) |
void | show_main_instructions (unsigned long instr, float r, int d, int u) |
local void | format_and_show_instructions (unsigned long co, float r, unsigned long *c_i, int index, int tab, char *cstring, int line, int u) |
void | show_color_scheme (unsigned long co, unsigned long *c_e, unsigned long *c_i, float r, char ce, bool b_flag, int u) |
void | init_colors (unsigned long win, unsigned long *ce, unsigned long *ci, bool b_flag) |
void | set_limits (float *origin, float lmax3d, int kx, float &xmin, float &xmax, int ky, float &ymin, float &ymax) |
local int | nearest_index (dyn *b, float r, float s, int kx, int ky) |
local int | count_nodes (dyn *b) |
local void | convert_relative_to_absolute (dyn *b) |
local void | draw_star_point (unsigned long win, float r, float s, float point_size, bool f_flag) |
local float | interp_to_x (float r, float s, float rr, float ss, float x) |
local float | interp_to_y (float r, float s, float rr, float ss, float y) |
local void | draw_links_2d (dyn *b, float r, float s) |
local void | draw_links_3d (dyn *b, float r, float s) |
local int | xplot_stars (dyn *b, int k, int f_flag) |
void | xstarplot (dyn *b, float r_factor, int &k, int d, float lmax, float size, float D, int ce, bool b_flag, bool f_flag, bool t_flag, int init_flag) |
main (int argc, char **argv) | |
Variables | |
char | temp_buffer [255] |
|
Definition at line 50 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 56 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 57 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 49 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 198 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 47 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 44 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 51 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 54 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 160 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 161 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 162 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 163 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 164 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 165 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 166 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 167 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 168 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 169 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 170 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 171 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 172 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 173 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 174 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 175 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 156 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 55 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 58 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 201 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 48 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 45 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 177 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 178 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 179 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 180 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 181 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 182 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 183 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 184 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 185 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 186 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 187 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 188 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 189 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 190 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 191 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 192 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 194 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 52 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 200 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 928 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 147 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 150 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 149 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 148 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 82 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 81 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 65 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 88 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 70 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 72 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 80 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 67 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 84 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 68 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 69 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 79 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 78 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 74 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 71 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 86 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 73 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 76 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 98 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 83 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 63 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 92 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 89 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 77 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 96 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 75 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 85 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 93 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 97 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 95 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 94 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 66 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 64 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 91 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 90 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 87 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 152 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 151 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 203 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 204 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 210 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 214 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 240 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 693 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 649 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 358 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 322 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 724 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 777 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 699 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 468 of file node/dyn/xutil/xstarplot.C. |
|
|
|
Definition at line 551 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 714 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 719 of file node/dyn/xutil/xstarplot.C. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 2150 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 633 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 303 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 282 of file node/dyn/xutil/xstarplot.C. |
|
|
|
Definition at line 623 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 483 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 411 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 393 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 428 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 384 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 794 of file node/dyn/xutil/xstarplot.C. Referenced by xstarplot(). |
|
Definition at line 941 of file node/dyn/xutil/xstarplot.C. |
|
Definition at line 212 of file node/dyn/xutil/xstarplot.C. |