MeVisLab Scripting Reference
|
#include <mlSelectedClustersWrapper.h>
Inherits QObject.
Public Slots | |
MLuint | getNumClusters () const |
MLuint | getNumSelectedClusters () const |
MLuint | getMinRankOfSelectedClusters () const |
MLuint | getMaxRankOfSelectedClusters () const |
QList< MLdouble > | getAllSelectedClustersBoundingBoxMin () const |
QList< MLdouble > | getAllSelectedClustersBoundingBoxMax () const |
bool | isUsing2DNeighborhood () const |
MLuint | getMaxClusterSizeInVoxel () const |
MLdouble | getVoxelVolumeInMilliliters () const |
QList< MLuint > | getImageExtent () const |
QList< MLuint > | getPageExtent () const |
QList< MLdouble > | getVoxelToWorldMatrix () const |
QList< MLdouble > | getWorldToVoxelMatrix () const |
QList< MLuint > | ranks () const |
QList< MLuint > | selectedRanks () const |
bool | isSelectedAtRank (MLuint rank) const |
void | deselectAllClusters () |
void | setSelectedAtRank (MLuint rank, bool selectionState=true) |
void | setSelectedAtRanks (QList< MLuint > ranksToSelect) |
void | setSelectedAtPosition (QList< MLint > voxelCoordinate) |
MLuint | getRankAtPosition (QList< MLint > voxelCoordinate) const |
QList< MLdouble > | getBoundingBoxMinAtRank (MLuint rank) const |
QList< MLdouble > | getBoundingBoxMaxAtRank (MLuint rank) const |
MLuint | getNumVoxelsAtRank (MLuint rank) const |
MLdouble | getUserDataAtRank (MLuint rank) const |
void | setUserDataAtRank (MLuint rank, MLdouble userData) |
Access the clusters generated with the ComputeConnectedComponents module.
|
slot |
Deselects all clusters.
|
slot |
Returns the max bounding box of all selected clusters.
Is -1, -1, -1 if no cluster is selected.
|
slot |
Returns the min bounding box of all selected clusters.
Is -1, -1, -1 if no cluster is selected.
|
slot |
Returns the max bounding box of the cluster with the given rank.
|
slot |
Returns the min bounding box of the cluster with the given rank.
|
slot |
Returns the original image's extent.
|
slot |
Returns the number of voxels in the largest cluster.
|
slot |
Returns the maximum rank of all selected clusters and 0 if no cluster is selected.
|
slot |
Returns the minimum rank of all selected clusters and 0 if no cluster is selected.
|
slot |
Returns the number of clusters excluding the background cluster.
|
slot |
Returns the number of currently selected clusters.
|
slot |
Returns the number of voxels of the cluster with the given rank.
|
slot |
Returns the original image's page extent.
|
slot |
Returns the rank of the cluster at the given position.
Returns 0 for the background cluster.
|
slot |
Returns the user data value of the cluster at the given rank.
|
slot |
Returns the voxel-to-world matrix of the original image.
|
slot |
Returns the volume of a single voxel in ml.
|
slot |
Returns the world-to-voxel matrix of the original image.
|
slot |
Returns whether the cluster at the given rank is selected.
Note that the background cluster is always rank 0 and is never selected.
|
slot |
Returns whether a 2D neighborhood was used during the analysis.
|
slot |
Returns a list of ranks of all clusters.
|
slot |
Returns a list of ranks of all selected clusters.
|
slot |
Sets the cluster at the given position selected.
Note that the background cannot be selected.
|
slot |
Sets the selection state of the cluster at the given rank.
Note that the background cluster is always rank 0 and cannot be selected.
|
slot |
Selects the clusters at the given ranks.
|
slot |
Sets the user data value of the cluster at the given rank.