Classes | Typedefs | Functions | Variables

OpenTissue::glut Namespace Reference

Classes

class  Application
class  BasePerspectiveViewApplication

Typedefs

typedef boost::shared_ptr
< Application
instance_pointer
typedef
BasePerspectiveViewApplication
< OpenTissue::math::default_math_types
PerspectiveViewApplication

Functions

void set_application_instance (OpenTissue::glut::instance_pointer const &ptr)
void mouse (int Button, int State, int cur_x, int cur_y)
void motion (int cur_x, int cur_y)
void reshape (int cur_width, int cur_height)
void idle ()
void key (unsigned char k, int, int)
void specialkey (int k, int, int)
void display ()
void menu (int entry)

Variables

instance_pointer application

Typedef Documentation

typedef boost::shared_ptr<Application> OpenTissue::glut::instance_pointer

The application framwork GLUT bindings talk to the application by using a pointer to a Application base class.

End users will create their own applications by making a derived class from the Application and then letting the init_glut_application function return a base-class pointer to an instance of this derived class.


Function Documentation

void OpenTissue::glut::display (  ) 
void OpenTissue::glut::idle (  ) 
void OpenTissue::glut::key ( unsigned char  k,
int  ,
int   
)
void OpenTissue::glut::menu ( int  entry  ) 
void OpenTissue::glut::motion ( int  cur_x,
int  cur_y 
)
void OpenTissue::glut::mouse ( int  Button,
int  State,
int  cur_x,
int  cur_y 
)
void OpenTissue::glut::reshape ( int  cur_width,
int  cur_height 
)
void OpenTissue::glut::set_application_instance ( OpenTissue::glut::instance_pointer const &  ptr  ) 
void OpenTissue::glut::specialkey ( int  k,
int  ,
int   
)

Variable Documentation