VTK
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
QVTKGraphicsItem Class Reference

#include <QVTKGraphicsItem.h>

Inherits QGraphicsWidget.

Collaboration diagram for QVTKGraphicsItem:
[legend]

Public Slots

virtual void Update ()
 

Public Member Functions

 QVTKGraphicsItem (QGLContext *ctx, QGraphicsItem *p=0)
 
 ~QVTKGraphicsItem ()
 
void SetRenderWindow (vtkGenericOpenGLRenderWindow *win)
 
vtkGenericOpenGLRenderWindowGetRenderWindow () const
 
QVTKInteractorGetInteractor () const
 

Protected Slots

virtual void MakeCurrent ()
 
virtual void Start ()
 
virtual void End ()
 
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)
 

Protected Member Functions

void keyPressEvent (QKeyEvent *e)
 
void keyReleaseEvent (QKeyEvent *e)
 
void mousePressEvent (QGraphicsSceneMouseEvent *e)
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *e)
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *e)
 
void resizeEvent (QGraphicsSceneResizeEvent *e)
 
void moveEvent (QGraphicsSceneMoveEvent *e)
 
void wheelEvent (QGraphicsSceneWheelEvent *e)
 
void hoverEnterEvent (QGraphicsSceneHoverEvent *e)
 
void hoverLeaveEvent (QGraphicsSceneHoverEvent *e)
 
void hoverMoveEvent (QGraphicsSceneHoverEvent *e)
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 

Protected Attributes

QGLContext * mContext
 
QGLFramebufferObject * mFBO
 
vtkSmartPointer< vtkGenericOpenGLRenderWindowmWin
 
vtkSmartPointer< QVTKInteractormIren
 
QVTKInteractorAdaptermIrenAdapter
 
vtkSmartPointer< vtkEventQtSlotConnectmConnect
 

Detailed Description

Definition at line 40 of file QVTKGraphicsItem.h.

Constructor & Destructor Documentation

QVTKGraphicsItem::QVTKGraphicsItem ( QGLContext *  ctx,
QGraphicsItem *  p = 0 
)
QVTKGraphicsItem::~QVTKGraphicsItem ( )

Member Function Documentation

void QVTKGraphicsItem::SetRenderWindow ( vtkGenericOpenGLRenderWindow win)
vtkGenericOpenGLRenderWindow* QVTKGraphicsItem::GetRenderWindow ( ) const
QVTKInteractor* QVTKGraphicsItem::GetInteractor ( ) const
virtual void QVTKGraphicsItem::Update ( )
virtualslot
virtual void QVTKGraphicsItem::MakeCurrent ( )
protectedvirtualslot
virtual void QVTKGraphicsItem::Start ( )
protectedvirtualslot
virtual void QVTKGraphicsItem::End ( )
protectedvirtualslot
virtual void QVTKGraphicsItem::IsCurrent ( vtkObject caller,
unsigned long  vtk_event,
void *  client_data,
void *  call_data 
)
protectedvirtualslot
virtual void QVTKGraphicsItem::IsDirect ( vtkObject caller,
unsigned long  vtk_event,
void *  client_data,
void *  call_data 
)
protectedvirtualslot
virtual void QVTKGraphicsItem::SupportsOpenGL ( vtkObject caller,
unsigned long  vtk_event,
void *  client_data,
void *  call_data 
)
protectedvirtualslot
void QVTKGraphicsItem::keyPressEvent ( QKeyEvent *  e)
protected
void QVTKGraphicsItem::keyReleaseEvent ( QKeyEvent *  e)
protected
void QVTKGraphicsItem::mousePressEvent ( QGraphicsSceneMouseEvent *  e)
protected
void QVTKGraphicsItem::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  e)
protected
void QVTKGraphicsItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  e)
protected
void QVTKGraphicsItem::resizeEvent ( QGraphicsSceneResizeEvent *  e)
protected
void QVTKGraphicsItem::moveEvent ( QGraphicsSceneMoveEvent *  e)
protected
void QVTKGraphicsItem::wheelEvent ( QGraphicsSceneWheelEvent *  e)
protected
void QVTKGraphicsItem::hoverEnterEvent ( QGraphicsSceneHoverEvent *  e)
protected
void QVTKGraphicsItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  e)
protected
void QVTKGraphicsItem::hoverMoveEvent ( QGraphicsSceneHoverEvent *  e)
protected
void QVTKGraphicsItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
protected

Member Data Documentation

QGLContext* QVTKGraphicsItem::mContext
protected

Definition at line 105 of file QVTKGraphicsItem.h.

QGLFramebufferObject* QVTKGraphicsItem::mFBO
protected

Definition at line 106 of file QVTKGraphicsItem.h.

vtkSmartPointer<vtkGenericOpenGLRenderWindow> QVTKGraphicsItem::mWin
protected

Definition at line 107 of file QVTKGraphicsItem.h.

vtkSmartPointer<QVTKInteractor> QVTKGraphicsItem::mIren
protected

Definition at line 108 of file QVTKGraphicsItem.h.

QVTKInteractorAdapter* QVTKGraphicsItem::mIrenAdapter
protected

Definition at line 109 of file QVTKGraphicsItem.h.

vtkSmartPointer<vtkEventQtSlotConnect> QVTKGraphicsItem::mConnect
protected

Definition at line 110 of file QVTKGraphicsItem.h.


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