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

CInterpolationRenderer Class Reference

#include <CInterpolationRenderer.h>

List of all members.

Public Member Functions

 CInterpolationRenderer (QGLViewer *)
 ~CInterpolationRenderer ()
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
QCameraInterpolationToolm_pInterpolator
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

CInterpolationRenderer::CInterpolationRenderer QGLViewer  ) 
 

CInterpolationRenderer::~CInterpolationRenderer  ) 
 


Member Function Documentation

QGLViewer* CInterpolationRenderer::getViewer void   )  [inline]
 

void CInterpolationRenderer::MakeGlList  ) 
 

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

Method processes the hits using GL selection mode.

void CInterpolationRenderer::renderScene void   )  [private]
 

Renders this nice sphere scene.

void CInterpolationRenderer::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 CInterpolationRenderer::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 CInterpolationRenderer::sltInitializeGL  )  [private, slot]
 

Overloads the slot for GL initialization.

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

Manages the move events in selection mode.

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

Manages the release events in selection mode.

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

Manages the select events in selection mode.

void CInterpolationRenderer::sltPaintGL  )  [private, slot]
 

Overloads the slot for GL paint.

void CInterpolationRenderer::sltResetSelection  )  [private, slot]
 

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

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

Overloads the slot for GL resize.


Member Data Documentation

bool CInterpolationRenderer::m_afSelected[12] [private]
 

CP3D CInterpolationRenderer::m_cSphereCenter[12] [private]
 

bool CInterpolationRenderer::m_fLeftButtonPressed [private]
 

bool CInterpolationRenderer::m_fMiddleButtonPressed [private]
 

bool CInterpolationRenderer::m_fRightButtonPressed [private]
 

GLuint CInterpolationRenderer::m_glDispList [private]
 

int CInterpolationRenderer::m_nMousePosX [private]
 

int CInterpolationRenderer::m_nMousePosY [private]
 

QCameraInterpolationTool* CInterpolationRenderer::m_pInterpolator [private]
 

QGLViewer* CInterpolationRenderer::m_pViewer [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 02:49:31 2005 for QGLViewer by  doxygen 1.4.4