GLWidgetTF Class Reference

[0] More...

#include <glwidgetTF.h>

Collaboration diagram for GLWidgetTF:
[legend]

List of all members.

Classes

struct  Canvas
struct  Point
struct  sortPoints
struct  TF_VectorMask

Public Slots

void createTF_DL (Volume *volume, float factor)
void saveTF ()
void loadTF ()

Signals

void notifyTFUpdate (TF_VectorMask *tf_fuction)

Public Member Functions

 GLWidgetTF (QWidget *parent=0)
 [0]
 ~GLWidgetTF ()

Protected Member Functions

void initializeGL ()
void paintGL ()
void resizeGL (int width, int height)
void mousePressEvent (QMouseEvent *event)
void mouseMoveEvent (QMouseEvent *event)
void mouseReleaseEvent (QMouseEvent *event)
void mouseDoubleClickEvent (QMouseEvent *event)
Point getMousePos (int x, int y)
void setTFPoint (Point p)
bool isinBBox (float val, Point p)
void removeTFPoint (Point p)
void drawColorQuad (Point p)
void setUpTF ()
void calcTF ()

Protected Attributes

struct GLWidgetTF::Canvas canvas
std::vector< PointtransferFunction
GLuint tf_List
QPoint lastPos
Vector point
Point currentPoint
bool movingPoint
int selected
float hist_factor


Detailed Description

[0]

Constructor & Destructor Documentation

GLWidgetTF::GLWidgetTF ( QWidget *  parent = 0  ) 

[0]

GLWidgetTF::~GLWidgetTF (  ) 


Member Function Documentation

void GLWidgetTF::calcTF (  )  [protected]

void GLWidgetTF::createTF_DL ( Volume volume,
float  factor 
) [slot]

void GLWidgetTF::drawColorQuad ( Point  p  )  [protected]

GLWidgetTF::Point GLWidgetTF::getMousePos ( int  x,
int  y 
) [protected]

void GLWidgetTF::initializeGL (  )  [protected]

bool GLWidgetTF::isinBBox ( float  val,
Point  p 
) [protected]

void GLWidgetTF::loadTF (  )  [slot]

void GLWidgetTF::mouseDoubleClickEvent ( QMouseEvent *  event  )  [protected]

void GLWidgetTF::mouseMoveEvent ( QMouseEvent *  event  )  [protected]

void GLWidgetTF::mousePressEvent ( QMouseEvent *  event  )  [protected]

void GLWidgetTF::mouseReleaseEvent ( QMouseEvent *  event  )  [protected]

void GLWidgetTF::notifyTFUpdate ( TF_VectorMask tf_fuction  )  [signal]

void GLWidgetTF::paintGL (  )  [protected]

void GLWidgetTF::removeTFPoint ( Point  p  )  [protected]

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

void GLWidgetTF::saveTF (  )  [slot]

void GLWidgetTF::setTFPoint ( Point  p  )  [protected]

void GLWidgetTF::setUpTF (  )  [protected]


Member Data Documentation

float GLWidgetTF::hist_factor [protected]

QPoint GLWidgetTF::lastPos [protected]

bool GLWidgetTF::movingPoint [protected]

int GLWidgetTF::selected [protected]

GLuint GLWidgetTF::tf_List [protected]

std::vector<Point> GLWidgetTF::transferFunction [protected]


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

Generated on Wed Dec 10 14:46:52 2008 for VolumeRender by  doxygen 1.5.7.1