ALBA
|
#include <albaGUIDicomSettings.h>
Public Types | |
enum | DICOM_SETTINGS_WIDGET_ID { ID_DICTONARY = MINID , ID_TYPE_DICOM , ID_STEP , ID_CONVERT_UNITS , ID_AUTO_VME_TYPE , ID_SETTING_VME_TYPE , ID_AUTORESAMPLE_OUTPUT , ID_DCM_POSITION_PATIENT_CHOICE , ID_ACQUISITION_NUMBER_STRATEGY_CHOICE , ID_SKIP_CROP , ID_SKIP_NAMING } |
enum | DICOM_STEP { ID_1X = 0 , ID_2X , ID_3X , ID_4X } |
enum | DICOM_CONVERSION { NONE = 0 , mm2m } |
enum | POSITION_EXEPTION_HANDLING { SKIP_ALL , APPLY_DEFAULT_POSITION , ASK_USER_FOR_POSITION_HANDLING } |
enum | OUTPUT_TYPES { VOLUME_TYPE , IMAGE_TYPE } |
enum | NAME_COMPOSITOR { ID_DESCRIPTION , ID_PATIENT_NAME , ID_BIRTHDATE , ID_NUM_SLICES , ID_SERIES } |
enum | ACQUISITION_NUMBER { MERGE_DIFFERNT_ACQUISITION_NUMBER , SPLIT_DIFFERNT_ACQUISITION_NUMBER , ASK_STRATEGY_TO_THE_USER } |
Public Member Functions | |
albaGUIDicomSettings (albaObserver *Listener, const albaString &label=_("Dicom")) | |
~albaGUIDicomSettings () | |
void | OnEvent (albaEventBase *alba_event) |
int | GetBuildStep () |
void | SetLastDicomDir (wxString lastDicomDir) |
wxString | GetLastDicomDir () |
int | GetEnabledCustomName (enum NAME_COMPOSITOR type) |
int | GetAcquisitionNumberStrategy () |
void | SetAcquisitionNumberStrategy (int strategy) |
int | GetDCMImagePositionPatientExceptionHandling () |
void | SetDCMImagePositionPatientExceptionHandling (int choice) |
int | GetSkipCrop () const |
void | SetSkipCrop (int skipCrop) |
int | GetAutoVMEType () const |
void | SetAutoVMEType (int autoVMEType) |
int | GetAutoResample () const |
void | SetAutoResample (int autoResample) |
int | GetOutputType () const |
void | SetOutputType (int outputType) |
![]() | |
albaGUISettings (albaObserver *Listener, const albaString &label=_("Settings")) | |
~albaGUISettings () | |
virtual void | OnEvent (albaEventBase *alba_event) |
void | SetListener (albaObserver *Listener) |
albaGUI * | GetGui () |
const char * | GetLabel () |
![]() | |
albaObserver () | |
virtual | ~albaObserver () |
virtual void | OnEvent (albaEventBase *e)=0 |
Protected Member Functions | |
void | CreateGui () |
void | InitializeSettings () |
void | EnableItems () |
virtual void | CreateGui () |
virtual void | InitializeSettings () |
Protected Attributes | |
albaGUICheckListBox * | m_DicomModalityListBox |
int | m_CheckNameCompositor [5] |
int | m_OutputType |
int | m_Step |
int | m_AutoVMEType |
int | m_AutoResample |
int | m_SkipCrop |
wxString | m_LastDicomDir |
int | m_DCM_ImagePositionPatientchoice |
int | m_AcquisitionNumberStrategy |
![]() | |
albaGUI * | m_Gui |
albaString | m_Label |
wxConfig * | m_Config |
albaObserver * | m_Listener |
Friends | |
class | albaGUIDicomSettingsTest |
Class Name : albaGUIDicomSettings.
Class that contain specific variables regard DICOM, that can be changed from Application Settings, in GUI.
Definition at line 42 of file albaGUIDicomSettings.h.
GUI IDs.
Definition at line 51 of file albaGUIDicomSettings.h.
Enumerator | |
---|---|
SKIP_ALL | |
APPLY_DEFAULT_POSITION | |
ASK_USER_FOR_POSITION_HANDLING |
Definition at line 83 of file albaGUIDicomSettings.h.
Enumerator | |
---|---|
VOLUME_TYPE | |
IMAGE_TYPE |
Definition at line 90 of file albaGUIDicomSettings.h.
Enumerator | |
---|---|
ID_DESCRIPTION | |
ID_PATIENT_NAME | |
ID_BIRTHDATE | |
ID_NUM_SLICES | |
ID_SERIES |
Definition at line 96 of file albaGUIDicomSettings.h.
Enumerator | |
---|---|
MERGE_DIFFERNT_ACQUISITION_NUMBER | |
SPLIT_DIFFERNT_ACQUISITION_NUMBER | |
ASK_STRATEGY_TO_THE_USER |
Definition at line 105 of file albaGUIDicomSettings.h.
albaGUIDicomSettings::albaGUIDicomSettings | ( | albaObserver * | Listener, |
const albaString & | label = _("Dicom") |
||
) |
constructor.
albaGUIDicomSettings::~albaGUIDicomSettings | ( | ) |
destructor.
|
virtual |
Answer to the messages coming from interface.
Reimplemented from albaGUISettings.
|
inline |
Retrieve the build step.
Definition at line 116 of file albaGUIDicomSettings.h.
void albaGUIDicomSettings::SetLastDicomDir | ( | wxString | lastDicomDir | ) |
Helper function to store and retrieve the last Dicom dir opened.
Helper function to store and retrieve the last dicom dir opened
|
inline |
Definition at line 121 of file albaGUIDicomSettings.h.
int albaGUIDicomSettings::GetEnabledCustomName | ( | enum NAME_COMPOSITOR | type | ) |
Return if an element of custom name check list is checked.
int albaGUIDicomSettings::GetAcquisitionNumberStrategy | ( | ) |
Return the merge/split strategy for series with the same series ID and different acquisition number.
|
inline |
Return the merge/split strategy for series with the same series ID and different acquisition number.
Definition at line 130 of file albaGUIDicomSettings.h.
int albaGUIDicomSettings::GetDCMImagePositionPatientExceptionHandling | ( | ) |
Return the DCM_ImagePositionPatient choice.
|
inline |
Sets the DCM_ImagePositionPatient choice.
Definition at line 136 of file albaGUIDicomSettings.h.
|
inline |
Returns SkipCrop.
Definition at line 139 of file albaGUIDicomSettings.h.
|
inline |
Sets SkipCrop.
Definition at line 142 of file albaGUIDicomSettings.h.
|
inline |
Returns AutoVMEType.
Definition at line 145 of file albaGUIDicomSettings.h.
|
inline |
Sets AutoVMEType.
Definition at line 148 of file albaGUIDicomSettings.h.
|
inline |
Returns AutoVMEType.
Definition at line 151 of file albaGUIDicomSettings.h.
|
inline |
Sets AutoVMEType.
Definition at line 154 of file albaGUIDicomSettings.h.
|
inline |
Returns OutputType.
Definition at line 157 of file albaGUIDicomSettings.h.
|
inline |
Sets OutputType.
Definition at line 160 of file albaGUIDicomSettings.h.
|
protectedvirtual |
Create the GUI for the setting panel.
Reimplemented from albaGUISettings.
|
protectedvirtual |
Initialize the application settings.
Reimplemented from albaGUISettings.
|
protected |
Used to enable/disable items according to the current widgets state.
|
friend |
Definition at line 187 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 173 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 175 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 177 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 179 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 180 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 181 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 182 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 183 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 184 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 185 of file albaGUIDicomSettings.h.