ifs.c File Reference

Go to the source code of this file.

Classes

struct  Similitude_Struct
struct  Fractal_Struct

Typedefs

typedef float DBL
typedef int F_PT
typedef struct Similitude_Struct SIMI
typedef struct Fractal_Struct FRACTAL

Functions

static DBL Gauss_Rand (DBL c, DBL A, DBL S)
static DBL Half_Gauss_Rand (DBL c, DBL A, DBL S)
static void Random_Simis (FRACTAL *F, SIMI *Cur, int i)
static void free_ifs_buffers (FRACTAL *Fractal)
static void free_ifs (FRACTAL *Fractal)
void init_ifs (int width, int height)
static void Transform (SIMI *Simi, F_PT xo, F_PT yo, F_PT *x, F_PT *y)
static void Trace (FRACTAL *F, F_PT xo, F_PT yo)
static void Draw_Fractal ()
IFSPointdraw_ifs (int *nbpt)
void release_ifs ()

Variables

static const char sccsid [] = "@(#)ifs.c 5.00 2002/04/11 baffe"
static FRACTALRoot = (FRACTAL *) NULL
static FRACTALCur_F
IFSPointBuf
static int Cur_Pt


Typedef Documentation

typedef float DBL

Definition at line 86 of file ifs.c.

typedef int F_PT

Definition at line 87 of file ifs.c.

typedef struct Similitude_Struct SIMI

Definition at line 114 of file ifs.c.

typedef struct Fractal_Struct FRACTAL

Definition at line 115 of file ifs.c.


Function Documentation

static DBL Gauss_Rand ( DBL  c,
DBL  A,
DBL  S 
) [static]

Definition at line 154 of file ifs.c.

Referenced by Random_Simis().

static DBL Half_Gauss_Rand ( DBL  c,
DBL  A,
DBL  S 
) [static]

Definition at line 166 of file ifs.c.

Referenced by Random_Simis().

static void Random_Simis ( FRACTAL F,
SIMI Cur,
int  i 
) [static]

Definition at line 176 of file ifs.c.

Referenced by draw_ifs(), and init_ifs().

static void free_ifs_buffers ( FRACTAL Fractal  )  [static]

Definition at line 190 of file ifs.c.

Referenced by free_ifs(), and init_ifs().

static void free_ifs ( FRACTAL Fractal  )  [static]

Definition at line 204 of file ifs.c.

Referenced by init_ifs(), and release_ifs().

void init_ifs ( int  width,
int  height 
)

Definition at line 212 of file ifs.c.

Referenced by goom_init(), and goom_set_resolution().

static void Transform ( SIMI Simi,
F_PT  xo,
F_PT  yo,
F_PT x,
F_PT y 
) [inline, static]

Definition at line 339 of file ifs.c.

Referenced by Draw_Fractal(), and Trace().

static void Trace ( FRACTAL F,
F_PT  xo,
F_PT  yo 
) [static]

Definition at line 364 of file ifs.c.

Referenced by Draw_Fractal().

static void Draw_Fractal (  )  [static]

Definition at line 388 of file ifs.c.

Referenced by draw_ifs().

IFSPoint* draw_ifs ( int *  nbpt  ) 

Definition at line 461 of file ifs.c.

Referenced by ifs_update().

void release_ifs ( void   ) 

Definition at line 540 of file ifs.c.

Referenced by goom_close().


Variable Documentation

const char sccsid[] = "@(#)ifs.c 5.00 2002/04/11 baffe" [static]

Definition at line 5 of file ifs.c.

FRACTAL* Root = (FRACTAL *) NULL [static]

Definition at line 144 of file ifs.c.

FRACTAL * Cur_F [static]

Definition at line 144 of file ifs.c.

Referenced by Draw_Fractal(), and Trace().

Definition at line 147 of file ifs.c.

int Cur_Pt [static]

Definition at line 148 of file ifs.c.

Referenced by Draw_Fractal(), draw_ifs(), and Trace().


Generated on Sat Dec 18 05:15:53 2010 for MythTV by  doxygen 1.5.5