#include <SDL.h>
#include <GL/glew.h>
#include <vector>
#include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/face/base.h>
#include <vcg/complex/trimesh/base.h>
#include <vcg/complex/trimesh/update/bounding.h>
#include <vcg/complex/trimesh/update/normal.h>
#include <wrap/io_trimesh/import.h>
#include <wrap/gl/trimesh.h>
#include <wrap/gui/trackball.h>
Go to the source code of this file.
Classes | |
class | CFace |
class | CMesh |
class | CVertex |
compositing wanted proprieties More... | |
struct | MyUsedTypes |
Functions | |
void | display () |
void | initGL () |
bool | initSDL (const std::string &str) |
int | main (int argc, char *argv[]) |
void | myReshapeFunc (GLsizei w, GLsizei h) |
int | sdl_idle () |
Variables | |
int | drawMode |
vcg::GlTrimesh< CMesh > | glWrap |
int | height = 768 |
CMesh | mesh |
vcg::Trackball | track |
int | width = 1024 |
void display | ( | ) |
Definition at line 140 of file trimesh_sdl.cpp.
void initGL | ( | ) |
Definition at line 102 of file trimesh_sdl.cpp.
bool initSDL | ( | const std::string & | str | ) |
Definition at line 123 of file trimesh_sdl.cpp.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 224 of file trimesh_sdl.cpp.
void myReshapeFunc | ( | GLsizei | w, | |
GLsizei | h | |||
) |
Definition at line 114 of file trimesh_sdl.cpp.
int sdl_idle | ( | ) |
Definition at line 176 of file trimesh_sdl.cpp.
int drawMode |
Definition at line 95 of file trimesh_sdl.cpp.
Definition at line 93 of file trimesh_sdl.cpp.
int height = 768 |
Definition at line 97 of file trimesh_sdl.cpp.
Definition at line 92 of file trimesh_sdl.cpp.
Definition at line 94 of file trimesh_sdl.cpp.
int width = 1024 |
Definition at line 96 of file trimesh_sdl.cpp.