Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

makepovfile.C File Reference

#include "single_star.h"
#include "sstar_to_dyn.h"
#include "dyn.h"

Go to the source code of this file.

Data Structures

struct  collisions
struct  nebulae
struct  sn_remnants

Defines

#define NNEBULAE   10
#define NSN_REMNANT   4
#define NCOLLISIONS   10

Enumerations

enum  filter_type { Visual = 0, Radio, X_rays }

Functions

local filter_type get_filter_type (char fltr)
void new_camera_position (vector &v_new, vector first_pos, vector last_pos, int nsteps, int nsnap)
local void print_camera_on_star (dyn *b, vector com_pos, int camera_on_star_id, real r_star, real aperture, int blur_samples)
local bool print_camera_position_recursive (dyn *b, vector cam_pos, int camera_on_star_id, real r_star, real aperture, int blur_samples)
local void print_filename_counter (int counter, ostream &s)
local void print_pl_nebula (vector pos, real scale)
local void print_sn_nebula (vector pos, real scale)
local void print_some_data (dyn *b)
local void print_hertzsprung_Russell_diagram (dyn *b, vector cam_pos)
local void add_collision_effect (dyn *bi, vector pos, real time, real scale)
local void print_star (dyn *bi, vector pos, real scale_L, filter_type filter)
local void print_node (dyn *bi, vector pos, real mass_scale, real mmax)
local int print_povray_binary_recursive (dyn *b, vector dc_pos, real mass_limit, real number_limit, bool povray, real scale_L, filter_type filter)
local void print_povtime (real time, vector pos, real scale=1, real depth=0.25)
local void print_start_text (vector cam_pos)
local void print_povray_stars (dyn *b, real mass_limit, real number_limit, bool povray, real scale_L, filter_type filter)
local void print_povray_bodies (dyn *b, real mass_limit, real number_limit, real mmax, real scale_M)
void print_povray_header (dyn *b, vector cam_pos, int camera_on_star_id, real aperture, real gamma, int blur_samples, int counter, real scale_L, int horizontal, int vertical, bool print_hrd)
void print_mpegplayer_param_file (ostream &s, int first_frame, int last_frame, int horizontal, int vertical, int GOP_size)
void rdc_and_wrt_movie (dyn *b, bool povray, real scale_L, real mmax, char fltr)

Variables

nebulae nebula [NNEBULAE]
sn_remnants sn_remnant [NSN_REMNANT]
collisions collision [NCOLLISIONS]


Define Documentation

#define NCOLLISIONS   10
 

Definition at line 37 of file makepovfile.C.

#define NNEBULAE   10
 

Definition at line 19 of file makepovfile.C.

#define NSN_REMNANT   4
 

Definition at line 28 of file makepovfile.C.


Enumeration Type Documentation

enum filter_type
 

Enumeration values:
Visual  
Radio  
X_rays  

Definition at line 45 of file makepovfile.C.


Function Documentation

local void add_collision_effect ( dyn * bi,
vector pos,
real time,
real scale )
 

Definition at line 299 of file makepovfile.C.

Referenced by print_node(), and print_star().

local filter_type get_filter_type ( char fltr )
 

Definition at line 47 of file makepovfile.C.

Referenced by rdc_and_wrt_movie().

void new_camera_position ( vector & v_new,
vector first_pos,
vector last_pos,
int nsteps,
int nsnap )
 

Definition at line 62 of file makepovfile.C.

local void print_camera_on_star ( dyn * b,
vector com_pos,
int camera_on_star_id,
real r_star,
real aperture,
int blur_samples )
 

Definition at line 98 of file makepovfile.C.

Referenced by print_camera_position_recursive().

local bool print_camera_position_recursive ( dyn * b,
vector cam_pos,
int camera_on_star_id,
real r_star,
real aperture,
int blur_samples )
 

Definition at line 143 of file makepovfile.C.

Referenced by print_povray_header().

local void print_filename_counter ( int counter,
ostream & s )
 

Definition at line 171 of file makepovfile.C.

Referenced by print_mpegplayer_param_file(), and print_povray_header().

local void print_hertzsprung_Russell_diagram ( dyn * b,
vector cam_pos )
 

Definition at line 222 of file makepovfile.C.

Referenced by print_povray_header().

void print_mpegplayer_param_file ( ostream & s,
int first_frame,
int last_frame,
int horizontal,
int vertical,
int GOP_size )
 

Definition at line 954 of file makepovfile.C.

local void print_node ( dyn * bi,
vector pos,
real mass_scale,
real mmax )
 

Definition at line 600 of file makepovfile.C.

Referenced by print_povray_bodies(), and print_tree().

local void print_pl_nebula ( vector pos,
real scale )
 

Definition at line 187 of file makepovfile.C.

Referenced by print_star().

local int print_povray_binary_recursive ( dyn * b,
vector dc_pos,
real mass_limit,
real number_limit,
bool povray,
real scale_L,
filter_type filter )
 

Definition at line 705 of file makepovfile.C.

Referenced by print_povray_stars().

local void print_povray_bodies ( dyn * b,
real mass_limit,
real number_limit,
real mmax,
real scale_M )
 

Definition at line 819 of file makepovfile.C.

Referenced by rdc_and_wrt_movie().

void print_povray_header ( dyn * b,
vector cam_pos,
int camera_on_star_id,
real aperture,
real gamma,
int blur_samples,
int counter,
real scale_L,
int horizontal,
int vertical,
bool print_hrd )
 

Definition at line 846 of file makepovfile.C.

local void print_povray_stars ( dyn * b,
real mass_limit,
real number_limit,
bool povray,
real scale_L,
filter_type filter )
 

Definition at line 758 of file makepovfile.C.

Referenced by rdc_and_wrt_movie().

local void print_povtime ( real time,
vector pos,
real scale = 1,
real depth = 0.25 )
 

Definition at line 731 of file makepovfile.C.

Referenced by print_povray_header().

local void print_sn_nebula ( vector pos,
real scale )
 

Definition at line 196 of file makepovfile.C.

Referenced by print_star().

local void print_some_data ( dyn * b )
 

Definition at line 205 of file makepovfile.C.

Referenced by print_hertzsprung_Russell_diagram().

local void print_star ( dyn * bi,
vector pos,
real scale_L,
filter_type filter )
 

Definition at line 327 of file makepovfile.C.

local void print_start_text ( vector cam_pos )
 

Definition at line 755 of file makepovfile.C.

void rdc_and_wrt_movie ( dyn * b,
bool povray,
real scale_L,
real mmax,
char fltr )
 

Definition at line 1002 of file makepovfile.C.


Variable Documentation

collisions collision[NCOLLISIONS]
 

Definition at line 43 of file makepovfile.C.

nebulae nebula[NNEBULAE]
 

Definition at line 26 of file makepovfile.C.

sn_remnants sn_remnant[NSN_REMNANT]
 

Definition at line 35 of file makepovfile.C.


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