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_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 } |
enum | OUTPUT_TYPES { VOLUME_TYPE , IMAGE_TYPE } |
enum | NAME_COMPOSITOR { ID_DESCRIPTION , ID_PATIENT_NAME , ID_BIRTHDATE , ID_NUM_SLICES , ID_SERIES } |
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 | 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) |
Public Member Functions inherited from albaGUISettings | |
albaGUISettings (albaObserver *Listener, const albaString &label=_("Settings")) | |
~albaGUISettings () | |
virtual void | OnEvent (albaEventBase *alba_event) |
void | SetListener (albaObserver *Listener) |
albaGUI * | GetGui () |
const char * | GetLabel () |
Public Member Functions inherited from albaObserver | |
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 |
Protected Attributes inherited from albaGUISettings | |
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.
Enumerator | |
---|---|
ID_DICTONARY | |
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_SKIP_CROP | |
ID_SKIP_NAMING |
Definition at line 51 of file albaGUIDicomSettings.h.
Enumerator | |
---|---|
SKIP_ALL | |
APPLY_DEFAULT_POSITION |
Definition at line 82 of file albaGUIDicomSettings.h.
Enumerator | |
---|---|
VOLUME_TYPE | |
IMAGE_TYPE |
Definition at line 88 of file albaGUIDicomSettings.h.
Enumerator | |
---|---|
ID_DESCRIPTION | |
ID_PATIENT_NAME | |
ID_BIRTHDATE | |
ID_NUM_SLICES | |
ID_SERIES |
Definition at line 94 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 107 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 112 of file albaGUIDicomSettings.h.
int albaGUIDicomSettings::GetEnabledCustomName | ( | enum NAME_COMPOSITOR | type | ) |
Return if an element of custom name check list is checked.
|
inline |
Return the DCM_ImagePositionPatient choice.
Definition at line 118 of file albaGUIDicomSettings.h.
|
inline |
Sets the DCM_ImagePositionPatient choice.
Definition at line 121 of file albaGUIDicomSettings.h.
|
inline |
Returns SkipCrop.
Definition at line 124 of file albaGUIDicomSettings.h.
|
inline |
Sets SkipCrop.
Definition at line 127 of file albaGUIDicomSettings.h.
|
inline |
Returns AutoVMEType.
Definition at line 130 of file albaGUIDicomSettings.h.
|
inline |
Sets AutoVMEType.
Definition at line 133 of file albaGUIDicomSettings.h.
|
inline |
Returns AutoVMEType.
Definition at line 136 of file albaGUIDicomSettings.h.
|
inline |
Sets AutoVMEType.
Definition at line 139 of file albaGUIDicomSettings.h.
|
inline |
Returns OutputType.
Definition at line 142 of file albaGUIDicomSettings.h.
|
inline |
Sets OutputType.
Definition at line 145 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 171 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 158 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 160 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 162 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 164 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 165 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 166 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 167 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 168 of file albaGUIDicomSettings.h.
|
protected |
Definition at line 169 of file albaGUIDicomSettings.h.