/Users/craigcornelius/Projects/SPRING Mac Release 0.2/util.h File Reference

#include <stdio.h>
#include "point3d.h"

Include dependency graph for util.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PI   3.1415927
#define MAXLINE   255

Enumerations

enum  game_enum {
  no_game, ring_game, vessel_game, cleft_game,
  knot_game, vessel_knot_game, surgical_game, suture_game
}

Functions

template<class T>
MIN (T x, T y)
template<class T>
MAX (T x, T y)
template<class T>
MIN3 (T x, T y, T z)
template<class T>
MAX3 (T x, T y, T z)
char * myfgets (char *s, int n, FILE *stream)
char * myrindex (char *s, char c)
char * mybasename (char *s)
char * myextension (char *s)
void mysleep (float seconds)
void myreplacechar (char *s, char replace_this, char with_that)
Point3D getCameraPos (Point3D *look=NULL, Point3D *up=NULL)


Define Documentation

#define MAXLINE   255

Definition at line 14 of file util.h.

#define PI   3.1415927

Definition at line 11 of file util.h.


Enumeration Type Documentation

enum game_enum

Enumerator:
no_game 
ring_game 
vessel_game 
cleft_game 
knot_game 
vessel_knot_game 
surgical_game 
suture_game 

Definition at line 22 of file util.h.


Function Documentation

Point3D getCameraPos ( Point3D look = NULL,
Point3D up = NULL 
)

Definition at line 6890 of file spring.cpp.

template<class T>
T MAX ( x,
y 
) [inline]

Definition at line 18 of file util.h.

template<class T>
T MAX3 ( x,
y,
z 
) [inline]

Definition at line 20 of file util.h.

template<class T>
T MIN ( x,
y 
) [inline]

Definition at line 17 of file util.h.

template<class T>
T MIN3 ( x,
y,
z 
) [inline]

Definition at line 19 of file util.h.

char* mybasename ( char *  s  ) 

Definition at line 49 of file util.cpp.

char* myextension ( char *  s  ) 

Definition at line 58 of file util.cpp.

char* myfgets ( char *  s,
int  n,
FILE *  stream 
)

Definition at line 17 of file util.cpp.

void myreplacechar ( char *  s,
char  replace_this,
char  with_that 
)

Definition at line 81 of file util.cpp.

char* myrindex ( char *  s,
char  c 
)

Definition at line 38 of file util.cpp.

void mysleep ( float  seconds  ) 

Definition at line 70 of file util.cpp.


Generated on Thu Aug 30 11:04:22 2007 for SPRING Mac by  doxygen 1.5.3