#include <glwidgetTF.h>
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< Point > | transferFunction |
GLuint | tf_List |
QPoint | lastPos |
Vector | point |
Point | currentPoint |
bool | movingPoint |
int | selected |
float | hist_factor |
GLWidgetTF::GLWidgetTF | ( | QWidget * | parent = 0 |
) |
[0]
GLWidgetTF::~GLWidgetTF | ( | ) |
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] |
struct GLWidgetTF::Canvas GLWidgetTF::canvas [protected] |
Point GLWidgetTF::currentPoint [protected] |
float GLWidgetTF::hist_factor [protected] |
QPoint GLWidgetTF::lastPos [protected] |
bool GLWidgetTF::movingPoint [protected] |
Vector GLWidgetTF::point [protected] |
int GLWidgetTF::selected [protected] |
GLuint GLWidgetTF::tf_List [protected] |
std::vector<Point> GLWidgetTF::transferFunction [protected] |