Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

xstarplot.C File Reference

#include "sdyn3.h"
#include "xstarplot.h"
#include "dyn_util.h"

Go to the source code of this file.

Functions

local void set_base_point_size (float rel_point_size)
local float get_point_size (sdyn3 *bi)
local void draw_star_point (unsigned long win, float r, float s, float actual_point_size, bool f_flag)
local void draw_links_2d (sdyn3 *b, float r, float s)
local void draw_links_3d (sdyn3 *b, float r, float s)
local int plot_stars (sdyn3 *b, int f_flag)
local int type (int which)
local int subtype (int which)
local void set_temp_buffer (int which)
local void set_diag_item (int which, char *id, int label_on_left, int x1, int x2, int y)
local void initialize_dialog (int xorigin, int yorigin)
local void make_relative_to_root (sdyn3 *b)
local void update_diag_item (int which)
local void get_diag_string (int which)
local void read_diag_item (int which, float &f)
local void read_diag_item (int which, int &i)
local void read_diag_item (int which, char &c)
local void update_from_dialog (bool b_flag)
local void show_static_rotation (sdyn3 *b, bool f_flag)
local void check_for_input (unsigned long win, sdyn3 *b, bool b_flag, bool f_flag)
void xstarplot (sdyn3 *b, float scale, int k, int d, float lmax, int point_mode, float rel_point_size, float D, int ce, bool b_flag, bool f_flag, bool t_flag, int init_flag)
 main (int argc, char **argv)

Variables

unsigned long win
unsigned long dia
unsigned long instr
unsigned long colwin
unsigned long c_energy [10]
unsigned long c_index [N_COLORS+1]
int init_status = 0
float xmin
float xmax
float ymin
float ymax
float base_point_size
float lmax3d
float origin [3]
int win_size
int point_scale_mode = 0
int kx = 1
int ky = 2
int kproj = 3
int origin_star = -1
int nodes = 0
int links = 0
int root = 0
float theta = 0.33
float costheta = cos(0.33)
float sintheta = sin(0.33)
float dtheta = 0.03
float phi = 0.33
float cosphi = cos(0.33)
float sinphi = sin(0.33)
real local_offset [3]
float delay_time
float r_factor = 1.0
char graph3d = 1
char track = 0
char cenergy = 0
char temp_buffer [255]


Function Documentation

local void check_for_input ( unsigned long win,
sdyn3 * b,
bool b_flag,
bool f_flag )
 

Definition at line 755 of file star/xutil/xstarplot.C.

Referenced by xhrdplot(), xstarplot(), xstarplot2(), and xstarplot22().

local void draw_links_2d ( sdyn3 * b,
float r,
float s )
 

Definition at line 108 of file star/xutil/xstarplot.C.

Referenced by plot_all_stars(), plot_stars(), plot_stellar_hrd(), and xplot_stars().

local void draw_links_3d ( sdyn3 * b,
float r,
float s )
 

Definition at line 162 of file star/xutil/xstarplot.C.

Referenced by plot_all_stars(), plot_stars(), and xplot_stars().

local void draw_star_point ( unsigned long win,
float r,
float s,
float actual_point_size,
bool f_flag )
 

Definition at line 93 of file star/xutil/xstarplot.C.

Referenced by plot_star(), plot_stars(), plot_stellar_hrd(), and xplot_stars().

local void get_diag_string ( int which )
 

Definition at line 548 of file star/xutil/xstarplot.C.

local float get_point_size ( sdyn3 * bi )
 

Definition at line 80 of file star/xutil/xstarplot.C.

Referenced by plot_all_stars(), plot_stars(), plot_stellar_hrd(), and show_static_rotation().

local void initialize_dialog ( int xorigin,
int yorigin )
 

Definition at line 414 of file star/xutil/xstarplot.C.

Referenced by set_up_dialog(), xhrdplot(), xstarplot(), xstarplot2(), and xstarplot22().

main ( int argc,
char ** argv )
 

Definition at line 1456 of file star/xutil/xstarplot.C.

local void make_relative_to_root ( sdyn3 * b )
 

Definition at line 531 of file star/xutil/xstarplot.C.

Referenced by xhrdplot(), xstarplot(), xstarplot2(), and xstarplot22().

local int plot_stars ( sdyn3 * b,
int f_flag )
 

Definition at line 179 of file star/xutil/xstarplot.C.

Referenced by combine_top_level_nodes(), new_timestep(), and xstarplot().

local void read_diag_item ( int which,
char & c )
 

Definition at line 567 of file star/xutil/xstarplot.C.

Referenced by update_from_dialog().

local void read_diag_item ( int which,
int & i )
 

Definition at line 560 of file star/xutil/xstarplot.C.

local void read_diag_item ( int which,
float & f )
 

Definition at line 553 of file star/xutil/xstarplot.C.

local void set_base_point_size ( float rel_point_size )
 

Definition at line 74 of file star/xutil/xstarplot.C.

Referenced by xhrdplot(), xstarplot(), xstarplot2(), and xstarplot22().

local void set_diag_item ( int which,
char * id,
int label_on_left,
int x1,
int x2,
int y )
 

Definition at line 383 of file star/xutil/xstarplot.C.

Referenced by initialize_dialog().

local void set_temp_buffer ( int which )
 

Definition at line 344 of file star/xutil/xstarplot.C.

Referenced by set_diag_item(), and update_diag_item().

local void show_static_rotation ( sdyn3 * b,
bool f_flag )
 

Definition at line 655 of file star/xutil/xstarplot.C.

Referenced by check_for_input().

local int subtype ( int which )
 

Definition at line 336 of file star/xutil/xstarplot.C.

Referenced by read_diag_item(), and update_diag_item().

local int type ( int which )
 

Definition at line 328 of file star/xutil/xstarplot.C.

Referenced by read_diag_item(), set_diag_item(), and update_diag_item().

local void update_diag_item ( int which )
 

Definition at line 541 of file star/xutil/xstarplot.C.

Referenced by check_for_input(), show_static_rotation(), and update_from_dialog().

local void update_from_dialog ( bool b_flag )
 

Definition at line 574 of file star/xutil/xstarplot.C.

Referenced by check_for_input(), and read_dialog_window().

void xstarplot ( sdyn3 * b,
float scale,
int k,
int d,
float lmax,
int point_mode,
float rel_point_size,
float D,
int ce,
bool b_flag,
bool f_flag,
bool t_flag,
int init_flag )
 

Definition at line 1266 of file star/xutil/xstarplot.C.

Referenced by main().


Variable Documentation

float base_point_size
 

Definition at line 52 of file star/xutil/xstarplot.C.

unsigned long c_energy[10]
 

Definition at line 46 of file star/xutil/xstarplot.C.

unsigned long c_index[N_COLORS+1]
 

Definition at line 46 of file star/xutil/xstarplot.C.

char cenergy = 0
 

Definition at line 65 of file star/xutil/xstarplot.C.

unsigned long colwin
 

Definition at line 45 of file star/xutil/xstarplot.C.

float cosphi = cos(0.33)
 

Definition at line 60 of file star/xutil/xstarplot.C.

float costheta = cos(0.33)
 

Definition at line 59 of file star/xutil/xstarplot.C.

float delay_time
 

Definition at line 62 of file star/xutil/xstarplot.C.

unsigned long dia
 

Definition at line 45 of file star/xutil/xstarplot.C.

float dtheta = 0.03
 

Definition at line 59 of file star/xutil/xstarplot.C.

char graph3d = 1
 

Definition at line 65 of file star/xutil/xstarplot.C.

int init_status = 0
 

Definition at line 47 of file star/xutil/xstarplot.C.

unsigned long instr
 

Definition at line 45 of file star/xutil/xstarplot.C.

int kproj = 3
 

Definition at line 56 of file star/xutil/xstarplot.C.

int kx = 1
 

Definition at line 56 of file star/xutil/xstarplot.C.

int ky = 2
 

Definition at line 56 of file star/xutil/xstarplot.C.

int links = 0
 

Definition at line 58 of file star/xutil/xstarplot.C.

float lmax3d
 

Definition at line 52 of file star/xutil/xstarplot.C.

real local_offset[3]
 

Definition at line 61 of file star/xutil/xstarplot.C.

int nodes = 0
 

Definition at line 58 of file star/xutil/xstarplot.C.

float origin[3]
 

Definition at line 52 of file star/xutil/xstarplot.C.

int origin_star = -1
 

Definition at line 57 of file star/xutil/xstarplot.C.

float phi = 0.33
 

Definition at line 60 of file star/xutil/xstarplot.C.

int point_scale_mode = 0
 

Definition at line 55 of file star/xutil/xstarplot.C.

float r_factor = 1.0
 

Definition at line 63 of file star/xutil/xstarplot.C.

int root = 0
 

Definition at line 58 of file star/xutil/xstarplot.C.

float sinphi = sin(0.33)
 

Definition at line 60 of file star/xutil/xstarplot.C.

float sintheta = sin(0.33)
 

Definition at line 59 of file star/xutil/xstarplot.C.

char temp_buffer[255]
 

Definition at line 67 of file star/xutil/xstarplot.C.

float theta = 0.33
 

Definition at line 59 of file star/xutil/xstarplot.C.

char track = 0
 

Definition at line 65 of file star/xutil/xstarplot.C.

unsigned long win
 

Definition at line 45 of file star/xutil/xstarplot.C.

int win_size
 

Definition at line 54 of file star/xutil/xstarplot.C.

float xmax
 

Definition at line 52 of file star/xutil/xstarplot.C.

float xmin
 

Definition at line 52 of file star/xutil/xstarplot.C.

float ymax
 

Definition at line 52 of file star/xutil/xstarplot.C.

float ymin
 

Definition at line 52 of file star/xutil/xstarplot.C.


Generated at Sun Feb 24 09:57:33 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001