OpenGLApp Class Reference

#include <OpenGLApp.h>

Collaboration diagram for OpenGLApp:

Collaboration graph

List of all members.

Detailed Description

Definition at line 18 of file OpenGLApp.h.

Public Member Functions

int exec ()
GLXContext getGLXContext ()
Colormap getXColormap ()
Display * getXDisplay ()
XVisualInfo * getXVisualInfo ()
bool initialize (int argc=0, char **argv=0)
 OpenGLApp ()
 ~OpenGLApp ()

Public Attributes

< OpenGLWindow * > 

Private Member Functions

OpenGLWindowfindView (Window) const

Private Attributes

Colormap m_colormap
GLXContext m_ctx
Display * m_display
bool m_privateColormap
XVisualInfo * m_vinfo

Constructor & Destructor Documentation

OpenGLApp (  ) 

Definition at line 15 of file OpenGLApp.cxx.

~OpenGLApp (  ) 

Definition at line 24 of file OpenGLApp.cxx.

Member Function Documentation

int exec (  ) 

Definition at line 71 of file OpenGLApp.cxx.

References findView(), m_ctx, m_display, and OpenGLWindow::resize().

OpenGLWindow * findView ( Window  aWindow  )  const [private]

Definition at line 94 of file OpenGLApp.cxx.

References fViews, and OpenGLWindow::window().

Referenced by exec().

GLXContext getGLXContext (  ) 

Definition at line 92 of file OpenGLApp.cxx.

References m_ctx.

Colormap getXColormap (  ) 

Definition at line 90 of file OpenGLApp.cxx.

References m_colormap.

Display * getXDisplay (  ) 

Definition at line 89 of file OpenGLApp.cxx.

References m_display.

XVisualInfo * getXVisualInfo (  ) 

Definition at line 91 of file OpenGLApp.cxx.

References m_vinfo.

bool initialize ( int  argc = 0,
char **  argv = 0 

Definition at line 28 of file OpenGLApp.cxx.

References m_colormap, m_ctx, m_display, m_privateColormap, and m_vinfo.

Member Data Documentation

std::vector<OpenGLWindow*> fViews

Definition at line 29 of file OpenGLApp.h.

Referenced by findView().

Colormap m_colormap [private]

Definition at line 34 of file OpenGLApp.h.

Referenced by getXColormap(), and initialize().

GLXContext m_ctx [private]

Definition at line 36 of file OpenGLApp.h.

Referenced by exec(), getGLXContext(), and initialize().

Display* m_display [private]

Definition at line 33 of file OpenGLApp.h.

Referenced by exec(), getXDisplay(), and initialize().

bool m_privateColormap [private]

Definition at line 37 of file OpenGLApp.h.

Referenced by initialize().

XVisualInfo* m_vinfo [private]

Definition at line 35 of file OpenGLApp.h.

Referenced by getXVisualInfo(), and initialize().

The documentation for this class was generated from the following files:
Generated for HippoDraw Class Library by doxygen