This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Compounds | |
struct | pnt3d |
Definition of a 3D point and vector. More... | |
Display module | |
The adopted model data structure is described in header file "prm.h", which also contains code color definitions. The basic graphics system used to display primitives is OpenGL. Please refer to OpenGL documentation for additional information. Revisions:
| |
typedef pnt3d | Pnt3d |
Definition of a 3D point and vector. | |
typedef pnt3d | Vec3d |
Definition of a 3D point and vector. | |
void | dspInit (void) |
This function initializes the dsp module. | |
void | dspHelp (void) |
This function displays a help list of the possible program actions and their associated keys. | |
void | dspModel (void) |
This function displays all primitives of current model using the OpenGL graphics system. | |
int | dspZbfModel (void *zbuffer_canvas) |
void | dspZbfBeginPoly (long int color, double nx, double ny, double nz) |
This function starts to send a new polygon to the zbuffer module to display. | |
void | dspZbfVertex (double x, double y, double z) |
This function project a polygon vertex and send it to the zbuffer module in the process of displaying a face. | |
void | dspZbfEndPoly (void) |
This function finishes the specification of a polygon to be displayed in zbuffer module. | |
void | dspGetPickRay (int x, int y, double *frontx, double *fronty, double *frontz, double *backx, double *backy, double *backz) |
Given a mouse location point in raster canvas coordinates, this function returns the corresponding pick ray in world coordinates (WC). |
|
Definition of a 3D point and vector.
|
|
Definition of a 3D point and vector.
|
|
Given a mouse location point in raster canvas coordinates, this function returns the corresponding pick ray in world coordinates (WC). A pick ray is a line between a point on the front (near) plane and a point on the back (far) plane. These two points correspond to the given point location in raster coordinates.
Definition at line 741 of file dsp.c. Referenced by prjRaster2WorldXY(). |
|
This function displays a help list of the possible program actions and their associated keys.
Definition at line 542 of file dsp.c. References font_list_base, help_cmd, and help_msg. Referenced by prjHelp(). |
|
This function initializes the dsp module. It initializes some OpenGL parameters. Definition at line 508 of file dsp.c. References font_list_base, and Odatascreen. Referenced by prjResize(). |
|
This function displays all primitives of current model using the OpenGL graphics system.
Definition at line 638 of file dsp.c. References dspHighltPrm(), dspPrm(), prmCheckSelected(), prmFirst(), and prmNext(). Referenced by prjBuildDisplayList(). |
|
This function starts to send a new polygon to the zbuffer module to display. It displays with the given coded color and changes the color intensity taking into account the given polygon normal vector orientation with respect to view vector.
Definition at line 712 of file dsp.c. References dspShadeColor(), pnt3d::x, pnt3d::y, pnt3d::z, and zbfBeginPoly(). Referenced by circDisplayZbuffer(), and quadDisplayZbuffer(). |
|
This function finishes the specification of a polygon to be displayed in zbuffer module.
Definition at line 734 of file dsp.c. References zbfEndPoly(). Referenced by circDisplayZbuffer(), and quadDisplayZbuffer(). |
|
Definition at line 661 of file dsp.c. References dspEncodeColor(), dspGetCamera(), dspGetViewVolume(), dspVecUnit(), pnt3d::x, pnt3d::y, and pnt3d::z. Referenced by prjDspZbufferCanvas(). |
|
This function project a polygon vertex and send it to the zbuffer module in the process of displaying a face. To project a vertex means to transform it from modeling (object) coordinates to normalized screen coordinates.
Definition at line 726 of file dsp.c. References t3dTransform(), and zbfVertex(). Referenced by circDisplayZbuffer(), and quadDisplayZbuffer(). |