MeVisLab Scripting Reference
MLRemoteRenderingWrapper Class Reference

#include <mlRemoteRenderingWrapper.h>

Inherits QObject.

Public Slots

Scripting access


MLRemoteRenderingSlaveWrapperaddSlave ()
 
MLRemoteRenderingWebChannelSlaveWrapperaddWebChannelSlave ()
 
void removeSlave (QObject *slave)
 
QList< QSize > currentRenderSizes () const
 
QSize lastRenderedSize () const
 

Detailed Description

Script wrapper for RemoteRendering interface Typically one adds a slave via addSlave() and then talks to the slave.

Member Function Documentation

◆ addSlave

MLRemoteRenderingSlaveWrapper * MLRemoteRenderingWrapper::addSlave ( )
slot

Creates a new slave and attaches it.

◆ addWebChannelSlave

MLRemoteRenderingWebChannelSlaveWrapper * MLRemoteRenderingWrapper::addWebChannelSlave ( )
slot

Create a new remote rendering slave for use with a WebEngineView.

◆ currentRenderSizes

QList< QSize > MLRemoteRenderingWrapper::currentRenderSizes ( ) const
slot

Return the last requested render sizes of all slaves registered with this object (in the order in which the slaves were added).

◆ lastRenderedSize

QSize MLRemoteRenderingWrapper::lastRenderedSize ( ) const
slot

The size of the last image that has been sent to a slave.

◆ removeSlave

void MLRemoteRenderingWrapper::removeSlave ( QObject * slave)
slot

Removes the slave again. This also deletes the slave.