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

#include <stdio.h>

Go to the source code of this file.

Classes

struct  cameratp
struct  DEDGTYPE

Defines

#define EXTERN   extern

Typedefs

typedef double real
typedef real vector [4]
typedef real vect2 [3]
typedef real matrix [4][4]
typedef struct solid STYPE
typedef struct face FTYPE
typedef struct edge ETYPE
typedef struct halfedge HTYPE
typedef struct grouptp GTYPE
typedef struct box BTYPE
typedef struct cameratp CTYPE

Functions

int MSD_highAlteraCurrentCamera (char opt, real Ex, real Ey, real Ez, real Rx, real Ry, real Rz, real scale, int mode, int hidtype, int dash, int smooth)
int MSD_highNameAlteraCamera (char opt, char *name, real Ex, real Ey, real Ez, real Rx, real Ry, real Rz, real scale, int mode, int hidtype, int dash, int smooth)
int MSD_highAlteraCamera (char opt, Id cn, real Ex, real Ey, real Ez, real Rx, real Ry, real Rz, real scale, int mode, int hidtype, int dash, int smooth)
int MSD_lowAlteraCamera (char opt, CTYPE *cptr, real Ex, real Ey, real Ez, real Rx, real Ry, real Rz, real scale, int mode, int hidtype, int dash, int smooth)
int MSD_highCheckCamera (real, real, real, real, real, real, real, int, int, int, int)
int MSD_lowCheckCamera (vector, vector, real, int, int, int, int)
void MSD_highSetCamera (CTYPE *, real, real, real, real, real, real, real, int, int, int, int)
void MSD_lowSetCamera (CTYPE *, vector, vector, real, int, int, int, int)
void MSD_lowSetCameraTransformation (CTYPE *cptr)
void MSD_lowSetCamera3View (int type, CTYPE *cptr)
void MSD_execNameCopyCamera (void)
int MSD_highNameCopyCamera (char *name1, char *name2)
void MSD_execCopyCamera (void)
int MSD_highCopyCamera (int cn)
int MSD_lowCopyCamera (CTYPE *cptr, Id cn)
void MSD_execGetCurrentCameraParameters (void)
int MSD_getCurrentCameraParameters (real *Ex, real *Ey, real *Ez, real *Rx, real *Ry, real *Rz, real *ampl, int *mode, int *elim, int *hash, int *edge)
void MSD_execNameListCameraName (void)
int MSD_highNameListCameraName (char *name)
int MSD_lowNameListCameraName (CTYPE *cptr)
void MSD_lowListAllCamera (void)
void MSD_lowListAllCameraName (void)
int MSD_getNumberOfCameras (void)
char ** MSD_putCameraNameInList (char **list)
CTYPEMSD_getCamera (Id cn)
Id MSD_getCameraIdFromName (char *nam)
CTYPEMSD_lowFindCameraByName (char *nam)
CTYPEMSD_lowFindCamera (Id cn)
Id MSD_getMaxCameraId (void)
void MSD_execNameCreateCamera (void)
int MSD_highNameCreateCamera (char *name, real Ex, real Ey, real Ez, real Rx, real Ry, real Rz, real scale, int mode, int hidtype, int dash, int smooth)
void MSD_execCreateCamera (void)
int MSD_highCreateCamera (real Ex, real Ey, real Ez, real Rx, real Ry, real Rz, real scale, int mode, int hidtype, int dash, int smooth)
int MSD_middleCreateCamera (int cn, real Ex, real Ey, real Ez, real Rx, real Ry, real Rz, real scale, int mode, int hidtype, int dash, int smooth)
CTYPEMSD_lowCreateCamera (Id cn, real Ex, real Ey, real Ez, real Rx, real Ry, real Rz, real scale, int mode, int hidtype, int dash, int smooth)
void MSD_execNameRemoveCamera (void)
int MSD_highNameRemoveCamera (char *name)
void MSD_execRemoveCamera (void)
int MSD_highRemoveCamera (Id cn)
int MSD_lowRemoveCamera (CTYPE *cptr)
void MSD_execNameRenameCamera (void)
int MSD_highNameRenameCamera (char *name1, char *name2)
int MSD_lowNameRenameCamera (CTYPE *cptr, char *name2)
void MSD_execNameSetCurrentCamera (void)
int MSD_highNameSetCurrentCamera (char *name)
void MSD_execSetCurrentCamera (void)
int MSD_highSetCurrentCamera (Id cn)
int MSD_lowSetCurrentCamera (CTYPE *cptr)
void MSD_execTranslateCurrentCamera (void)
void MSD_lowTranslateCurrentCamera (real dEx, real dEy, real dEz)
void MSD_lowSetBreakInterruption (void)
void interrupt far MSD_lowBreakFunction (...)
void MSD_lowSetBreakResident (void)
void MSD_execCamera (void)
void MSD_execDisplayCoordinates (void)
int MSD_highDisplayCoordinates (int opt, int dir, real dis, real l, real dl, int acolor, int mcolor)
int MSD_lowDisplayAxis (real len, int acolor)
int MSD_lowDisplayMesh (int dir, real dis, real len, real dl, int acolor, int mcolor)
void MSD_lowDisplayLineCoordinates (int lt, vector sv, vector ev)
void MSD_execColor (void)
int MSD_lowSetFrameColor (int color)
int MSD_lowSetDefaultColor (int color)
int MSD_lowGetIntersectionColor (SPTYPE o1ptr, SPTYPE o2ptr)
int MSD_lowGetSolidColor (SPTYPE optr)
void MSD_execDisplay (void)
int MSD_highNameDisplay (char *cname, char *olist)
int MSD_highNameSetDisplay (char *oname)
void MSD_highDisplayAllEdges (void)
void MSD_lowDisplayAllEdges (void)
void MSD_highDisplayLocalHidden (void)
void MSD_lowDisplayLocalHidden (CTYPE *cptr)
void MSD_lowDisplayLine (int l, vector sv, vector ev)
void MSD_lowDisplayVertex (int l, vector v)
void MSD_execDisplayFile (void)
int MSD_highDisplayFile (char rw, char *fname)
int MSD_lowDisplayReadFile (char *fname)
int MSD_lowDisplayWriteFile (char *fname)
int MSD_lowClip3Dimension (vector v1, vector v2)
int MSD_lowCheckClipDisplay (vector t1, vector t2)
int MSD_lowClipingPlane (vector v1, vector v2, vector normal, real d)
void MSD_lowDetermineVisibility (CTYPE *cptr)
void MSD_lowEdgeClip (EPTYPE eptr)
void MSD_execDisplayEdge (void)
void MSD_highDisplayEdge (Id s, Id e, int color)
void MSD_lowDisplayEdge (EPTYPE eptr, int color)
void MSD_lowEdgeEdgeIntersection (SPTYPE optr, EPTYPE eptr, FPTYPE f1ptr, FPTYPE f2ptr)
int MSD_lowEdgeEdgeCheck (SPTYPE xoptr, SPTYPE optr, EPTYPE xeptr, EPTYPE eptr, real sbox[][2], FPTYPE f1ptr, FPTYPE f2ptr)
int MSD_lowEdgeEdgeCheckStep2 (vector a1, vector a2, vector b1, vector b2, real *u, real *v)
int MSD_lowEdgeEdgeCheckStep3 (vector s0, vector s1, vector v0, vector v1, real u, vector p)
void MSD_lowEdgeFaceIntersection (SPTYPE o1ptr, SPTYPE o2ptr, FPTYPE f1ptr, FPTYPE f2ptr)
void MSD_lowAddEdgeDivision (vector pos)
void MSD_lowSetEdgeVisibility (char, FPTYPE, FPTYPE, vector)
int MSD_lowIntersectionCheck (vector, FPTYPE, FPTYPE)
int MSD_lowIntersectionCheckStep1 (vector, FPTYPE, FPTYPE)
int MSD_lowPositionalVisibility (char, vector, FPTYPE, FPTYPE, vector)
int MSD_lowEdgePlaneIntersection (vector, vector, FPTYPE, real *, real *)
void MSD_lowCameraDisplayHidden (void)
void MSD_lowDisplayHidden (CTYPE *cptr)
int MSD_lowIsInsideFace (vector pos, FPTYPE xfptr, HPTYPE *ei)
int MSD_lowIsInsideLoop (vector pos, LPTYPE lptr, HPTYPE *ei)
void MSD_lowCameraDisplayIntersection (void)
void MSD_lowDisplayIntersection (void)
void MSD_lowIntersectionFaceFace (SPTYPE, FPTYPE, SPTYPE, FPTYPE)
int MSD_lowIntersectionParallelFaces (FPTYPE f1ptr, FPTYPE f2ptr)
void MSD_lowIntersectionFaceEdge (FPTYPE f1ptr, FPTYPE f2ptr)
int MSD_lowIntersectionSeparateMinMax (void)
void MSD_lowIntersectionClipDropCoord (int idx)
void MSD_lowSortDividedEdge (void)
int MSD_lowIsEdgeVisible (CTYPE *cptr, EPTYPE eptr)
int MSD_lowIsFaceVisible (CTYPE *cptr, FPTYPE fptr)
int MSD_lowIsInvertedEdge (int isleft, vector dir, FPTYPE fp, vector edir)
void MSD_lowDisplayDividedEdge (CTYPE *cptr, EPTYPE eptr)
void g_frame (void)
void g_tpoint (int lt, vect2 v)
void g_tline (int lt, vect2 sv, vect2 ev)
void g_iline (int lt, int *sv, int *ev)
void h_line (void)
void g_open (void)
void g_filbox (int color, vect2 v0, vect2 v1)
void g_clear (void)
void g_pcolor (int color)
void g_close (void)
void gdcpos (vect2 npos, int *dpos)
void MSD_lowDisplayTransformation (vector, vector)
void MSD_lowInverseDisplayTransformation (vector, vector)
void MSD_lowApplyDisplayTransformation (matrix, vector, vector)
void MSD_lowExecInverseDisplayTransformation (vect2, vect2, vector, vector)
char MSD_lowExecDisplayTransformation (vector, vector, vect2, vect2)
void MSD_lowDisplayTransformationScale (vector, vector, vector, vector)
char MSD_lowClipDisplayTransformation (vector, vector, vector, vector)
void MSD_execMonitor (void)
int MSD_highMonitor (char *name)
int MSD_lowMonitor (CTYPE *cptr, int flag)
void MSD_lowDisplayMonitor (int t, SPTYPE optr, GPTYPE gptr)
void MSD_lowDisplayMonitorSolid (SPTYPE op)
void MSD_lowDisplayMonitorGroup (GPTYPE gptr)
void MSD_lowDisplayMonitorAxis (void)

Variables

EXTERN int MAX_COLOR_NUMBER
EXTERN DEDGTYPEdivedge
EXTERN DEDGTYPEdivedptr
EXTERN int divednum
EXTERN vector desvtx
EXTERN vector deevtx
EXTERN BTYPE debox
EXTERN int Draw
EXTERN int NumCinema
EXTERN FILE * dspfwptr
EXTERN FILE * dspfrptr
EXTERN int breakflg
EXTERN real abseps
EXTERN real xyratio
EXTERN CTYPE camera3
EXTERN CTYPEcamary
EXTERN CTYPEcamptr
EXTERN int camused
EXTERN real angsmooth
EXTERN char monisw
EXTERN CTYPEmonicptr
EXTERN int defltcol
EXTERN int framecol
EXTERN int lncolor
EXTERN int lntype


Define Documentation

#define EXTERN   extern

Definition at line 49 of file disdispl.h.


Typedef Documentation

typedef struct box BTYPE

Definition at line 93 of file disdispl.h.

typedef struct cameratp CTYPE

Definition at line 97 of file disdispl.h.

typedef struct edge ETYPE

Definition at line 81 of file disdispl.h.

typedef struct face FTYPE

Definition at line 77 of file disdispl.h.

typedef struct grouptp GTYPE

Definition at line 89 of file disdispl.h.

typedef struct halfedge HTYPE

Definition at line 85 of file disdispl.h.

typedef real matrix[4][4]

Definition at line 69 of file disdispl.h.

typedef double real

Definition at line 57 of file disdispl.h.

typedef struct solid STYPE

Definition at line 73 of file disdispl.h.

typedef real vect2[3]

Definition at line 65 of file disdispl.h.

typedef real vector[4]

Definition at line 61 of file disdispl.h.


Function Documentation

void g_clear ( void   ) 

void g_close ( void   ) 

Definition at line 406 of file gphlintf.cpp.

Referenced by endfunc().

void g_filbox ( int  color,
vect2  v0,
vect2  v1 
)

Definition at line 349 of file gphlintf.cpp.

References gdcpos().

Referenced by MSD_lowClearWindow().

void g_frame ( void   ) 

void g_iline ( int  lt,
int *  sv,
int *  ev 
)

Definition at line 164 of file gphlintf.cpp.

References Draw, and lncolor.

Referenced by DrawLine().

void g_open ( void   ) 

Definition at line 295 of file gphlintf.cpp.

References FALSE, g_clear(), GraphDriver, GraphError, GraphMode, MaxColors, MaxX, and MaxY.

Referenced by main().

void g_pcolor ( int  color  ) 

void g_tline ( int  lt,
vect2  sv,
vect2  ev 
)

void g_tpoint ( int  lt,
vect2  v 
)

Definition at line 148 of file gphlintf.cpp.

References Draw, gdcpos(), and lncolor.

Referenced by MSD_lowDisplayVertex().

void gdcpos ( vect2  npos,
int *  dpos 
)

Definition at line 419 of file gphlintf.cpp.

References dwindbox, MaxX, MaxY, and xyratio.

Referenced by g_filbox(), g_tline(), g_tpoint(), and LoadFrame().

void h_line ( void   ) 

Definition at line 278 of file gphlintf.cpp.

References dspfrptr, g_tline(), and lncolor.

Referenced by MSD_lowDisplayReadFile().

void MSD_execCamera ( void   ) 

void MSD_execColor ( void   ) 

void MSD_execCopyCamera ( void   ) 

void MSD_execCreateCamera ( void   ) 

void MSD_execDisplay ( void   ) 

Definition at line 64 of file discdisp.cpp.

References lineins(), MSD_highNameDisplay(), NIL, restbuf, skipnext(), and workbuf.

void MSD_execDisplayCoordinates ( void   ) 

void MSD_execDisplayEdge ( void   ) 

void MSD_execDisplayFile ( void   ) 

Definition at line 51 of file discfile.cpp.

References lineins(), MSD_highDisplayFile(), NAM_DisplayFile, optin(), and restbuf.

void MSD_execGetCurrentCameraParameters ( void   ) 

void MSD_execMonitor ( void   ) 

Definition at line 53 of file dismonit.cpp.

References lineins(), MSD_highMonitor(), NAM_Monitor, and restbuf.

void MSD_execNameCopyCamera ( void   ) 

void MSD_execNameCreateCamera ( void   ) 

void MSD_execNameListCameraName ( void   ) 

void MSD_execNameRemoveCamera ( void   ) 

void MSD_execNameRenameCamera ( void   ) 

void MSD_execNameSetCurrentCamera ( void   ) 

void MSD_execRemoveCamera ( void   ) 

void MSD_execSetCurrentCamera ( void   ) 

void MSD_execTranslateCurrentCamera ( void   ) 

CTYPE* MSD_getCamera ( Id  cn  ) 

Id MSD_getCameraIdFromName ( char *  nam  ) 

int MSD_getCurrentCameraParameters ( real Ex,
real Ey,
real Ez,
real Rx,
real Ry,
real Rz,
real ampl,
int *  mode,
int *  elim,
int *  hash,
int *  edge 
)

Id MSD_getMaxCameraId ( void   ) 

Definition at line 117 of file cammanip.cpp.

References AllCamera, camary, cameratp::cn, and NIL.

Referenced by MSD_highCopyCamera(), and MSD_highCreateCamera().

int MSD_getNumberOfCameras ( void   ) 

Definition at line 50 of file cammanip.cpp.

References AllCamera.

int MSD_highAlteraCamera ( char  opt,
Id  cn,
real  Ex,
real  Ey,
real  Ez,
real  Rx,
real  Ry,
real  Rz,
real  scale,
int  mode,
int  hidtype,
int  dash,
int  smooth 
)

int MSD_highAlteraCurrentCamera ( char  opt,
real  Ex,
real  Ey,
real  Ez,
real  Rx,
real  Ry,
real  Rz,
real  scale,
int  mode,
int  hidtype,
int  dash,
int  smooth 
)

int MSD_highCheckCamera ( real  ,
real  ,
real  ,
real  ,
real  ,
real  ,
real  ,
int  ,
int  ,
int  ,
int   
)

Definition at line 55 of file camcheck.cpp.

References makevec(), and MSD_lowCheckCamera().

Referenced by MSD_lowCreateCamera().

int MSD_highCopyCamera ( int  cn  ) 

int MSD_highCreateCamera ( real  Ex,
real  Ey,
real  Ez,
real  Rx,
real  Ry,
real  Rz,
real  scale,
int  mode,
int  hidtype,
int  dash,
int  smooth 
)

Definition at line 120 of file camnew__.cpp.

References MSD_getMaxCameraId(), MSD_lowCreateCamera(), and NIL.

Referenced by MSD_highNameCreateCamera().

void MSD_highDisplayAllEdges ( void   ) 

int MSD_highDisplayCoordinates ( int  opt,
int  dir,
real  dis,
real  l,
real  dl,
int  acolor,
int  mcolor 
)

void MSD_highDisplayEdge ( Id  s,
Id  e,
int  color 
)

int MSD_highDisplayFile ( char  rw,
char *  fname 
)

Definition at line 75 of file discfile.cpp.

References FALSE, MSD_lowDisplayReadFile(), and MSD_lowDisplayWriteFile().

Referenced by MSD_execDisplayFile().

void MSD_highDisplayLocalHidden ( void   ) 

int MSD_highMonitor ( char *  name  ) 

int MSD_highNameAlteraCamera ( char  opt,
char *  name,
real  Ex,
real  Ey,
real  Ez,
real  Rx,
real  Ry,
real  Rz,
real  scale,
int  mode,
int  hidtype,
int  dash,
int  smooth 
)

int MSD_highNameCopyCamera ( char *  name1,
char *  name2 
)

int MSD_highNameCreateCamera ( char *  name,
real  Ex,
real  Ey,
real  Ez,
real  Rx,
real  Ry,
real  Rz,
real  scale,
int  mode,
int  hidtype,
int  dash,
int  smooth 
)

int MSD_highNameDisplay ( char *  cname,
char *  olist 
)

int MSD_highNameListCameraName ( char *  name  ) 

int MSD_highNameRemoveCamera ( char *  name  ) 

int MSD_highNameRenameCamera ( char *  name1,
char *  name2 
)

int MSD_highNameSetCurrentCamera ( char *  name  ) 

int MSD_highNameSetDisplay ( char *  oname  ) 

int MSD_highRemoveCamera ( Id  cn  ) 

void MSD_highSetCamera ( CTYPE ,
real  ,
real  ,
real  ,
real  ,
real  ,
real  ,
real  ,
int  ,
int  ,
int  ,
int   
)

Definition at line 96 of file camcheck.cpp.

References makevec(), and MSD_lowSetCamera().

Referenced by MSD_lowCreateCamera(), and MSD_lowTranslateCurrentCamera().

int MSD_highSetCurrentCamera ( Id  cn  ) 

void MSD_lowAddEdgeDivision ( vector  pos  ) 

int MSD_lowAlteraCamera ( char  opt,
CTYPE cptr,
real  Ex,
real  Ey,
real  Ez,
real  Rx,
real  Ry,
real  Rz,
real  scale,
int  mode,
int  hidtype,
int  dash,
int  smooth 
)

void MSD_lowApplyDisplayTransformation ( matrix  ,
vector  ,
vector   
)

Definition at line 67 of file disltrns.cpp.

Referenced by MSD_lowDisplayTransformation().

void interrupt far MSD_lowBreakFunction (   ...  ) 

Definition at line 66 of file disbreak.cpp.

References breakflg, FALSE, and TRUE.

Referenced by MSD_lowSetBreakInterruption().

void MSD_lowCameraDisplayHidden ( void   ) 

void MSD_lowCameraDisplayIntersection ( void   ) 

int MSD_lowCheckCamera ( vector  ,
vector  ,
real  ,
int  ,
int  ,
int  ,
int   
)

Definition at line 66 of file camcheck.cpp.

References abseps, FALSE, releps, TRUE, and vecd().

Referenced by MSD_highCheckCamera(), and MSD_lowAlteraCamera().

int MSD_lowCheckClipDisplay ( vector  t1,
vector  t2 
)

Definition at line 111 of file disclip3.cpp.

References abseps, FALSE, TRUE, and veccopy().

Referenced by MSD_lowClip3Dimension().

int MSD_lowClip3Dimension ( vector  v1,
vector  v2 
)

char MSD_lowClipDisplayTransformation ( vector  ,
vector  ,
vector  ,
vector   
)

int MSD_lowClipingPlane ( vector  v1,
vector  v2,
vector  normal,
real  d 
)

Definition at line 141 of file disclip3.cpp.

References calc_p(), dot(), FALSE, and TRUE.

Referenced by MSD_lowClip3Dimension().

int MSD_lowCopyCamera ( CTYPE cptr,
Id  cn 
)

CTYPE* MSD_lowCreateCamera ( Id  cn,
real  Ex,
real  Ey,
real  Ez,
real  Rx,
real  Ry,
real  Rz,
real  scale,
int  mode,
int  hidtype,
int  dash,
int  smooth 
)

void MSD_lowDetermineVisibility ( CTYPE cptr  ) 

void MSD_lowDisplayAllEdges ( void   ) 

int MSD_lowDisplayAxis ( real  len,
int  acolor 
)

Definition at line 148 of file discaxis.cpp.

References camptr, g_pcolor(), monicptr, MSD_lowDisplayLineCoordinates(), and TRUE.

Referenced by MSD_highDisplayCoordinates().

void MSD_lowDisplayDividedEdge ( CTYPE cptr,
EPTYPE  eptr 
)

void MSD_lowDisplayEdge ( EPTYPE  eptr,
int  color 
)

Definition at line 93 of file disedge_.cpp.

References EdgHe1, EdgHe2, g_pcolor(), HalVtx, MSD_lowDisplayLine(), and VerVCoord.

Referenced by MSD_highDisplayEdge().

void MSD_lowDisplayHidden ( CTYPE cptr  ) 

void MSD_lowDisplayIntersection ( void   ) 

void MSD_lowDisplayLine ( int  l,
vector  sv,
vector  ev 
)

void MSD_lowDisplayLineCoordinates ( int  lt,
vector  sv,
vector  ev 
)

Definition at line 221 of file discaxis.cpp.

References g_tline(), and MSD_lowExecDisplayTransformation().

Referenced by MSD_lowDisplayAxis(), and MSD_lowDisplayMesh().

void MSD_lowDisplayLocalHidden ( CTYPE cptr  ) 

int MSD_lowDisplayMesh ( int  dir,
real  dis,
real  len,
real  dl,
int  acolor,
int  mcolor 
)

Definition at line 176 of file discaxis.cpp.

References abseps, camptr, g_pcolor(), monicptr, MSD_lowDisplayLineCoordinates(), and TRUE.

Referenced by MSD_highDisplayCoordinates().

void MSD_lowDisplayMonitor ( int  t,
SPTYPE  optr,
GPTYPE  gptr 
)

void MSD_lowDisplayMonitorAxis ( void   ) 

void MSD_lowDisplayMonitorGroup ( GPTYPE  gptr  ) 

void MSD_lowDisplayMonitorSolid ( SPTYPE  op  ) 

int MSD_lowDisplayReadFile ( char *  fname  ) 

Definition at line 88 of file discfile.cpp.

References dspfrptr, FALSE, h_line(), MEN_NaoAbriuArquivo, NAM_DisplayFile, NIL, and TRUE.

Referenced by MSD_highDisplayFile().

void MSD_lowDisplayTransformation ( vector  ,
vector   
)

void MSD_lowDisplayTransformationScale ( vector  ,
vector  ,
vector  ,
vector   
)

void MSD_lowDisplayVertex ( int  l,
vector  v 
)

Definition at line 357 of file discdisp.cpp.

References g_tpoint(), and MSD_lowExecDisplayTransformation().

Referenced by MSD_lowDisplayAllEdges().

int MSD_lowDisplayWriteFile ( char *  fname  ) 

Definition at line 117 of file discfile.cpp.

References dspfwptr, FALSE, MEN_NaoAbriuArquivo, NAM_DisplayFile, NIL, and TRUE.

Referenced by CriaFrame(), MSD_createAnimation(), and MSD_highDisplayFile().

void MSD_lowEdgeClip ( EPTYPE  eptr  ) 

int MSD_lowEdgeEdgeCheck ( SPTYPE  xoptr,
SPTYPE  optr,
EPTYPE  xeptr,
EPTYPE  eptr,
real  sbox[][2],
FPTYPE  f1ptr,
FPTYPE  f2ptr 
)

Definition at line 126 of file dishediv.cpp.

References EdgEClp, EdgEVClp2, EdgHe1, EdgHe2, EdgSVClp2, FacFVisi, FALSE, FPTYPE, HalVtx, HalWLoop, LooLFace, and TRUE.

Referenced by MSD_lowEdgeEdgeIntersection().

int MSD_lowEdgeEdgeCheckStep2 ( vector  a1,
vector  a2,
vector  b1,
vector  b2,
real u,
real v 
)

Definition at line 225 of file dishediv.cpp.

References FALSE, releps, and TRUE.

Referenced by MSD_lowEdgeEdgeIntersection().

int MSD_lowEdgeEdgeCheckStep3 ( vector  s0,
vector  s1,
vector  v0,
vector  v1,
real  u,
vector  p 
)

Definition at line 253 of file dishediv.cpp.

References calc_p(), camptr, cross(), cameratp::eye, FALSE, cameratp::mode, releps, TRUE, and vecminus().

Referenced by MSD_lowEdgeEdgeIntersection().

void MSD_lowEdgeEdgeIntersection ( SPTYPE  optr,
EPTYPE  eptr,
FPTYPE  f1ptr,
FPTYPE  f2ptr 
)

void MSD_lowEdgeFaceIntersection ( SPTYPE  o1ptr,
SPTYPE  o2ptr,
FPTYPE  f1ptr,
FPTYPE  f2ptr 
)

int MSD_lowEdgePlaneIntersection ( vector  ,
vector  ,
FPTYPE  ,
real ,
real  
)

Definition at line 249 of file dishevis.cpp.

References abseps, calc_p(), dot(), FacFeq, FALSE, and TRUE.

Referenced by MSD_lowPositionalVisibility().

char MSD_lowExecDisplayTransformation ( vector  ,
vector  ,
vect2  ,
vect2   
)

void MSD_lowExecInverseDisplayTransformation ( vect2  ,
vect2  ,
vector  ,
vector   
)

CTYPE* MSD_lowFindCamera ( Id  cn  ) 

CTYPE* MSD_lowFindCameraByName ( char *  nam  ) 

int MSD_lowGetIntersectionColor ( SPTYPE  o1ptr,
SPTYPE  o2ptr 
)

Definition at line 197 of file disccolr.cpp.

References MSD_lowGetSolidColor().

Referenced by MSD_lowDisplayIntersection().

int MSD_lowGetSolidColor ( SPTYPE  optr  ) 

int MSD_lowIntersectionCheck ( vector  ,
FPTYPE  ,
FPTYPE   
)

int MSD_lowIntersectionCheckStep1 ( vector  ,
FPTYPE  ,
FPTYPE   
)

void MSD_lowIntersectionClipDropCoord ( int  idx  ) 

Definition at line 302 of file dishintr.cpp.

References deevtx, desvtx, DEDGTYPE::devtx, divedge, divednum, and veccopy().

Referenced by MSD_lowIntersectionSeparateMinMax().

void MSD_lowIntersectionFaceEdge ( FPTYPE  f1ptr,
FPTYPE  f2ptr 
)

void MSD_lowIntersectionFaceFace ( SPTYPE  ,
FPTYPE  ,
SPTYPE  ,
FPTYPE   
)

int MSD_lowIntersectionParallelFaces ( FPTYPE  f1ptr,
FPTYPE  f2ptr 
)

Definition at line 196 of file dishintr.cpp.

References abseps, dot(), FacFeq, FALSE, TRUE, veccopy(), vecminus(), and vecplus().

Referenced by MSD_lowIntersectionFaceFace().

int MSD_lowIntersectionSeparateMinMax ( void   ) 

void MSD_lowInverseDisplayTransformation ( vector  ,
vector   
)

int MSD_lowIsEdgeVisible ( CTYPE cptr,
EPTYPE  eptr 
)

int MSD_lowIsFaceVisible ( CTYPE cptr,
FPTYPE  fptr 
)

int MSD_lowIsInsideFace ( vector  pos,
FPTYPE  xfptr,
HPTYPE *  ei 
)

int MSD_lowIsInsideLoop ( vector  pos,
LPTYPE  lptr,
HPTYPE *  ei 
)

Definition at line 76 of file dishinfc.cpp.

References _VISIBLE, abseps, DONTSHOW, FacFeq, HalNxt, HalVtx, HPTYPE, INVISIBLE, LooLEdg, LooLFace, VerVCoord, and VPTYPE.

Referenced by MSD_lowIsInsideFace().

int MSD_lowIsInvertedEdge ( int  isleft,
vector  dir,
FPTYPE  fp,
vector  edir 
)

Definition at line 124 of file dishvisb.cpp.

References cross(), dot(), FacFeq, normalize(), releps, and TRUE.

Referenced by MSD_lowIsEdgeVisible().

void MSD_lowListAllCamera ( void   ) 

Definition at line 105 of file camlist_.cpp.

References AllCamera, and MSD_lowNameListCameraName().

Referenced by MSD_execShow().

void MSD_lowListAllCameraName ( void   ) 

Definition at line 115 of file camlist_.cpp.

References AllCamera, and cameratp::cname.

Referenced by MSD_execListElement().

int MSD_lowMonitor ( CTYPE cptr,
int  flag 
)

Definition at line 89 of file dismonit.cpp.

References camptr, FALSE, MEN_NenhumaCamaraMonitora, monicptr, monisw, NAM_Monitor, NIL, and TRUE.

Referenced by MSD_highMonitor().

int MSD_lowNameListCameraName ( CTYPE cptr  ) 

int MSD_lowNameRenameCamera ( CTYPE cptr,
char *  name2 
)

Definition at line 88 of file camrenam.cpp.

References cameratp::cname, and SUCCESS.

Referenced by MSD_highNameRenameCamera().

int MSD_lowPositionalVisibility ( char  ,
vector  ,
FPTYPE  ,
FPTYPE  ,
vector   
)

int MSD_lowRemoveCamera ( CTYPE cptr  ) 

Definition at line 129 of file camremov.cpp.

References camary, camused, cameratp::nxt, and TRUE.

Referenced by MSD_highRemoveCamera().

void MSD_lowSetBreakInterruption ( void   ) 

void MSD_lowSetBreakResident ( void   ) 

void MSD_lowSetCamera ( CTYPE ,
vector  ,
vector  ,
real  ,
int  ,
int  ,
int  ,
int   
)

void MSD_lowSetCamera3View ( int  type,
CTYPE cptr 
)

void MSD_lowSetCameraTransformation ( CTYPE cptr  ) 

int MSD_lowSetCurrentCamera ( CTYPE cptr  ) 

Definition at line 113 of file camsetcr.cpp.

References camptr, and TRUE.

Referenced by MSD_highNameRemoveCamera(), MSD_highNameSetCurrentCamera(), and MSD_highSetCurrentCamera().

int MSD_lowSetDefaultColor ( int  color  ) 

Definition at line 120 of file disccolr.cpp.

References defltcol, FALSE, MaxColors, MEN_CorInvalida, NAM_SetDefaultColor, and TRUE.

Referenced by MSD_execColor().

void MSD_lowSetEdgeVisibility ( char  ,
FPTYPE  ,
FPTYPE  ,
vector   
)

int MSD_lowSetFrameColor ( int  color  ) 

Definition at line 109 of file disccolr.cpp.

References FALSE, framecol, MaxColors, MEN_CorInvalida, NAM_SetFrameColor, and TRUE.

Referenced by MSD_execColor().

void MSD_lowSortDividedEdge ( void   ) 

Definition at line 49 of file dishsore.cpp.

References abseps, deevtx, desvtx, DEDGTYPE::devtx, divedge, divednum, and veccopy().

Referenced by MSD_lowDisplayHidden(), and MSD_lowIntersectionFaceFace().

void MSD_lowTranslateCurrentCamera ( real  dEx,
real  dEy,
real  dEz 
)

int MSD_middleCreateCamera ( int  cn,
real  Ex,
real  Ey,
real  Ez,
real  Rx,
real  Ry,
real  Rz,
real  scale,
int  mode,
int  hidtype,
int  dash,
int  smooth 
)

Definition at line 131 of file camnew__.cpp.

References MSD_lowCreateCamera(), and NIL.

char** MSD_putCameraNameInList ( char **  list  ) 

Definition at line 62 of file cammanip.cpp.

References AllCamera, and cameratp::cname.


Variable Documentation

EXTERN real abseps

EXTERN real angsmooth

Definition at line 143 of file disdispl.h.

Referenced by maninit(), and MSD_lowIsEdgeVisible().

EXTERN int breakflg

EXTERN CTYPE* camary

Definition at line 140 of file disdispl.h.

Referenced by maninit(), MSD_getMaxCameraId(), MSD_lowCreateCamera(), and MSD_lowRemoveCamera().

EXTERN CTYPE camera3

EXTERN CTYPE* camptr

EXTERN int camused

EXTERN BTYPE debox

Definition at line 130 of file disdispl.h.

Referenced by MSD_lowEdgeFaceIntersection(), and MSD_lowUpdateDEBox().

EXTERN vector deevtx

EXTERN int defltcol

Definition at line 147 of file disdispl.h.

Referenced by maninit(), MSD_lowGetSolidColor(), and MSD_lowSetDefaultColor().

EXTERN vector desvtx

EXTERN DEDGTYPE* divedge

EXTERN int divednum

EXTERN DEDGTYPE* divedptr

EXTERN int Draw

Definition at line 132 of file disdispl.h.

Referenced by CriaFrame(), g_frame(), g_iline(), g_tline(), g_tpoint(), maninit(), and MSD_createAnimation().

EXTERN FILE* dspfrptr

Definition at line 135 of file disdispl.h.

Referenced by h_line(), maninit(), and MSD_lowDisplayReadFile().

EXTERN FILE* dspfwptr

EXTERN int framecol

Definition at line 148 of file disdispl.h.

Referenced by g_frame(), maninit(), and MSD_lowSetFrameColor().

EXTERN int lncolor

Definition at line 149 of file disdispl.h.

Referenced by g_iline(), g_pcolor(), g_tline(), g_tpoint(), h_line(), and maninit().

EXTERN int lntype

Definition at line 150 of file disdispl.h.

Referenced by g_tline(), and maninit().

EXTERN int MAX_COLOR_NUMBER

Definition at line 100 of file disdispl.h.

EXTERN CTYPE* monicptr

EXTERN char monisw

Definition at line 144 of file disdispl.h.

Referenced by maninit(), MSD_lowDisplayMonitor(), and MSD_lowMonitor().

EXTERN int NumCinema

Definition at line 133 of file disdispl.h.

EXTERN real xyratio

Definition at line 138 of file disdispl.h.

Referenced by g_frame(), gdcpos(), maninit(), MSD_lowClearWindow(), and MSD_lowClip3Dimension().


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