GLWidget Class Reference

#include <GLWidget.h>

Collaboration diagram for GLWidget:
[legend]

List of all members.

Public Member Functions

 GLWidget (QWidget *parent=0, int width=0, int height=0, bool use2dTexturing=false)
 ~GLWidget ()
QSize minimumSizeHint () const
QSize sizeHint () const
void toggleTexMode (bool use2dTexturing)
void setVolume (Volume *vol)
void setMirrorX (bool isChecked)
void setMirrorY (bool isChecked)
void updateTransferFunc (float data[], int size)
void updateSlice (int sliceX, int sliceY, int sliceZ, bool modeChanged)

Protected Member Functions

void initializeGL ()
void paintGL ()
void resizeGL (int width, int height)

Private Member Functions

void makeMeCurrent ()
void update1dTexture (float data[], int size)
void update2dTexture ()
void update3dTexture ()
const int GetNextPowerOfTwo (const int iNumber)
void deleteTextures (bool del1d, bool del2d, bool del3d)

Private Attributes

int widgetWidth
int widgetHeight
bool doMirrorX
bool doMirrorY
Volumevolume
ShaderWrapshaders
int currentSliceX
int currentSliceY
int currentSliceZ
bool use2dTex
GLuint texture1d
GLuint texture2d
GLuint texture3d


Constructor & Destructor Documentation

GLWidget::GLWidget ( QWidget *  parent = 0,
int  width = 0,
int  height = 0,
bool  use2dTexturing = false 
)

GLWidget::~GLWidget (  ) 


Member Function Documentation

void GLWidget::deleteTextures ( bool  del1d,
bool  del2d,
bool  del3d 
) [private]

Here is the call graph for this function:

const int GLWidget::GetNextPowerOfTwo ( const int  iNumber  )  [private]

void GLWidget::initializeGL (  )  [protected]

Here is the call graph for this function:

void GLWidget::makeMeCurrent (  )  [private]

QSize GLWidget::minimumSizeHint (  )  const

void GLWidget::paintGL (  )  [protected]

Here is the call graph for this function:

void GLWidget::resizeGL ( int  width,
int  height 
) [protected]

Here is the call graph for this function:

void GLWidget::setMirrorX ( bool  isChecked  ) 

void GLWidget::setMirrorY ( bool  isChecked  ) 

void GLWidget::setVolume ( Volume vol  ) 

Here is the call graph for this function:

QSize GLWidget::sizeHint (  )  const

void GLWidget::toggleTexMode ( bool  use2dTexturing  ) 

Here is the call graph for this function:

void GLWidget::update1dTexture ( float  data[],
int  size 
) [private]

Here is the call graph for this function:

void GLWidget::update2dTexture (  )  [private]

Here is the call graph for this function:

void GLWidget::update3dTexture (  )  [private]

Here is the call graph for this function:

void GLWidget::updateSlice ( int  sliceX,
int  sliceY,
int  sliceZ,
bool  modeChanged 
)

Here is the call graph for this function:

void GLWidget::updateTransferFunc ( float  data[],
int  size 
)

Here is the call graph for this function:


Member Data Documentation

int GLWidget::currentSliceX [private]

int GLWidget::currentSliceY [private]

int GLWidget::currentSliceZ [private]

bool GLWidget::doMirrorX [private]

bool GLWidget::doMirrorY [private]

GLuint GLWidget::texture1d [private]

GLuint GLWidget::texture2d [private]

GLuint GLWidget::texture3d [private]

bool GLWidget::use2dTex [private]

int GLWidget::widgetHeight [private]

int GLWidget::widgetWidth [private]


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

Generated on Wed Dec 10 13:35:10 2008 for VisLu by  doxygen 1.5.7.1