Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

gfx_util.C File Reference

#include "xstarplot.h"

Go to the source code of this file.

Functions

void initialize_graphics (float r_factor, bool b_flag, unsigned long &win, unsigned long &instr, unsigned long &colwin, unsigned long *c_index, unsigned long *c_energy, int &win_size, int &xorigin, int &yorigin)
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)
float interp_to_x (float r, float s, float rr, float ss, float x)
float interp_to_y (float r, float s, float rr, float ss, float y)


Function Documentation

void draw2d_axis ( unsigned long win,
float xmin,
float xmax,
float ymin,
float ymax,
int k )
 

Definition at line 222 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

void draw3d_axis ( unsigned long win,
float lmax,
float ct,
float st,
float cp,
float sp )
 

Definition at line 186 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

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 )
 

Definition at line 334 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

void init_colors ( unsigned long win,
unsigned long * ce,
unsigned long * ci,
bool b_flag )
 

Definition at line 417 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

void initialize_graphics ( float r_factor,
bool b_flag,
unsigned long & win,
unsigned long & instr,
unsigned long & colwin,
unsigned long * c_index,
unsigned long * c_energy,
int & win_size,
int & xorigin,
int & yorigin )
 

Definition at line 11 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

float interp_to_x ( float r,
float s,
float rr,
float ss,
float x )
 

Definition at line 511 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

float interp_to_y ( float r,
float s,
float rr,
float ss,
float y )
 

Definition at line 517 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

void project3d ( float x,
float y,
float z,
float & X,
float & Y,
float ct,
float st,
float cp,
float sp )
 

Definition at line 167 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.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 )
 

Definition at line 146 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

void set_limits ( float * origin,
float lmax3d,
int kx,
float & xmin,
float & xmax,
int ky,
float & ymin,
float & ymax )
 

Definition at line 500 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

void show_color_scheme ( unsigned long co,
unsigned long * c_e,
unsigned long * c_i,
float r,
char ce,
bool b_flag,
int u )
 

Definition at line 349 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

void show_instructions ( unsigned long win,
float r,
char * buffer,
int line,
int update )
 

Definition at line 276 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

void show_instructions ( unsigned long win,
float r,
char * buffer,
int update )
 

Definition at line 256 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

void show_main_instructions ( unsigned long instr,
float r,
int d,
int u )
 

Definition at line 294 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.

void update_with_delay ( unsigned long win,
float t )
 

Definition at line 248 of file node/dyn/hdyn/sdyn3/xutil/gfx_util.C.


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