MeVisLab Scripting Reference
TransformationChangedEventWrapper Class Reference

Inherits QObject.

Public Slots

QVariant updateTransformation (const QVariantMap &fromRef, const QVariantMap &toRef, TransformationProviderMappingPathWrapper *mappingPath)
 

Detailed Description

This class wraps the class ml::TransformationChangedEvent.

Member Function Documentation

◆ updateTransformation

QVariant TransformationChangedEventWrapper::updateTransformation ( const QVariantMap &  fromRef,
const QVariantMap &  toRef,
TransformationProviderMappingPathWrapper mappingPath 
)
slot

Update a transformation that was previously obtained with getTransformation.

Besides the fromRef and toRef parameters that were used in the original getTransformation call you must also provide a mappingPath that was filled by the getTransformation call. mappingPath will be updated to the new state.

The call returns a pair of the new (or old) transformation and a boolean flag if the transformation has changed (True) or not (False).