Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

xhrdplot.C File Reference

#include "hdyn.h"
#include "xhrdplot.h"
#include "hrd_util.h"
#include "dyn_util.h"
#include "single_star.h"

Go to the source code of this file.

Defines

#define VERY_LARGE_FLOAT   1e30

Functions

local void set_base_point_size (float rel_point_size)
local float get_point_size (float radius)
local float get_point_size (hdyn *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 (hdyn *b, float r, float s)
local void draw_links_3d (hdyn *b, float r, float s)
local int plot_stellar_hrd (hdyn *b, int f_flag)
local int plot_stars (hdyn *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 (hdyn *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 (hdyn *b, bool f_flag)
local void check_for_input (unsigned long win, hdyn *b, bool b_flag, bool f_flag)
void xhrdplot (hdyn *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)
void xstarplot (hdyn *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 hrd_win
unsigned long hrd_instr
unsigned long hrd_colwin
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]
float hrd_xmin
float hrd_xmax
float hrd_ymin
float hrd_ymax
int win_size
int point_scale_mode = 1
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]


Define Documentation

#define VERY_LARGE_FLOAT   1e30
 

Definition at line 46 of file xhrdplot.C.


Function Documentation

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

Definition at line 923 of file xhrdplot.C.

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

Definition at line 133 of file xhrdplot.C.

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

Definition at line 187 of file xhrdplot.C.

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

Definition at line 118 of file xhrdplot.C.

local void get_diag_string ( int which )
 

Definition at line 716 of file xhrdplot.C.

local float get_point_size ( hdyn * bi )
 

Definition at line 105 of file xhrdplot.C.

local float get_point_size ( float radius )
 

Definition at line 88 of file xhrdplot.C.

local void initialize_dialog ( int xorigin,
int yorigin )
 

Definition at line 582 of file xhrdplot.C.

main ( int argc,
char ** argv )
 

Definition at line 1857 of file xhrdplot.C.

local void make_relative_to_root ( hdyn * b )
 

Definition at line 699 of file xhrdplot.C.

local int plot_stars ( hdyn * b,
int f_flag )
 

Definition at line 347 of file xhrdplot.C.

local int plot_stellar_hrd ( hdyn * b,
int f_flag )
 

Definition at line 204 of file xhrdplot.C.

local void read_diag_item ( int which,
char & c )
 

Definition at line 735 of file xhrdplot.C.

local void read_diag_item ( int which,
int & i )
 

Definition at line 728 of file xhrdplot.C.

local void read_diag_item ( int which,
float & f )
 

Definition at line 721 of file xhrdplot.C.

local void set_base_point_size ( float rel_point_size )
 

Definition at line 82 of file xhrdplot.C.

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

Definition at line 551 of file xhrdplot.C.

local void set_temp_buffer ( int which )
 

Definition at line 512 of file xhrdplot.C.

local void show_static_rotation ( hdyn * b,
bool f_flag )
 

Definition at line 823 of file xhrdplot.C.

local int subtype ( int which )
 

Definition at line 504 of file xhrdplot.C.

local int type ( int which )
 

Definition at line 496 of file xhrdplot.C.

local void update_diag_item ( int which )
 

Definition at line 709 of file xhrdplot.C.

local void update_from_dialog ( bool b_flag )
 

Definition at line 742 of file xhrdplot.C.

void xhrdplot ( hdyn * 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 1434 of file xhrdplot.C.

void xstarplot ( hdyn * 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 1663 of file xhrdplot.C.


Variable Documentation

float base_point_size
 

Definition at line 59 of file xhrdplot.C.

unsigned long c_energy[10]
 

Definition at line 53 of file xhrdplot.C.

unsigned long c_index[N_COLORS+1]
 

Definition at line 53 of file xhrdplot.C.

char cenergy = 0
 

Definition at line 73 of file xhrdplot.C.

unsigned long colwin
 

Definition at line 52 of file xhrdplot.C.

float cosphi = cos(0.33)
 

Definition at line 68 of file xhrdplot.C.

float costheta = cos(0.33)
 

Definition at line 67 of file xhrdplot.C.

float delay_time
 

Definition at line 70 of file xhrdplot.C.

unsigned long dia
 

Definition at line 52 of file xhrdplot.C.

float dtheta = 0.03
 

Definition at line 67 of file xhrdplot.C.

char graph3d = 1
 

Definition at line 73 of file xhrdplot.C.

unsigned long hrd_colwin
 

Definition at line 51 of file xhrdplot.C.

unsigned long hrd_instr
 

Definition at line 51 of file xhrdplot.C.

unsigned long hrd_win
 

Definition at line 51 of file xhrdplot.C.

float hrd_xmax
 

Definition at line 60 of file xhrdplot.C.

float hrd_xmin
 

Definition at line 60 of file xhrdplot.C.

float hrd_ymax
 

Definition at line 60 of file xhrdplot.C.

float hrd_ymin
 

Definition at line 60 of file xhrdplot.C.

int init_status = 0
 

Definition at line 54 of file xhrdplot.C.

unsigned long instr
 

Definition at line 52 of file xhrdplot.C.

int kproj = 3
 

Definition at line 64 of file xhrdplot.C.

int kx = 1
 

Definition at line 64 of file xhrdplot.C.

int ky = 2
 

Definition at line 64 of file xhrdplot.C.

int links = 0
 

Definition at line 66 of file xhrdplot.C.

float lmax3d
 

Definition at line 59 of file xhrdplot.C.

real local_offset[3]
 

Definition at line 69 of file xhrdplot.C.

int nodes = 0
 

Definition at line 66 of file xhrdplot.C.

float origin[3]
 

Definition at line 59 of file xhrdplot.C.

int origin_star = -1
 

Definition at line 65 of file xhrdplot.C.

float phi = 0.33
 

Definition at line 68 of file xhrdplot.C.

int point_scale_mode = 1
 

Definition at line 63 of file xhrdplot.C.

float r_factor = 1.0
 

Definition at line 71 of file xhrdplot.C.

int root = 0
 

Definition at line 66 of file xhrdplot.C.

float sinphi = sin(0.33)
 

Definition at line 68 of file xhrdplot.C.

float sintheta = sin(0.33)
 

Definition at line 67 of file xhrdplot.C.

char temp_buffer[255]
 

Definition at line 75 of file xhrdplot.C.

float theta = 0.33
 

Definition at line 67 of file xhrdplot.C.

char track = 0
 

Definition at line 73 of file xhrdplot.C.

unsigned long win
 

Definition at line 52 of file xhrdplot.C.

int win_size
 

Definition at line 62 of file xhrdplot.C.

float xmax
 

Definition at line 59 of file xhrdplot.C.

float xmin
 

Definition at line 59 of file xhrdplot.C.

float ymax
 

Definition at line 59 of file xhrdplot.C.

float ymin
 

Definition at line 59 of file xhrdplot.C.


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