#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <math.h>
#include <stdlib.h>
#include "surfacelibincludes.h"
#include "NUobjLoader.h"
Include dependency graph for meshTester.cpp:

Go to the source code of this file.
Defines | |
| #define | NUM_SURFACES 100 |
Functions | |
| gmVector3 | origin (0.0, 0.0, 0.0) |
| void | parseArgs (int argc, char **argv) |
| void | printHelp (void) |
| void | init (int argc, char **argv) |
| void | rgbAxes (void) |
| void | display (void) |
| void | reshape (int w, int h) |
| void | mouse (int button, int state, int x, int y) |
| void | sphericalMotion (int x, int y) |
| void | keyboard (unsigned char key, int x, int y) |
| int | main (int argc, char **argv) |
Variables | |
| Implicit * | surf [NUM_SURFACES] |
| int | surface = 0 |
| gmVector3 | vertex [8] |
| int | edge [12][2] |
| bool | field_on = false |
| bool | axes_on = true |
| bool | grid_on = true |
| bool | nav_guide_on = true |
| bool | wire_frame_on = true |
| bool | rightPressed = false |
| bool | leftPressed = false |
| int | win_w = 800 |
| int | win_h = 800 |
| int | mouse_x = 0 |
| int | mouse_y = 0 |
| int | mouse_dx = 0 |
| int | mouse_dy = 0 |
| int | grid_range = 5 |
| GLdouble | cam_t = M_PI/4 |
| GLdouble | cam_p = M_PI/4 |
| GLdouble | cam_r = 5.0 |
| GLdouble | max_r = 10.0 |
| GLdouble | t_sensitivity = 0.01 |
| GLdouble | p_sensitivity = 0.01 |
| GLdouble | r_sensitivity = 0.1 |
| GLfloat | up = 1.0 |
| NUobjLoader | objFileLoader |
| Mesh * | threeDmesh |
|
|
Definition at line 14 of file meshTester.cpp. |
|
|
Definition at line 161 of file meshTester.cpp. References axes_on, cam_p, cam_r, cam_t, MeshGroup::facePostIncrement(), indexFace::getNormal(), indexFace::getVertex(), indexFace::getVertexCount(), grid_on, grid_range, Mesh::groupPostIncrement(), nav_guide_on, MeshGroup::rewindFaceList(), Mesh::rewindGroupList(), rgbAxes(), threeDmesh, U32, up, vertex, and wire_frame_on. Referenced by main(). |
|
||||||||||||
|
Definition at line 94 of file meshTester.cpp. References Mesh::deleteFace(), Mesh::deleteVertex(), NUobjLoader::loadMesh(), objFileLoader, printHelp(), loopSubdivision::subdivide(), and threeDmesh. Referenced by main(). |
|
||||||||||||||||
|
Definition at line 352 of file meshTester.cpp. References axes_on, field_on, grid_on, nav_guide_on, printHelp(), and wire_frame_on. Referenced by main(). |
|
||||||||||||
|
Definition at line 398 of file meshTester.cpp. References display(), init(), keyboard(), mouse(), parseArgs(), reshape(), sphericalMotion(), win_h, and win_w. |
|
||||||||||||||||||||
|
Definition at line 254 of file meshTester.cpp. References leftPressed, mouse_dx, mouse_dy, mouse_x, mouse_y, and rightPressed. Referenced by main(). |
|
||||||||||||||||
|
Referenced by ParticleShaderGradientField::draw(). |
|
||||||||||||
|
Definition at line 59 of file meshTester.cpp. Referenced by main(). |
|
|
Definition at line 76 of file meshTester.cpp. Referenced by init(), and keyboard(). |
|
||||||||||||
|
Definition at line 236 of file meshTester.cpp. Referenced by main(). |
|
|
Definition at line 116 of file meshTester.cpp. Referenced by display(). |
|
||||||||||||
|
Definition at line 296 of file meshTester.cpp. References cam_p, cam_r, cam_t, leftPressed, M_PI, max_r, mouse_dx, mouse_dy, mouse_x, mouse_y, p_sensitivity, r_sensitivity, rightPressed, t_sensitivity, and up. Referenced by main(). |
|
|
Definition at line 26 of file meshTester.cpp. Referenced by display(), and keyboard(). |
|
|
Definition at line 46 of file meshTester.cpp. Referenced by display(), and sphericalMotion(). |
|
|
Definition at line 47 of file meshTester.cpp. Referenced by display(), and sphericalMotion(). |
|
|
Definition at line 45 of file meshTester.cpp. Referenced by display(), and sphericalMotion(). |
|
|
|
Definition at line 25 of file meshTester.cpp. Referenced by keyboard(). |
|
|
Definition at line 27 of file meshTester.cpp. Referenced by display(), and keyboard(). |
|
|
Definition at line 43 of file meshTester.cpp. Referenced by display(). |
|
|
Definition at line 33 of file meshTester.cpp. Referenced by mouse(), and sphericalMotion(). |
|
|
Definition at line 48 of file meshTester.cpp. Referenced by sphericalMotion(). |
|
|
Definition at line 40 of file meshTester.cpp. Referenced by mouse(), and sphericalMotion(). |
|
|
Definition at line 41 of file meshTester.cpp. Referenced by mouse(), and sphericalMotion(). |
|
|
Definition at line 38 of file meshTester.cpp. Referenced by mouse(), and sphericalMotion(). |
|
|
Definition at line 39 of file meshTester.cpp. Referenced by mouse(), and sphericalMotion(). |
|
|
Definition at line 28 of file meshTester.cpp. Referenced by display(), and keyboard(). |
|
|
Definition at line 92 of file meshTester.cpp. Referenced by init(). |
|
|
Definition at line 51 of file meshTester.cpp. Referenced by sphericalMotion(). |
|
|
Definition at line 52 of file meshTester.cpp. Referenced by sphericalMotion(). |
|
|
Definition at line 32 of file meshTester.cpp. Referenced by mouse(), and sphericalMotion(). |
|
|
|
Definition at line 16 of file meshTester.cpp. Referenced by ImpFileManager::readFile(), and ImpFileManager::writeFile(). |
|
|
Definition at line 50 of file meshTester.cpp. Referenced by sphericalMotion(). |
|
|
Definition at line 93 of file meshTester.cpp. |
|
|
Definition at line 54 of file meshTester.cpp. Referenced by display(), and sphericalMotion(). |
|
|
|
Definition at line 36 of file meshTester.cpp. Referenced by main(), parseArgs(), and reshape(). |
|
|
Definition at line 35 of file meshTester.cpp. Referenced by main(), parseArgs(), and reshape(). |
|
|
Definition at line 29 of file meshTester.cpp. Referenced by display(), and keyboard(). |
1.3.4