Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QVTKQuickItem Class Reference

#include <QVTKQuickItem.h>

Inheritance diagram for QVTKQuickItem:
Collaboration diagram for QVTKQuickItem:

Public Member Functions

 QVTKQuickItem (QQuickItem *parent=0)
 
 ~QVTKQuickItem ()
 
Renderer * createRenderer () const
 
vtkOpenGLRenderWindow * GetRenderWindow () const
 
QVTKInteractor * GetInteractor () const
 

Public Attributes

QMutex m_viewLock
 

Protected Slots

virtual void IsCurrent (vtkObject *caller, unsigned long vtk_event, void *client_data, void *call_data)
 
virtual void IsDirect (vtkObject *caller, unsigned long vtk_event, void *client_data, void *call_data)
 
virtual void SupportsOpenGL (vtkObject *caller, unsigned long vtk_event, void *client_data, void *call_data)
 
void onTextureFollowsItemSizeChanged (bool follows)
 

Protected Member Functions

virtual void init ()
 
virtual bool prepareForRender ()
 
virtual void cleanupAfterRender ()
 
virtual void keyPressEvent (QKeyEvent *e)
 
virtual void keyReleaseEvent (QKeyEvent *e)
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 
virtual void mouseDoubleClickEvent (QMouseEvent *e)
 
virtual void mouseMoveEvent (QMouseEvent *e)
 
virtual void geometryChanged (const QRectF &newGeometry, const QRectF &oldGeometry)
 
virtual void wheelEvent (QWheelEvent *e)
 
virtual void hoverEnterEvent (QHoverEvent *e)
 
virtual void hoverLeaveEvent (QHoverEvent *e)
 
virtual void hoverMoveEvent (QHoverEvent *e)
 
QSGNode * updatePaintNode (QSGNode *node, QQuickItem::UpdatePaintNodeData *nodeData)
 

Detailed Description

Definition at line 51 of file QVTKQuickItem.h.

Constructor & Destructor Documentation

QVTKQuickItem::QVTKQuickItem ( QQuickItem *  parent = 0)
QVTKQuickItem::~QVTKQuickItem ( )

Definition at line 73 of file QVTKQuickItem.cxx.

References IsCurrent(), IsDirect(), and SupportsOpenGL().

Member Function Documentation

void QVTKQuickItem::cleanupAfterRender ( )
protectedvirtual

Reimplemented in QmlMitkRenderWindowItem.

Definition at line 256 of file QVTKQuickItem.cxx.

QQuickFramebufferObject::Renderer * QVTKQuickItem::createRenderer ( ) const

Definition at line 96 of file QVTKQuickItem.cxx.

References QVTKFramebufferObjectRenderer.

void QVTKQuickItem::geometryChanged ( const QRectF &  newGeometry,
const QRectF &  oldGeometry 
)
protectedvirtual
QVTKInteractor * QVTKQuickItem::GetInteractor ( ) const
void QVTKQuickItem::hoverEnterEvent ( QHoverEvent *  e)
protectedvirtual

Definition at line 214 of file QVTKQuickItem.cxx.

References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().

void QVTKQuickItem::hoverLeaveEvent ( QHoverEvent *  e)
protectedvirtual

Definition at line 224 of file QVTKQuickItem.cxx.

References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().

void QVTKQuickItem::hoverMoveEvent ( QHoverEvent *  e)
protectedvirtual

Definition at line 234 of file QVTKQuickItem.cxx.

References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().

void QVTKQuickItem::init ( )
protectedvirtual

Definition at line 244 of file QVTKQuickItem.cxx.

Referenced by QVTKFramebufferObjectRenderer::synchronize().

void QVTKQuickItem::IsCurrent ( vtkObject *  caller,
unsigned long  vtk_event,
void *  client_data,
void *  call_data 
)
protectedvirtualslot

Definition at line 111 of file QVTKQuickItem.cxx.

Referenced by QVTKQuickItem(), and ~QVTKQuickItem().

void QVTKQuickItem::IsDirect ( vtkObject *  caller,
unsigned long  vtk_event,
void *  client_data,
void *  call_data 
)
protectedvirtualslot

Definition at line 117 of file QVTKQuickItem.cxx.

Referenced by QVTKQuickItem(), and ~QVTKQuickItem().

void QVTKQuickItem::keyPressEvent ( QKeyEvent *  e)
protectedvirtual

Definition at line 151 of file QVTKQuickItem.cxx.

References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().

void QVTKQuickItem::keyReleaseEvent ( QKeyEvent *  e)
protectedvirtual

Definition at line 160 of file QVTKQuickItem.cxx.

References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().

void QVTKQuickItem::mouseDoubleClickEvent ( QMouseEvent *  e)
protectedvirtual

Definition at line 187 of file QVTKQuickItem.cxx.

References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().

void QVTKQuickItem::mouseMoveEvent ( QMouseEvent *  e)
protectedvirtual
void QVTKQuickItem::mousePressEvent ( QMouseEvent *  e)
protectedvirtual
void QVTKQuickItem::mouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual
void QVTKQuickItem::onTextureFollowsItemSizeChanged ( bool  follows)
protectedslot

Definition at line 129 of file QVTKQuickItem.cxx.

Referenced by QVTKQuickItem().

bool QVTKQuickItem::prepareForRender ( )
protectedvirtual

Reimplemented in QmlMitkRenderWindowItem.

Definition at line 251 of file QVTKQuickItem.cxx.

Referenced by QVTKFramebufferObjectRenderer::synchronize().

void QVTKQuickItem::SupportsOpenGL ( vtkObject *  caller,
unsigned long  vtk_event,
void *  client_data,
void *  call_data 
)
protectedvirtualslot

Definition at line 123 of file QVTKQuickItem.cxx.

Referenced by QVTKQuickItem(), and ~QVTKQuickItem().

QSGNode * QVTKQuickItem::updatePaintNode ( QSGNode *  node,
QQuickItem::UpdatePaintNodeData *  nodeData 
)
protected

Definition at line 84 of file QVTKQuickItem.cxx.

void QVTKQuickItem::wheelEvent ( QWheelEvent *  e)
protectedvirtual

Member Data Documentation


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