MeVisLab Scripting Reference
|
#include <mlAbstractTransformationWrapper.h>
Inherits MLRefCountedBaseWrapper.
Public Slots | |
Access methods | |
| |
bool | isAffineTransformation () const |
QVariant | getAffineTransformation () const |
QVariant | transformPoint (const QVariant &point3D) const |
bool | hasInverse () const |
MLAbstractTransformationWrapper * | getInverse () const |
This class wraps the class ml::AbstractTransformation.
This abstract class maps 3D points from one coordinate system to another.
This is just an abstract interface. You can create instances of this class from scripting by calling
to create special identity transformation or
to create an affine transformation. matrix must be a 4x4 matrix (i.e. a list of four lists of four numbers each).
|
slot |
Returns the 4x4 matrix that represents this transformation.
|
slot |
Returns a back-transformation if it exists, None otherwise.
|
slot |
Returns whether there exists a back-transformation.
Note that it may be equally expensive to just ask for back-transformation itself, depending on the implementation.
|
slot |
Returns whether the transformation can be represented by a 4x4 matrix.
|
slot |
Maps a 3D point into the target coordinate system.
This routine expects a list of 3 numbers as argument.