Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ACG::GlutExaminer Class Reference
Inheritance diagram for ACG::GlutExaminer:
ACG::GlutViewer

Public Member Functions

 GlutExaminer (const char *_title, int _width, int _height)
 
void setup_scene (const Vec3f &_center, float _radius)
 
void view_all ()
 
double measure_fps ()
 
- Public Member Functions inherited from ACG::GlutViewer
 GlutViewer (const char *_title, int _width, int _height)
 

Protected Member Functions

virtual void init ()
 
virtual void draw ()
 
virtual void motion (int x, int y)
 
virtual void mouse (int button, int state, int x, int y)
 
virtual void keyboard (int key, int x, int y)
 
- Protected Member Functions inherited from ACG::GlutViewer
virtual void display (void)
 
virtual void idle (void)
 
virtual void passivemotion (int x, int y)
 
virtual void reshape (int w, int h)
 
virtual void visibility (int visible)
 
void update_projection ()
 

Protected Attributes

GLTrackball trackball_
 
Vec3d center_
 
float radius_
 
- Protected Attributes inherited from ACG::GlutViewer
GLState glstate_
 
int width_
 
int height_
 
GLfloat near_
 
GLfloat far_
 
GLfloat fovy_
 

Detailed Description

Definition at line 79 of file GlutExaminer.hh.


The documentation for this class was generated from the following files: