Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

vrj::GlUserData Class Reference

Holds data about gl users for draw process. More...

#include <GlUserData.h>

Collaboration diagram for vrj::GlUserData:

Collaboration graph
[legend]
List of all members.

Public Methods

 GlUserData ()
UsergetUser ()
void setUser (User *user)
ProjectiongetProjection ()
void setProjection (Projection *proj)
ViewportgetViewport ()
void setViewport (Viewport *vp)
GlWindowgetGlWindow ()
void setGlWindow (GlWindow *win)

Protected Attributes

UsermUser
 The current user we are rendering. More...

ProjectionmProj
 The current projection being used. More...

ViewportmViewport
 The current vrj viewport being used. More...

GlWindowmGlWindow
 The current GL window that we are rendering in. More...


Detailed Description

Holds data about gl users for draw process.

This class holds interesting information that can be used in a gl draw callback to find information about the user.

@note: These values are only intended for use by advanced users/applications. By using these values it is possible to create applications that are non-portable.

Definition at line 68 of file GlUserData.h.


Constructor & Destructor Documentation

vrj::GlUserData::GlUserData   [inline]
 

Definition at line 71 of file GlUserData.h.

References mProj, and mUser.

00072    {
00073       mUser = NULL;
00074       mProj = NULL;
00075    }


Member Function Documentation

User* vrj::GlUserData::getUser   [inline]
 

Definition at line 77 of file GlUserData.h.

References mUser.

00078       { return mUser; }

void vrj::GlUserData::setUser User   user [inline]
 

Definition at line 79 of file GlUserData.h.

References mUser.

00080       { mUser = user; }

Projection* vrj::GlUserData::getProjection   [inline]
 

Definition at line 82 of file GlUserData.h.

References mProj.

Referenced by vrj::OpenSGApp::draw.

00083       { return mProj; }

void vrj::GlUserData::setProjection Projection   proj [inline]
 

Definition at line 84 of file GlUserData.h.

References mProj.

00085       { mProj = proj; }

Viewport* vrj::GlUserData::getViewport   [inline]
 

Definition at line 87 of file GlUserData.h.

References mViewport.

00088       { return mViewport; }

void vrj::GlUserData::setViewport Viewport   vp [inline]
 

Definition at line 89 of file GlUserData.h.

References mViewport.

00090       { mViewport = vp; }

GlWindow* vrj::GlUserData::getGlWindow   [inline]
 

Definition at line 92 of file GlUserData.h.

References mGlWindow.

00093       { return mGlWindow; }

void vrj::GlUserData::setGlWindow GlWindow   win [inline]
 

Definition at line 94 of file GlUserData.h.

References mGlWindow.

00095       { mGlWindow = win; }


Member Data Documentation

User* vrj::GlUserData::mUser [protected]
 

The current user we are rendering.

Definition at line 98 of file GlUserData.h.

Referenced by getUser, GlUserData, and setUser.

Projection* vrj::GlUserData::mProj [protected]
 

The current projection being used.

Definition at line 99 of file GlUserData.h.

Referenced by getProjection, GlUserData, and setProjection.

Viewport* vrj::GlUserData::mViewport [protected]
 

The current vrj viewport being used.

Definition at line 100 of file GlUserData.h.

Referenced by getViewport, and setViewport.

GlWindow* vrj::GlUserData::mGlWindow [protected]
 

The current GL window that we are rendering in.

(basically the gl context)

Definition at line 101 of file GlUserData.h.

Referenced by getGlWindow, and setGlWindow.


The documentation for this class was generated from the following file:
Generated on Sun May 2 15:11:11 2004 for VR Juggler by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002