Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
QtUtils::QtRenderWidget Class Reference
Inheritance diagram for QtUtils::QtRenderWidget:
Core::ConnectionHandler

Public Types

typedef boost::signals2::signal< void() > activate_signal_type
 

Public Member Functions

 QtRenderWidget (const QGLFormat &format, QWidget *parent, QGLWidget *share, Core::AbstractViewerHandle viewer)
 
void saveSceneOnly (const std::string &name)
 
void saveOverlayOnly (const std::string &name)
 
void saveComposite (const std::string &name)
 

Public Attributes

activate_signal_type activate_signal_
 

Protected Member Functions

virtual void initializeGL ()
 
virtual void paintGL ()
 
virtual void resizeGL (int width, int height)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void wheelEvent (QWheelEvent *event)
 
virtual void enterEvent (QEvent *event)
 
virtual void leaveEvent (QEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
void saveTexture (const std::string &name, Core::Texture2DHandle texture)
 

Member Typedef Documentation

typedef boost::signals2::signal< void () > QtUtils::QtRenderWidget::activate_signal_type

ACTIVATE_SIGNAL: This signal is triggered when the mouse is clicked in the widget

Member Function Documentation

void QtUtils::QtRenderWidget::enterEvent ( QEvent *  event)
protectedvirtual

ENTEREVENT: This function is called by Qt when the mouse starts to hover over the widget

void QtUtils::QtRenderWidget::initializeGL ( )
protectedvirtual

INITIALIZEGL: This function is called by Qt when the widget is initialized

void QtUtils::QtRenderWidget::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

KEYPRESSEVENT: This function is called by Qt when a key is pressed

void QtUtils::QtRenderWidget::keyReleaseEvent ( QKeyEvent *  event)
protectedvirtual

KEYPRESSEVENT: This function is called by Qt when a key is pressed

void QtUtils::QtRenderWidget::leaveEvent ( QEvent *  event)
protectedvirtual

LEAVEEVENT: This function is called by Qt when the mouse finishes to hover over the widget

virtual void QtUtils::QtRenderWidget::mouseDoubleClickEvent ( QMouseEvent *  event)
inlineprotectedvirtual

MOUSEDOUBLECLICKEVENT: This function is called by Qt to deliver a double mouse click event to the GUI.

void QtUtils::QtRenderWidget::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

MOUSEMOVEEVENT: This function is called by Qt to deliver mouse movement event to the GUI.

void QtUtils::QtRenderWidget::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

MOUSEDOUBLECLICKEVENT: This function is called by Qt to deliver a single mouse click event to the GUI.

void QtUtils::QtRenderWidget::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

MOUSERELEASEEVENT: This function is called by Qt to deliver a mouse button release event to the GUI.

void QtUtils::QtRenderWidget::paintGL ( )
protectedvirtual

PAINTGL: This function is called whenever Qt has to repaint the contents of the widget displaying the Qt scene

void QtUtils::QtRenderWidget::resizeGL ( int  width,
int  height 
)
protectedvirtual

RESIZEGL: This function gets called whenever the Qt widget is resized

void QtUtils::QtRenderWidget::saveTexture ( const std::string &  name,
Core::Texture2DHandle  texture 
)
protected

SAVETEXTURE: JH: Saves a texture to the specified filename.

void QtUtils::QtRenderWidget::wheelEvent ( QWheelEvent *  event)
protectedvirtual

WHEELEVENT: This function is called by Qt to deliver mouse wheel event to the GUI.


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