cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
osaGLUT Class Reference

#include <osaGLUT.h>

Public Member Functions

 osaGLUT (int argc, char **argv)
 Default constructor. More...
 
void Draw ()
 Draw everything. More...
 
void Keyboard (int k, int x, int y)
 Process the keboard. More...
 
osaGeometry * LoadOBJ (const std::string &filename)
 
void SetSleepPeriod (const double sleepPeriodInSec)
 Setter. More...
 

Static Public Member Functions

static void Register (const osaGeometry *geom)
 
static void StartMainLoop (void)
 Calls glutMainLoop (blocking call) More...
 
static void Refresh ()
 

Static Public Attributes

static osaGLUTglut
 

Constructor & Destructor Documentation

osaGLUT::osaGLUT ( int  argc,
char **  argv 
)

Default constructor.

Member Function Documentation

void osaGLUT::Draw ( )

Draw everything.

void osaGLUT::Keyboard ( int  k,
int  x,
int  y 
)

Process the keboard.

osaGeometry* osaGLUT::LoadOBJ ( const std::string &  filename)
static void osaGLUT::Refresh ( )
static
static void osaGLUT::Register ( const osaGeometry *  geom)
static
void osaGLUT::SetSleepPeriod ( const double  sleepPeriodInSec)
inline

Setter.

static void osaGLUT::StartMainLoop ( void  )
static

Calls glutMainLoop (blocking call)

Member Data Documentation

osaGLUT* osaGLUT::glut
static

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