Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QVTKQuickItem.h>
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) |
Definition at line 51 of file QVTKQuickItem.h.
QVTKQuickItem::QVTKQuickItem | ( | QQuickItem * | parent = 0 | ) |
Definition at line 52 of file QVTKQuickItem.cxx.
References IsCurrent(), IsDirect(), vtkInternalOpenGLRenderWindow::New(), mitk::New(), onTextureFollowsItemSizeChanged(), and SupportsOpenGL().
QVTKQuickItem::~QVTKQuickItem | ( | ) |
Definition at line 73 of file QVTKQuickItem.cxx.
References IsCurrent(), IsDirect(), and SupportsOpenGL().
|
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.
|
protectedvirtual |
Reimplemented in QmlMitkRenderWindowItem.
Definition at line 137 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
Referenced by QmlMitkRenderWindowItem::geometryChanged().
QVTKInteractor * QVTKQuickItem::GetInteractor | ( | ) | const |
Definition at line 106 of file QVTKQuickItem.cxx.
Referenced by QmlMitkRenderWindowItem::GetVtkRenderWindowInteractor().
vtkOpenGLRenderWindow * QVTKQuickItem::GetRenderWindow | ( | ) | const |
Definition at line 101 of file QVTKQuickItem.cxx.
Referenced by QmlMitkRenderWindowItem::geometryChanged(), QmlMitkRenderWindowItem::GetVtkRenderWindow(), QmlMitkRenderWindowItem::prepareForRender(), and QmlMitkRenderWindowItem::QmlMitkRenderWindowItem().
|
protectedvirtual |
Definition at line 214 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
|
protectedvirtual |
Definition at line 224 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
|
protectedvirtual |
Definition at line 234 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
|
protectedvirtual |
Definition at line 244 of file QVTKQuickItem.cxx.
Referenced by QVTKFramebufferObjectRenderer::synchronize().
|
protectedvirtualslot |
Definition at line 111 of file QVTKQuickItem.cxx.
Referenced by QVTKQuickItem(), and ~QVTKQuickItem().
|
protectedvirtualslot |
Definition at line 117 of file QVTKQuickItem.cxx.
Referenced by QVTKQuickItem(), and ~QVTKQuickItem().
|
protectedvirtual |
Definition at line 151 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
|
protectedvirtual |
Definition at line 160 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
|
protectedvirtual |
Definition at line 187 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
|
protectedvirtual |
Reimplemented in QmlMitkRenderWindowItem.
Definition at line 196 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
Referenced by QmlMitkRenderWindowItem::mouseMoveEvent().
|
protectedvirtual |
Reimplemented in QmlMitkRenderWindowItem.
Definition at line 169 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
Referenced by QmlMitkRenderWindowItem::mousePressEvent().
|
protectedvirtual |
Reimplemented in QmlMitkRenderWindowItem.
Definition at line 178 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
Referenced by QmlMitkRenderWindowItem::mouseReleaseEvent().
|
protectedslot |
Definition at line 129 of file QVTKQuickItem.cxx.
Referenced by QVTKQuickItem().
|
protectedvirtual |
Reimplemented in QmlMitkRenderWindowItem.
Definition at line 251 of file QVTKQuickItem.cxx.
Referenced by QVTKFramebufferObjectRenderer::synchronize().
|
protectedvirtualslot |
Definition at line 123 of file QVTKQuickItem.cxx.
Referenced by QVTKQuickItem(), and ~QVTKQuickItem().
|
protected |
Definition at line 84 of file QVTKQuickItem.cxx.
|
protectedvirtual |
Reimplemented in QmlMitkRenderWindowItem.
Definition at line 205 of file QVTKQuickItem.cxx.
References m_viewLock, and QVTKMitkInteractorAdapter::ProcessEvent().
Referenced by QmlMitkRenderWindowItem::wheelEvent().
QMutex QVTKQuickItem::m_viewLock |
Definition at line 72 of file QVTKQuickItem.h.
Referenced by geometryChanged(), hoverEnterEvent(), hoverLeaveEvent(), hoverMoveEvent(), keyPressEvent(), keyReleaseEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), QVTKFramebufferObjectRenderer::render(), and wheelEvent().