Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

OpenGL_Application Class Reference

List of all members.

Public Member Functions

Constructor / Destructor
 OpenGL_Application ()
 Constructor.
virtual ~OpenGL_Application () throw ()
 Destructor.

Protected Member Functions

AboutBox
virtual CPLAT::CP_String GetAboutBoxDescription () const
Commands
virtual void HandleOpenApplication ()

Protected Attributes

float speed
GLint w_win
GLint h_win
GLint count

Private Types

typedef CPLAT::CP_Application<
CPLAT::CP_DocumentPolicy_None,
CPLAT::CP_PrintPolicy_Print,
CPLAT::CP_UndoPolicy_None > 
inherited

Private Member Functions

Drawing
void DrawGLContent (CPLAT::CP_DataValueHolder &inValue, CPLAT::OSStatus &)
OpenGL Drawing
void InitGLDrawing ()
double tnow ()
double filter (double in, double *save)
void SetCamera ()
void do_display ()
Timer
void TimerTask (CPLAT::CP_DataValueHolder &inDataValue, CPLAT::OSStatus &inOSStatus)

Member Typedef Documentation

typedef CPLAT::CP_Application<CPLAT::CP_DocumentPolicy_None, CPLAT::CP_PrintPolicy_Print, CPLAT::CP_UndoPolicy_None> OpenGL_Application::inherited [private]
 


Constructor & Destructor Documentation

OpenGL_Application::OpenGL_Application  ) 
 

Constructor.

Exceptions:
none 

OpenGL_Application::~OpenGL_Application  )  throw () [virtual]
 

Destructor.

Exceptions:
none 


Member Function Documentation

CPLAT::CP_String OpenGL_Application::GetAboutBoxDescription  )  const [protected, virtual]
 

Return the string that describes the purpose of the application in the AboutBox.

Exceptions:
none 
Returns:
CP_String const The description, displayed in the about box.

void OpenGL_Application::HandleOpenApplication  )  [protected, virtual]
 

Called when the application is starting up. We take this opportunity to create our initial window and views. In this demo, we create a single window and using OpenGL draw some stuff into it.

Exceptions:
none 
Returns:
void

void OpenGL_Application::DrawGLContent CPLAT::CP_DataValueHolder &  inValue,
CPLAT::OSStatus & 
[private]
 

Slot called to draw some content into the OpenGL view.

Parameters:
inValue Not used.
inOutStatus Not used.
Exceptions:
none 
Returns:
void

void OpenGL_Application::InitGLDrawing  )  [private]
 

double OpenGL_Application::tnow  )  [private]
 

double OpenGL_Application::filter double  in,
double *  save
[private]
 

void OpenGL_Application::SetCamera  )  [private]
 

void OpenGL_Application::do_display  )  [private]
 

void OpenGL_Application::TimerTask CPLAT::CP_DataValueHolder &  inDataValue,
CPLAT::OSStatus &  inOSStatus
[private]
 


Member Data Documentation

float OpenGL_Application::speed [protected]
 

GLint OpenGL_Application::w_win [protected]
 

GLint OpenGL_Application::h_win [protected]
 

GLint OpenGL_Application::count [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Sep 20 20:26:44 2005 for CPLAT_MacOS by  doxygen 1.4.0