C:/USPDesig/INC/animatio.h File Reference

#include <stdio.h>

Go to the source code of this file.

Classes

struct  IntVector
struct  FloVector
struct  movcam
struct  movaxs
union  movunion
struct  Move
struct  FrameList

Defines

#define EXTERN   extern
#define MAXTIME   0.1
#define MAXTIME2   1
#define MAXVECTORS   600
#define MAXNUMFRAMES   150
#define FILTERPRECISION   0.003

Typedefs

typedef real vector [4]
typedef real vect2 [3]
typedef struct cameratp CTYPE
typedef struct axistp ATYPE
typedef enum movimento Mov
typedef struct movcam MOVCAM
typedef struct movaxs MOVAXS
typedef union movunion MOVUNION
typedef struct Move MOVE
typedef struct IntVector INTVECTOR
typedef struct FloVector FLOVECTOR
typedef struct FrameList FRAMEPT

Enumerations

enum  movimento { MovimentoAxis, MovimentoCamera }

Functions

void animatio (void)
void MSD_selectAllObjects (void)
void MSD_selectElement (char *name)
void MSD_selectGroup (char *name)
void MSD_selectObject (char *name)
void MSD_resetAllObjects (void)
void MSD_resetObject (char *name)
void MSD_resetGroup (char *name)
void MSD_resetElement (char *name)
void MSD_addAxisToMovementStructure (char *eaname, real edesl)
void MSD_addCameraToMovementStructure (char *aname, real ex, real ey, real ez, real rx, real ry, real rz, real desl)
void AddCamAni (char *aname, vector eeye, vector eref, real edesl)
FILE * OpenIndexAni (char *arqnam)
void CriaFrame (FILE *arqaux, char *arqnam, int framect)
void MSD_createAnimation (int opcao, int nframes, char *AnimeName, char *ecname)
char * InitFrameCount (char *nome, char *aux, int framect)
void PurificaAni (char *arqnam, int opcao)
void PurificaFrame (int num, char *arqname, char *filename, int opcao)
int compara (real x, real y, real eps)
void cinema (void)
void MSD_loadAnimation (char *AnimeName, int frini, int frfim, int frpasso)
void DrawLine (INTVECTOR *auxpt)
void ExibeFrame (int p)
void MSD_displayLoadedAnimation (int num)
void LoadFrame (int count, int num, char *filename)
int FindFrameNum (char *nome)
void MSD_freeCinemaStructure (void)
MOVECreateElementAni (Mov mov)
void AddElementAni (MOVE *e)
void RemElementAni (MOVE *p)
void MSD_clearAnimationList (void)
void PrintListAni (void)
void InitListAni (int nframes)

Variables

EXTERN MOVEmovhead
EXTERN int framenum
EXTERN int NumeroFrames


Define Documentation

#define EXTERN   extern

Definition at line 49 of file animatio.h.

#define FILTERPRECISION   0.003

Definition at line 79 of file animatio.h.

Referenced by PurificaFrame().

#define MAXNUMFRAMES   150

Definition at line 78 of file animatio.h.

Referenced by MSD_loadAnimation().

#define MAXTIME   0.1

Definition at line 75 of file animatio.h.

#define MAXTIME2   1

Definition at line 76 of file animatio.h.

#define MAXVECTORS   600

Definition at line 77 of file animatio.h.

Referenced by PurificaFrame().


Typedef Documentation

typedef struct axistp ATYPE

Definition at line 68 of file animatio.h.

typedef struct cameratp CTYPE

Definition at line 65 of file animatio.h.

typedef struct FloVector FLOVECTOR

Definition at line 86 of file animatio.h.

typedef struct FrameList FRAMEPT

Definition at line 87 of file animatio.h.

typedef struct IntVector INTVECTOR

Definition at line 85 of file animatio.h.

typedef enum movimento Mov

Definition at line 71 of file animatio.h.

typedef struct movaxs MOVAXS

Definition at line 82 of file animatio.h.

typedef struct movcam MOVCAM

Definition at line 81 of file animatio.h.

typedef struct Move MOVE

Definition at line 84 of file animatio.h.

typedef union movunion MOVUNION

Definition at line 83 of file animatio.h.

typedef real vect2[3]

Definition at line 61 of file animatio.h.

typedef real vector[4]

Definition at line 57 of file animatio.h.


Enumeration Type Documentation

enum movimento

Enumerator:
MovimentoAxis 
MovimentoCamera 

Definition at line 133 of file animatio.h.


Function Documentation

void AddCamAni ( char *  aname,
vector  eeye,
vector  eref,
real  edesl 
)

void AddElementAni ( MOVE e  ) 

Definition at line 89 of file animlist.cpp.

References movhead, Move::next, and NIL.

Referenced by AddCamAni(), and MSD_addAxisToMovementStructure().

void animatio ( void   ) 

void cinema ( void   ) 

int compara ( real  x,
real  y,
real  eps 
)

Definition at line 619 of file anicreat.cpp.

References FALSE, and TRUE.

Referenced by PurificaFrame().

MOVE* CreateElementAni ( Mov  mov  ) 

void CriaFrame ( FILE *  arqaux,
char *  arqnam,
int  framect 
)

void DrawLine ( INTVECTOR auxpt  ) 

void ExibeFrame ( int  p  ) 

Definition at line 180 of file aniexibe.cpp.

References DrawLine(), g_clear(), and NumVec.

Referenced by MSD_displayLoadedAnimation().

int FindFrameNum ( char *  nome  ) 

Definition at line 312 of file aniexibe.cpp.

References NIL.

Referenced by MSD_loadAnimation().

char* InitFrameCount ( char *  nome,
char *  aux,
int  framect 
)

Definition at line 434 of file anicreat.cpp.

Referenced by CriaFrame(), and MSD_createAnimation().

void InitListAni ( int  nframes  ) 

void LoadFrame ( int  count,
int  num,
char *  filename 
)

void MSD_addAxisToMovementStructure ( char *  eaname,
real  edesl 
)

void MSD_addCameraToMovementStructure ( char *  aname,
real  ex,
real  ey,
real  ez,
real  rx,
real  ry,
real  rz,
real  desl 
)

Definition at line 249 of file anicreat.cpp.

References AddCamAni(), and makevec().

Referenced by animatio().

void MSD_clearAnimationList ( void   ) 

void MSD_createAnimation ( int  opcao,
int  nframes,
char *  AnimeName,
char *  ecname 
)

void MSD_displayLoadedAnimation ( int  num  ) 

Definition at line 199 of file aniexibe.cpp.

References DrawLine(), ExibeFrame(), g_clear(), NumeroFrames, and NumVec.

Referenced by cinema().

void MSD_freeCinemaStructure ( void   ) 

Definition at line 317 of file aniexibe.cpp.

References NumeroFrames.

Referenced by cinema(), and MSD_AnimationReset().

void MSD_loadAnimation ( char *  AnimeName,
int  frini,
int  frfim,
int  frpasso 
)

Definition at line 122 of file aniexibe.cpp.

References FindFrameNum(), LoadFrame(), MAXNUMFRAMES, NIL, and NumeroFrames.

Referenced by cinema().

void MSD_resetAllObjects ( void   ) 

Definition at line 129 of file anicreat.cpp.

References AllSolids, FALSE, and SolDsp.

void MSD_resetElement ( char *  name  ) 

Definition at line 153 of file anicreat.cpp.

References MSD_getTypeByName(), MSD_resetGroup(), and MSD_resetObject().

void MSD_resetGroup ( char *  name  ) 

void MSD_resetObject ( char *  name  ) 

Definition at line 219 of file anicreat.cpp.

References FALSE, MSD_lowFindSolidByName(), SNIL, SolDsp, and SPTYPE.

Referenced by MSD_resetElement().

void MSD_selectAllObjects ( void   ) 

Definition at line 119 of file anicreat.cpp.

References AllSolids, SolDsp, and TRUE.

void MSD_selectElement ( char *  name  ) 

Definition at line 139 of file anicreat.cpp.

References MSD_getTypeByName(), MSD_selectGroup(), and MSD_selectObject().

void MSD_selectGroup ( char *  name  ) 

void MSD_selectObject ( char *  name  ) 

Definition at line 209 of file anicreat.cpp.

References MSD_lowFindSolidByName(), SNIL, SolDsp, SPTYPE, and TRUE.

Referenced by MSD_selectElement().

FILE* OpenIndexAni ( char *  arqnam  ) 

Definition at line 281 of file anicreat.cpp.

References NIL.

Referenced by MSD_createAnimation().

void PrintListAni ( void   ) 

void PurificaAni ( char *  arqnam,
int  opcao 
)

Definition at line 491 of file anicreat.cpp.

References NIL, and PurificaFrame().

Referenced by MSD_createAnimation().

void PurificaFrame ( int  num,
char *  arqname,
char *  filename,
int  opcao 
)

void RemElementAni ( MOVE p  ) 

Definition at line 106 of file animlist.cpp.

References movhead, Move::next, and NIL.

Referenced by CreateElementAni().


Variable Documentation

EXTERN int framenum

Definition at line 153 of file animatio.h.

Referenced by CriaFrame(), g_frame(), g_tline(), and MSD_createAnimation().

EXTERN MOVE* movhead

EXTERN int NumeroFrames


Generated on Tue Feb 26 09:12:47 2008 for USPDesigner by  doxygen 1.5.5