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

CEditorRenderer Class Reference

#include <CEditorRenderer.h>

List of all members.

Public Member Functions

 CEditorRenderer (QGLViewer *, QCameraKeyPathEditorImpl *)
 ~CEditorRenderer ()
QGLViewergetViewer (void)
void MakeGlList ()

Private Slots

void sltInitializeGL ()
void sltResizeGL (int w, int h)
void sltPaintGL ()
void sltManageSelection (QMouseEvent *pqEvent)
void sltManageRelease (QMouseEvent *pqEvent)
void sltManageMove (QMouseEvent *pqEvent)
void sltResetSelection ()

Private Member Functions

GLuint processHits (GLint hits, GLuint buffer[])
void renderScene (void)
void renderSolidSphere (const CP3D &cCenter, float radius, int n1, int n2, float lw=2.5)
void renderWireSphere (const CP3D &cCenter, float radius, int n1, int n2, float lw=2.5)

Private Attributes

QGLViewerm_pViewer
QCameraKeyPathEditorImplm_pCameraEditor
GLuint m_glDispList
bool m_afSelected [12]
bool m_fLeftButtonPressed
bool m_fMiddleButtonPressed
bool m_fRightButtonPressed
CP3D m_cSphereCenter [12]
int m_nMousePosX
int m_nMousePosY


Detailed Description

documentation stuff

Author:
Michael Meissner
Version:
0.0 //see cvs docu


Constructor & Destructor Documentation

CEditorRenderer::CEditorRenderer QGLViewer ,
QCameraKeyPathEditorImpl
 

CEditorRenderer::~CEditorRenderer  ) 
 


Member Function Documentation

QGLViewer* CEditorRenderer::getViewer void   )  [inline]
 

void CEditorRenderer::MakeGlList  ) 
 

GLuint CEditorRenderer::processHits GLint  hits,
GLuint  buffer[]
[private]
 

Method processes the hits using GL selection mode.

void CEditorRenderer::renderScene void   )  [private]
 

Renders this nice sphere scene.

void CEditorRenderer::renderSolidSphere const CP3D cCenter,
float  radius,
int  n1,
int  n2,
float  lw = 2.5
[private]
 

Renders a solid sphere at the given location with given radius.

void CEditorRenderer::renderWireSphere const CP3D cCenter,
float  radius,
int  n1,
int  n2,
float  lw = 2.5
[private]
 

Renders a wire sphere at the given location with given radius.

void CEditorRenderer::sltInitializeGL  )  [private, slot]
 

Overloads the slot for GL initialization.

void CEditorRenderer::sltManageMove QMouseEvent *  pqEvent  )  [private, slot]
 

Manages the move events in selection mode.

void CEditorRenderer::sltManageRelease QMouseEvent *  pqEvent  )  [private, slot]
 

Manages the release events in selection mode.

void CEditorRenderer::sltManageSelection QMouseEvent *  pqEvent  )  [private, slot]
 

Manages the select events in selection mode.

void CEditorRenderer::sltPaintGL  )  [private, slot]
 

Overloads the slot for GL paint.

void CEditorRenderer::sltResetSelection  )  [private, slot]
 

Slot to reset selection for example after the render mode has changed.

void CEditorRenderer::sltResizeGL int  w,
int  h
[private, slot]
 

Overloads the slot for GL resize.


Member Data Documentation

bool CEditorRenderer::m_afSelected[12] [private]
 

CP3D CEditorRenderer::m_cSphereCenter[12] [private]
 

bool CEditorRenderer::m_fLeftButtonPressed [private]
 

bool CEditorRenderer::m_fMiddleButtonPressed [private]
 

bool CEditorRenderer::m_fRightButtonPressed [private]
 

GLuint CEditorRenderer::m_glDispList [private]
 

int CEditorRenderer::m_nMousePosX [private]
 

int CEditorRenderer::m_nMousePosY [private]
 

QCameraKeyPathEditorImpl* CEditorRenderer::m_pCameraEditor [private]
 

QGLViewer* CEditorRenderer::m_pViewer [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 17 23:15:20 2004 for QGLViewer by  doxygen 1.3.9.1