| 
    MeVisLab Scripting Reference
    
   | 
 
#include <mlStandardTransformationProviderWrapper.h>
Inherits MLTransformationProviderWrapper.
Public Slots | |
| void | clear () | 
| void | registerTransformation (const QVariantMap &fromRef, const QVariantMap &toRef, const MLAbstractTransformationWrapper *transformation, bool setInverseToo) | 
  Public Slots inherited from MLTransformationProviderWrapper | |
| TransformationProviderMappingPathWrapper * | createEmptyMappingPath () | 
| MLAbstractTransformationWrapper * | getTransformation (const QVariantMap &fromRef, const QVariantMap &toRef, TransformationProviderMappingPathWrapper *mappingPath=nullptr) | 
| bool | isSameImage (const QVariantMap &ref1, const QVariantMap &ref2) | 
Additional Inherited Members | |
  Signals inherited from MLTransformationProviderWrapper | |
| void | transformationsChanged (TransformationChangedEventWrapper *changeEvent) | 
This class wraps the class ml::StandardTransformationProvider.
This is the wrapper for an implementation of ml::TransformationProvider that stores a graph of transformations betweens coordinate system nodes and on request looks for a path between coordinate systems.
This implementation performs an exhaustive search in the graph and returns the first path found in the graph through a transformation combining the single transformations of the path. If no exact path can be found, None is returned instead.
An object of this class can be generated from scripting with
      
  | 
  slot | 
Clears all previously registered transformations.
      
  | 
  slot | 
Registers a new transformation between coordinate systems fromRef and toRef. 
(For a description of these parameters see the class description of MLTransformationProviderWrapper).
| fromRef | Source coordinate system. | 
| toRef | Target coordinate system. | 
| transformation | Can be None, in this case any previous transformation between fromRef and toRef will be removed. | 
| setInverseToo | If set, the transformation is also set in the counter direction, i.e., between toRef and fromRef (but only if transformation is not None and transformation.getInverse() returns a valid transformation; otherwise, any previous transformation is just removed).  |