MeVisLab Scripting Reference
MLABVTKGraphicsItem Class Reference
Inheritance diagram for MLABVTKGraphicsItem:
MLABGraphicsRenderArea

VTK Style Scripting API

vtkSmartPointer< vtkGenericOpenGLRenderWindow > _renderWindow
 
vtkSmartPointer< QVTKInteractor > _interactor
 
QVTKInteractorAdapter * _adapter
 
vtkSmartPointer< vtkEventQtSlotConnect > _slotConnect
 
bool _insideRepaint
 
vtkGenericOpenGLRenderWindow * GetRenderWindow () const
 
QVTKInteractor * GetInteractor () const
 
void delayedUpdate ()
 
virtual void drawScene ()
 
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)
 

Additional Inherited Members

- Public Slots inherited from MLABGraphicsRenderArea
void setFixedBufferSize (const QSize &size)
 
void setFixedBufferSize (int width, int height)
 
void unsetFixedBufferSize ()
 
QSize bufferSize () const
 
void setAutoRedraw (bool flag)
 
bool autoRedraw () const
 
void forceRedraw ()
 
void setOpaqueBackground (bool flag)
 
bool opaqueBackground () const
 
void setDrawReflection (float heightPercentage=0.5, float scale=1., float startAlpha=0.5)
 
void setMultiSampling (int value)
 
void setLinearFiltering (bool flag)
 

Detailed Description

GraphicsView item that allows to render a VTK scene.

It is typically created via MLABGraphicsScene::addVTKGraphicsItem().

Member Function Documentation

◆ GetInteractor

QVTKInteractor* MLABVTKGraphicsItem::GetInteractor ( ) const
slot

Get the render window interactor used with this item.

◆ GetRenderWindow

vtkGenericOpenGLRenderWindow* MLABVTKGraphicsItem::GetRenderWindow ( ) const
slot

Get the render window used with this item.