Vessel-Tree 2D Visualisation
 All Classes Functions Variables
MyRenderThread Class Reference
Inheritance diagram for MyRenderThread:

Public Member Functions

 MyRenderThread (MyGLFrame *parent=0)
 MyRenderThread. More...
 
void resizeViewport (const QSize &size)
 resizeViewport More...
 
void run (void)
 run
 
void stop (void)
 stop
 
float getMaximumCircumference (MainWindow::Vessel v)
 getMaximumCircumference More...
 
int paintVessels (MainWindow::Vessel v, float maxCircumference, int startingLevel, int startingY, int connectiontoFather)
 paintVessels More...
 

Protected Member Functions

void GLInit (void)
 GLInit.
 
void GLResize (int width, int height, int sizeX)
 GLResize. More...
 
void paintGL (void)
 paintGL More...
 

Constructor & Destructor Documentation

MyRenderThread::MyRenderThread ( MyGLFrame parent = 0)
explicit

MyRenderThread.

Parameters
parent

Member Function Documentation

float MyRenderThread::getMaximumCircumference ( MainWindow::Vessel  v)

getMaximumCircumference

Maximum circumference of the current vein is used to avoid overlapping of branches when drawing on the screen

Parameters
v- current vein
Returns
maximum Circumference for current vein
void MyRenderThread::GLResize ( int  width,
int  height,
int  sizeX 
)
protected

GLResize.

Parameters
width
height
sizeX
void MyRenderThread::paintGL ( void  )
protected

paintGL

all painting is done here

int MyRenderThread::paintVessels ( MainWindow::Vessel  v,
float  maxCircumference,
int  startingLevel,
int  startingY,
int  connectiontoFather 
)

paintVessels

Parameters
v
maxCircumference
startingLevel
startingY
Returns
last position y, so that we know, if there are other veins, where to draw new vein
void MyRenderThread::resizeViewport ( const QSize &  size)

resizeViewport

Parameters
size

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