MeVisLab Scripting Reference
MLABVTKGraphicsItem Class Reference

#include <mlabVTKGraphicsItem.h>

Inherits MLABGraphicsRenderArea.

VTK Style Scripting API

vtkGenericOpenGLRenderWindow * GetRenderWindow () const
QVTKInteractor * GetInteractor () const

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
nodiscardslot

Get the render window interactor used with this item.

◆ GetRenderWindow

vtkGenericOpenGLRenderWindow * MLABVTKGraphicsItem::GetRenderWindow ( ) const
nodiscardslot

Get the render window used with this item.