LASERS.C File Reference

Go to the source code of this file.

Defines

#define y1   myy1
#define frac(z)   fmod(z,1.0)
#define imod(z, a)   ((z) - ((z)/(a))*(a))
#define DIST(i, j)   sqrt((double)i * (double)i + (double)j * (double)j)
#define DIST3(i, j, k)

Functions

BOOL WINAPI DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
void DrawInBuffer (fullscreenbuffer *Screen, int Xmax, int Ymax, int x, int y, double v, double rr, double gg, double bb, double z, float *Zb, BOOL bDraw)
void DrawAApixel (double x, double y, double w, double h, double C, fullscreenbuffer *S, int X, int Y, double r, double g, double b, double z, float *Zb, BOOL bDraw)
long _RenderImageProcess (char *PrmList, XIMAGE *lpXimage)
long _RenderGLexternal (char *PrmList, XIMAGE *lpXimage)
BOOL CALLBACK DlgProc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
char * _SetExternalParameters (char *Op, HWND hWnd, long ruler, char *name, X__MEMORY_MANAGER *lpEVI)


Define Documentation

#define y1   myy1

#define frac ( z   )     fmod(z,1.0)

Definition at line 140 of file LASERS.C.

#define imod ( z,
 )     ((z) - ((z)/(a))*(a))

Definition at line 141 of file LASERS.C.

Referenced by _RenderImageProcess(), and dRandom().

#define DIST ( i,
 )     sqrt((double)i * (double)i + (double)j * (double)j)

Definition at line 206 of file LASERS.C.

#define DIST3 ( i,
j,
 ) 

Value:

sqrt((double)(i) * (double)(i) + \
                           (double)(j) * (double)(j) + \
                           (double)(k) * (double)(k) )

Definition at line 208 of file LASERS.C.

Referenced by _RenderImageProcess().


Function Documentation

BOOL WINAPI DllMain ( HANDLE  hDLL,
DWORD  dwReason,
LPVOID  lpReserved 
)

Definition at line 55 of file LASERS.C.

References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, and TRUE.

void DrawInBuffer ( fullscreenbuffer Screen,
int  Xmax,
int  Ymax,
int  x,
int  y,
double  v,
double  rr,
double  gg,
double  bb,
double  z,
float *  Zb,
BOOL  bDraw 
)

Definition at line 122 of file LASERS.C.

References double.

void DrawAApixel ( double  x,
double  y,
double  w,
double  h,
double  C,
fullscreenbuffer S,
int  X,
int  Y,
double  r,
double  g,
double  b,
double  z,
float *  Zb,
BOOL  bDraw 
)

Definition at line 143 of file LASERS.C.

References DrawInBuffer(), and frac.

long _RenderImageProcess ( char *  PrmList,
XIMAGE lpXimage 
)

long _RenderGLexternal ( char *  PrmList,
XIMAGE lpXimage 
)

Definition at line 540 of file LASERS.C.

BOOL CALLBACK DlgProc ( HWND  hwnd,
UINT  msg,
WPARAM  wparam,
LPARAM  lparam 
)

Definition at line 55 of file 3DSCON.C.

char* _SetExternalParameters ( char *  Op,
HWND  hWnd,
long  ruler,
char *  name,
X__MEMORY_MANAGER lpEVI 
)

Definition at line 555 of file LASERS.C.

References CALL_FREE, CALL_MALLOC, DLG_LASER, DlgProc(), double, FALSE, id1, id2, type, and version.


Generated on Sun Apr 27 14:20:16 2014 for OpenFX by  doxygen 1.5.6