QVolRendCanvas Class Reference

#include <QVolRendCanvas.h>

Collaboration diagram for QVolRendCanvas:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 QVolRendCanvas (QWidget *parent=0)
virtual ~QVolRendCanvas ()
void setObjectName (const QString &name)
virtual void resizeGL (int w, int h)
virtual void paintEvent (QPaintEvent *e)
virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *e)
virtual void mouseMoveEvent (QMouseEvent *e)
virtual void mouseDoubleClickEvent (QMouseEvent *e)
virtual void keyPressEvent (QKeyEvent *e)
virtual void keyReleaseEvent (QKeyEvent *e)
const VMouseEvent getMouseEvent (QMouseEvent *e)
const VKeyboardEvent getKeyboardEvent (QKeyEvent *e)
virtual void redraw ()
void setBackColorPtr (VVector *v)
void setLayout (int layout_state)
int getLayout ()

Public Attributes

float m_bgColor [4]
TreeRep * m_TreeRep
bool * m_splinesel_active
QTextEdit * name
QTextEdit * born
QTextEdit * died
QFotoCanvasfoto
QTextEdit * parents
QTextEdit * kids

Protected Member Functions

virtual void initializeGL ()
virtual void paintGL ()


Detailed Description

class representing the Main render Canvas

Constructor & Destructor Documentation

QVolRendCanvas::QVolRendCanvas ( QWidget *  parent = 0  ) 

constructor with given parent Widget

Parameters:
parent Widget

QVolRendCanvas::~QVolRendCanvas (  )  [virtual]

standard destructor


Member Function Documentation

void QVolRendCanvas::setObjectName ( const QString &  name  ) 

sets the name of the current Object

Parameters:
name QString containing the widgets name

void QVolRendCanvas::resizeGL ( int  w,
int  h 
) [virtual]

method called when resizing

Parameters:
w width of window
h height of window

void QVolRendCanvas::paintEvent ( QPaintEvent *  e  )  [virtual]

method handling the paintEvent

Parameters:
e Pointer to QPaintEvent

void QVolRendCanvas::mousePressEvent ( QMouseEvent *  e  )  [virtual]

method handling the mousePressEvent

Parameters:
e Pointer to QMouseEvent

void QVolRendCanvas::mouseReleaseEvent ( QMouseEvent *  e  )  [virtual]

method handling the mouseReleaseEvent

Parameters:
e Pointer to QMouseEvent

void QVolRendCanvas::mouseMoveEvent ( QMouseEvent *  e  )  [virtual]

method handling the mouseMoveEvent

Parameters:
e Pointer to QMouseEvent

void QVolRendCanvas::mouseDoubleClickEvent ( QMouseEvent *  e  )  [virtual]

method handling the mouseDoubleClickEvent

Parameters:
e Pointer to QMouseEvent

void QVolRendCanvas::keyPressEvent ( QKeyEvent *  e  )  [virtual]

method handling the keyPressEvent

Parameters:
e Pointer to QKeyEvent

void QVolRendCanvas::keyReleaseEvent ( QKeyEvent *  e  )  [virtual]

method handling the keyReleaseEvent

Parameters:
e Pointer to QKeyEvent

const VMouseEvent QVolRendCanvas::getMouseEvent ( QMouseEvent *  e  ) 

method that converts a QMouseEvent into a VMouseEvent

Parameters:
e Ptr to QMouseEvent
Returns:
VMouseEvent

const VKeyboardEvent QVolRendCanvas::getKeyboardEvent ( QKeyEvent *  e  ) 

method that converts a QKeyEvent into a VKeybardEvent

Parameters:
e Ptr to QMouseEvent
Returns:
VKeyboardEvent

void QVolRendCanvas::redraw (  )  [virtual]

method handling the redraw

void QVolRendCanvas::setBackColorPtr ( VVector *  v  ) 

method that sets a Pointer to the BackgroundColor

Parameters:
v Ptr to the BackgroundColor

void QVolRendCanvas::setLayout ( int  layout_state  ) 

method that sets the state of the tree layout

Parameters:
layout_state is the coded value of the tree layout

int QVolRendCanvas::getLayout (  ) 

method that returns the state of the tree layout as an integer

void QVolRendCanvas::initializeGL (  )  [protected, virtual]

method to initialise opengl

void QVolRendCanvas::paintGL (  )  [protected, virtual]

method called when repainting


Member Data Documentation

Color of Background.

Encasules the tree data structer and its properties.

A pointer to the boolean state of the selection enable of splines.

Pointers to the text boxes where the info will be displayed.

Pointers to the text boxes where the info will be displayed.

Pointers to the text boxes where the info will be displayed.

Pointers to the text boxes where the info will be displayed.

Pointers to the text boxes where the info will be displayed.

Pointers to the text boxes where the info will be displayed.


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

Generated on Tue Jun 3 21:15:49 2008 for Hierarchical Edge Bundles by  doxygen 1.5.6