|
MeVisLab Scripting Reference
|
#include <mlSkeletonWrapper.h>
Inherits MLPropertyContainerWrapper.
Public Slots | |
| virtual void | copyProperties (MLSkeletonWrapper *skeleton) |
| QList< double > | position () const |
| double | label () const |
| QList< float > | getRGBA () const |
| void | setRGBA (float r, float g, float b, float a) |
| size_t | numVesselPositions () |
| QVariant | vesselPosition (size_t index) |
| void | clearVesselPositions () |
| void | addVesselPosition (const QVariantList &voxelPosition) |
| Public Slots inherited from MLPropertyContainerWrapper | |
| virtual void | copyProperties (QObject *wrapper) |
| QVariantMap | getProperties () |
| QVariant | getProperty (const QString &name) |
| void | setProperty (const QString &name, QVariant value) |
| size_t | getPropertyIndex (const QString &name) |
| QVariant | getProperty (size_t index) |
| void | setProperty (size_t index, QVariant value) |
| size_t | createPropertyDouble (const QString &name, double defaultValue) |
| size_t | createPropertyUInt8 (const QString &name, long defaultValue) |
| size_t | createPropertyInt32 (const QString &name, long defaultValue) |
| size_t | createPropertyVector3 (const QString &name, QVariantList pos) |
| void | removeProperty (const QString &name) |
Additional Inherited Members | |
| Properties inherited from MLPropertyContainerWrapper | |
| QVariantMap | properties |
A class that wraps Skeleton objects for use in scripting. Skeletons represent the center-line voxels of an edge.
|
inlineslot |
Adds a vessel position.
References position().
|
inlineslot |
Clears all vessel positions.
|
virtualslot |
Copies all properties from the given skeleton object.
|
slot |
Returns the RGBA color of the skeleton.
|
slot |
Returns the label of the skeleton.
|
inlineslot |
Returns the number of voxels associated with this skeleton object. (Vessel voxels in a cross section perpendicular to the skeleton.)
|
slot |
Returns the position of the skeleton centerline voxel (as [x, y, z]).
Referenced by addVesselPosition().
|
slot |
Sets the RGBA color of the skeleton.
|
inlineslot |
Returns the position (as [x, y, z]) of the n-th voxel associated with this skeleton object.