#include <mlSkeletonWrapper.h>
Inherits MLPropertyContainerWrapper.
A class that wraps Skeleton objects for use in scripting.
Skeletons represent the center-line voxels of an edge.
◆ addVesselPosition
| void MLSkeletonWrapper::addVesselPosition |
( |
const QVariantList & |
voxelPosition | ) |
|
|
inlineslot |
◆ clearVesselPositions
| void MLSkeletonWrapper::clearVesselPositions |
( |
| ) |
|
|
inlineslot |
Clears all vessel positions.
◆ copyProperties
Copies all properties from the given skeleton object.
◆ getRGBA
| QList< float > MLSkeletonWrapper::getRGBA |
( |
| ) |
const |
|
slot |
Returns the RGBA color of the skeleton.
◆ label
| double MLSkeletonWrapper::label |
( |
| ) |
const |
|
slot |
Returns the label of the skeleton.
◆ numVesselPositions
| size_t MLSkeletonWrapper::numVesselPositions |
( |
| ) |
|
|
inlineslot |
Returns the number of voxels associated with this skeleton object.
(Vessel voxels in a cross section perpendicular to the skeleton.)
◆ position
| QList< double > MLSkeletonWrapper::position |
( |
| ) |
const |
|
slot |
Returns the position of the skeleton centerline voxel (as [x, y, z]).
◆ setRGBA
| void MLSkeletonWrapper::setRGBA |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
slot |
Sets the RGBA color of the skeleton.
◆ vesselPosition
| QVariant MLSkeletonWrapper::vesselPosition |
( |
size_t |
index | ) |
|
|
inlineslot |
Returns the position (as [x, y, z]) of the n-th voxel associated with this skeleton object.