IMHOTEP Framework
|
Public Member Functions | |
bool | setDirectory (string path) |
void | parseDirectory (object sender, DoWorkEventArgs e) |
void | parseDirectoryCallback (object sender, RunWorkerCompletedEventArgs e) |
bool | startLoading (DICOMSeries toLoad, int slice=0) |
bool | startLoadingSlice (int index, int slice=0) |
bool | startLoadingSlice (string seriesUID, int slice=0) |
bool | startLoadingVolume (DICOMSeries toLoad) |
bool | startLoadingVolume (int index) |
bool | startLoadingVolume (string seriesUID) |
void | load (object sender, DoWorkEventArgs e) |
void | loadCallback (object sender, RunWorkerCompletedEventArgs e) |
void | Update () |
void | unloadVolume () |
Properties | |
static DICOMLoader | instance [get, set] |
DICOM2D | currentDICOM [get, set] |
DICOM3D | currentDICOMVolume [get, set] |
DICOMSeries | currentDICOMSeries [get, set] |
bool | isBusy [get, set] |
List< DICOMSeries > | availableSeries [get, set] |
Searches given directories for DICOMs and loads them (all in seperate threads). Usage: Set a directory using setDirectory. Once the directory has been parsed, a PatientEventSystem.Event.DICOM_NewList Event is triggered. Now, you can load one of the series given by DICOMLoader.availableSeries to load a DICOM, by calling the startLoading function. Once the loading process is finished, access the loaded DICOM through DICOMLoader.currentDICOM.
Definition at line 15 of file DICOMLoader.cs.
|
inline |
Loads a DICOM. Called in thread!
Definition at line 212 of file DICOMLoader.cs.
|
inline |
Called when loader has finished parsing a directory.
Definition at line 227 of file DICOMLoader.cs.
|
inline |
Searches the directoryToLoad for DICOMs. Called in thread!
Definition at line 88 of file DICOMLoader.cs.
|
inline |
Called when loader has finished parsing a directory.
Definition at line 114 of file DICOMLoader.cs.
|
inline |
Starts searching the given path for DICOMs.
Definition at line 66 of file DICOMLoader.cs.
|
inline |
Starts loading the given DICOM, if available.
Definition at line 127 of file DICOMLoader.cs.
|
inline |
Starts loading the given DICOM slice, if available (overload for convenience)
Definition at line 156 of file DICOMLoader.cs.
|
inline |
Starts loading the given DICOM slice, if available (overload for convenience)
Definition at line 167 of file DICOMLoader.cs.
|
inline |
Starts loading the given DICOM volume, if available.
Definition at line 179 of file DICOMLoader.cs.
|
inline |
Starts loading the given DICOM volume, if available (overload for convenience)
Definition at line 187 of file DICOMLoader.cs.
|
inline |
Starts loading the given DICOM volume, if available (overload for convenience)
Definition at line 198 of file DICOMLoader.cs.
|
inline |
Can be called to unload the current volume. Assuming that all other users correctly respond to DICOM_CloseVolume event, the memory should be freed.
Definition at line 266 of file DICOMLoader.cs.
|
getset |
The DICOM slice which has been loaded
Definition at line 21 of file DICOMLoader.cs.
|
getset |
The DICOM series which has been loaded
Definition at line 25 of file DICOMLoader.cs.
|
getset |
The DICOM volume which has been loaded
Definition at line 23 of file DICOMLoader.cs.
|
staticgetset |
The singleton instance of the loader (for easier access)
Definition at line 18 of file DICOMLoader.cs.
|
getset |
Can be used to check if the loader is currently working on something.
Definition at line 28 of file DICOMLoader.cs.