MeVisLab Scripting Reference
MLABVTKRenderWidgetControl Class Reference

#include <mlabVTKRenderWidgetControl.h>

Inherits MLABSimpleWidgetControl.

Public Slots

Scripting
void setRenderer (vtkRenderer *renderer)
 
vtkRenderer * renderer ()
 
void setInteractorStyle (vtkInteractorObserver *style)
 
vtkInteractorObserver * interatorStyle ()
 
vtkRenderWindowInteractor * renderWindowInteractor ()
 
ML_USED_VTK_ADAPTER_RENDERWINDOW * renderWindow ()
 
void setRenderWindow (ML_USED_VTK_ADAPTER_RENDERWINDOW *renderWindow)
 
void setRenderView (vtkRenderViewBase *renderView)
 
- Public Slots inherited from MLABWidgetControl
void adjustSize ()
 
virtual void setEnabled (bool flag)
 
virtual void setVisible (bool flag)
 
virtual bool isVisible ()
 
virtual void setFocus ()
 
virtual bool hasFocus ()
 
virtual void setToolTip (const QString &string)
 
virtual void setWhatsThis (const QString &string)
 
void displayWhatsThis ()
 
void displayWhatsThis (const QString &text)
 
virtual void setTitle (const QString &)
 
QWidget * widget ()
 
QLayout * layout ()
 
virtual QString windowHandle ()
 
virtual bool createScreenshot (const QString &filename, bool grabFromScreen=true, bool scaleToLowRes=false)
 
bool isReloadable () const
 
void reload (MLABTree *tree)
 
QString createGlobalScreenshot ()
 
QString applicationName ()
 
QSize size ()
 
int width ()
 
int height ()
 
int minWidth ()
 
int minHeight ()
 
int maxWidth ()
 
int maxHeight ()
 
virtual void setMinWidth (int s)
 
virtual void setMinHeight (int s)
 
void setMaxWidth (int s)
 
void setMaxHeight (int s)
 
QSize sizeHint ()
 
QSize minSize ()
 
QSize maxSize ()
 
void setMinSize (QSize size)
 
void setMaxSize (QSize size)
 
void updateLayout ()
 
int windowID ()
 
MLABWidgetControlcontrol (const QString &name)
 
float scaleFactor ()
 
MLABModulemodule ()
 
QString getType ()
 
QString getName ()
 
bool acceptDrops ()
 
void setAcceptDrops (bool flag)
 
void raiseWidget ()
 
void setStyleSheetFromString (const QString &styleSheetText)
 
void setStyleSheetFromFile (const QString &styleSheetFileName)
 
MLABTreetree ()
 
void updateMaxSize ()
 
bool expandX ()
 
bool expandY ()
 
MLABTreePtr getDefaultTagValues () const
 
virtual bool hasUncommittedChanges () const
 
virtual void applyUncommittedChanges ()
 
virtual void revertUncommittedChanges ()
 
MLABFieldfield () const
 

VTK Style Scripting API

void SetRenderer (vtkRenderer *renderer)
 
void SetInteractorStyle (vtkInteractorObserver *style)
 
vtkInteractorObserver * GetInteractorStyle ()
 
vtkRenderWindowInteractor * GetInteractor ()
 
ML_USED_VTK_ADAPTER_RENDERWINDOW * GetRenderWindow ()
 
void SetRenderWindow (ML_USED_VTK_ADAPTER_RENDERWINDOW *renderWindow)
 
void SetRenderView (vtkRenderViewBase *renderView)
 

Detailed Description

Class to wrap the QVTKWidget into MeVisLab and to show outputs of wrapper modules of vtkRenderers in MeVisLab GUIs.


Member Function Documentation

◆ GetInteractor

vtkRenderWindowInteractor * MLABVTKRenderWidgetControl::GetInteractor ( )
slot

Get the interactor.

◆ GetInteractorStyle

vtkInteractorObserver * MLABVTKRenderWidgetControl::GetInteractorStyle ( )
slot

Get the interactor style.

◆ GetRenderWindow

ML_USED_VTK_ADAPTER_RENDERWINDOW * MLABVTKRenderWidgetControl::GetRenderWindow ( )
slot

Set the render window.

◆ interatorStyle

vtkInteractorObserver * MLABVTKRenderWidgetControl::interatorStyle ( )
slot

Get the current interactor style. Default is a vtkInteractorStyleSwitch with trackball mode.

◆ renderer

vtkRenderer * MLABVTKRenderWidgetControl::renderer ( )
inlineslot

Get currently used renderer.

◆ renderWindow

ML_USED_VTK_ADAPTER_RENDERWINDOW * MLABVTKRenderWidgetControl::renderWindow ( )
slot

Get the render window.

◆ renderWindowInteractor

vtkRenderWindowInteractor * MLABVTKRenderWidgetControl::renderWindowInteractor ( )
slot

Get the vtkRenderWindowInteractor.

◆ setInteractorStyle

void MLABVTKRenderWidgetControl::setInteractorStyle ( vtkInteractorObserver * style)
slot

Set the interactor style that should be used.

◆ SetInteractorStyle

void MLABVTKRenderWidgetControl::SetInteractorStyle ( vtkInteractorObserver * style)
slot

Set the interactor style.

◆ setRenderer

void MLABVTKRenderWidgetControl::setRenderer ( vtkRenderer * renderer)
slot

Set a vtkRenderer via scripting.

◆ SetRenderer

void MLABVTKRenderWidgetControl::SetRenderer ( vtkRenderer * renderer)
slot

Set the renderer.

◆ setRenderView

void MLABVTKRenderWidgetControl::setRenderView ( vtkRenderViewBase * renderView)
slot

Set the render view, this can be used to correctly connect a vtkRenderViewBase derived class like vtkContextView to the viewer.

◆ SetRenderView

void MLABVTKRenderWidgetControl::SetRenderView ( vtkRenderViewBase * renderView)
slot

Set the render view, this can be used to correctly connect a vtkRenderViewBase derived class like vtkContextView to the viewer.

◆ setRenderWindow

void MLABVTKRenderWidgetControl::setRenderWindow ( ML_USED_VTK_ADAPTER_RENDERWINDOW * renderWindow)
slot

Set the render window.

◆ SetRenderWindow

void MLABVTKRenderWidgetControl::SetRenderWindow ( ML_USED_VTK_ADAPTER_RENDERWINDOW * renderWindow)
slot

Set the render window.