Qt 5.10 Book Examples
Public Member Functions | Protected Member Functions | List of all members
OGLPyramid Class Reference

#include <OGLPyramid.h>

Inheritance diagram for OGLPyramid:

Public Member Functions

 OGLPyramid (QWidget *pwgt=0)
 

Protected Member Functions

virtual void initializeGL ()
 
virtual void resizeGL (int nWidth, int nHeight)
 
virtual void paintGL ()
 
virtual void mousePressEvent (QMouseEvent *pe)
 
virtual void mouseMoveEvent (QMouseEvent *pe)
 
GLuint createPyramid (GLfloat fSize=1.0f)
 

Detailed Description

Definition at line 16 of file OGLPyramid.h.

Constructor & Destructor Documentation

◆ OGLPyramid()

OGLPyramid::OGLPyramid ( QWidget *  pwgt = 0)

Definition at line 16 of file OGLPyramid.cpp.

Member Function Documentation

◆ createPyramid()

GLuint OGLPyramid::createPyramid ( GLfloat  fSize = 1.0f)
protected

Definition at line 75 of file OGLPyramid.cpp.

◆ initializeGL()

void OGLPyramid::initializeGL ( )
protectedvirtual

Definition at line 23 of file OGLPyramid.cpp.

◆ mouseMoveEvent()

void OGLPyramid::mouseMoveEvent ( QMouseEvent *  pe)
protectedvirtual

Definition at line 65 of file OGLPyramid.cpp.

◆ mousePressEvent()

void OGLPyramid::mousePressEvent ( QMouseEvent *  pe)
protectedvirtual

Definition at line 59 of file OGLPyramid.cpp.

◆ paintGL()

void OGLPyramid::paintGL ( )
protectedvirtual

Definition at line 44 of file OGLPyramid.cpp.

◆ resizeGL()

void OGLPyramid::resizeGL ( int  nWidth,
int  nHeight 
)
protectedvirtual

Definition at line 35 of file OGLPyramid.cpp.


The documentation for this class was generated from the following files: