|
MeVisLab Scripting Reference
|
#include <mlXMarkerListWrapper.h>
Public Slots | |
| QList< MLXMarkerWrapper * > | getMarkers () |
| MLXMarkerWrapper * | getMarker (int position) |
| QVariant | getMarkerPositions3DAsNumPyArray () |
| QVariant | getMarkerPositions6DAsNumPyArray () |
| QVariant | getMarkerVecsAsNumPyArray () |
| QVariant | getMarkerTypesAsNumPyArray () |
| QVariant | getMarkerIdsAsNumPyArray () |
| void | addMarkersFromNumPyArray (PyObject *positions, PyObject *types=nullptr, PyObject *vecs=nullptr) |
| void | add (QVariantList pos, QVariantList vec, int type, int position=-1) |
| void | remove (int position) |
| void | clear () |
| int | getCurrentIndex () |
| int | size () const |
| QVariantMap | calculatePCA () const |
A class that wraps XMarkerList objects for use in Python.
|
slot |
Adds a new marker.
|
slot |
Adds markers from NumPy arrays. Positions can be a list of 3D or 6D double values. Types specifies the optional marker types as 1D integer array or as a single integer value. Vecs specifies the optional direction vectors as 3D double array.
|
slot |
Calculates the main axes using PCA. Returns a dictionary with the following values:
|
slot |
Removes all markers.
|
slot |
Returns the current index, i.e., the index of the 'selected' marker.
|
slot |
Returns the marker at the position position.
|
slot |
Returns the ID of the markers as a NumPy array of type int64.
|
slot |
Returns an array of 3D marker positions of type float64.
|
slot |
Returns an array of 6D marker positions (x,y,z,c,t,u) of type float64.
|
slot |
Returns the markers of the list.
|
slot |
Returns the type of the markers as a NumPy array of type int32.
|
slot |
Returns an array of marker "vec" 3D component of type float64.
|
slot |
Removes a marker at position position.
|
inlineslot |
Returns the size of the list.