Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OpenGLApp Class Reference

#include <OpenGLApp.h>

Collaboration diagram for OpenGLApp:

Collaboration graph
[legend]
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

std::vector< OpenGLWindow * > fViews

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::OpenGLApp  ) 
 

Definition at line 15 of file OpenGLApp.cxx.

OpenGLApp::~OpenGLApp  ) 
 

Definition at line 24 of file OpenGLApp.cxx.


Member Function Documentation

int OpenGLApp::exec  ) 
 

Definition at line 71 of file OpenGLApp.cxx.

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

Referenced by main().

OpenGLWindow * OpenGLApp::findView Window   )  const [private]
 

Definition at line 94 of file OpenGLApp.cxx.

References fViews, and OpenGLWindow::window().

Referenced by exec().

GLXContext OpenGLApp::getGLXContext  ) 
 

Definition at line 92 of file OpenGLApp.cxx.

References m_ctx.

Referenced by main().

Colormap OpenGLApp::getXColormap  ) 
 

Definition at line 90 of file OpenGLApp.cxx.

References m_colormap.

Referenced by main().

Display * OpenGLApp::getXDisplay  ) 
 

Definition at line 89 of file OpenGLApp.cxx.

References m_display.

Referenced by main().

XVisualInfo * OpenGLApp::getXVisualInfo  ) 
 

Definition at line 91 of file OpenGLApp.cxx.

References m_vinfo.

Referenced by main().

bool OpenGLApp::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.

Referenced by main().


Member Data Documentation

std::vector<OpenGLWindow*> OpenGLApp::fViews
 

Definition at line 29 of file OpenGLApp.h.

Referenced by findView(), and main().

Colormap OpenGLApp::m_colormap [private]
 

Definition at line 34 of file OpenGLApp.h.

Referenced by getXColormap(), and initialize().

GLXContext OpenGLApp::m_ctx [private]
 

Definition at line 36 of file OpenGLApp.h.

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

Display* OpenGLApp::m_display [private]
 

Definition at line 33 of file OpenGLApp.h.

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

bool OpenGLApp::m_privateColormap [private]
 

Definition at line 37 of file OpenGLApp.h.

Referenced by initialize().

XVisualInfo* OpenGLApp::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-1.14.8.5 by doxygen 1.4.3