MeVisLab Scripting Reference
DicomImportResultWrapper Class Reference

#include <DicomImportResultWrapper.h>

Inherits MLRefCountedBaseWrapper.

Public Slots

QList< quint64 > imageIds () const
 
bool isValidImage (quint64 id) const
 
QList< int > extent (quint64 id) const
 
MLABDicomTreedicomTree (quint64 id) const
 
QStringList filePaths (quint64 id) const
 

Detailed Description

A class that wraps DicomImportResult objects.

Member Function Documentation

◆ dicomTree

MLABDicomTree * DicomImportResultWrapper::dicomTree ( quint64 id) const
slot

Get Dicom tree of volume, nullptr if the id was invalid.

◆ extent

QList< int > DicomImportResultWrapper::extent ( quint64 id) const
slot

Get extent of volume image (if it is a valid image), empty tuple otherwise.

◆ filePaths

QStringList DicomImportResultWrapper::filePaths ( quint64 id) const
slot

Get file paths of the image. Empty list if the id was invalid.

◆ imageIds

QList< quint64 > DicomImportResultWrapper::imageIds ( ) const
slot

unique image ids of the imported data. Those must be used to address the images!

◆ isValidImage

bool DicomImportResultWrapper::isValidImage ( quint64 id) const
slot

Returns true if the provided id belongs to a valid image.