ALBA
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
albaGUIDicomSettings Class Reference

#include <albaGUIDicomSettings.h>

Inheritance diagram for albaGUIDicomSettings:
Inheritance graph
[legend]
Collaboration diagram for albaGUIDicomSettings:
Collaboration graph
[legend]

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)
 
albaGUIGetGui ()
 
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

albaGUICheckListBoxm_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
albaGUIm_Gui
 
albaString m_Label
 
wxConfig * m_Config
 
albaObserverm_Listener
 

Friends

class albaGUIDicomSettingsTest
 

Detailed Description

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.

Member Enumeration Documentation

◆ DICOM_SETTINGS_WIDGET_ID

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.

◆ DICOM_STEP

Step IDs.

Enumerator
ID_1X 
ID_2X 
ID_3X 
ID_4X 

Definition at line 67 of file albaGUIDicomSettings.h.

◆ DICOM_CONVERSION

Conversion IDs.

Enumerator
NONE 
mm2m 

Definition at line 76 of file albaGUIDicomSettings.h.

◆ POSITION_EXEPTION_HANDLING

Enumerator
SKIP_ALL 
APPLY_DEFAULT_POSITION 

Definition at line 82 of file albaGUIDicomSettings.h.

◆ OUTPUT_TYPES

Enumerator
VOLUME_TYPE 
IMAGE_TYPE 

Definition at line 88 of file albaGUIDicomSettings.h.

◆ NAME_COMPOSITOR

Enumerator
ID_DESCRIPTION 
ID_PATIENT_NAME 
ID_BIRTHDATE 
ID_NUM_SLICES 
ID_SERIES 

Definition at line 94 of file albaGUIDicomSettings.h.

Constructor & Destructor Documentation

◆ albaGUIDicomSettings()

albaGUIDicomSettings::albaGUIDicomSettings ( albaObserver Listener,
const albaString label = _("Dicom") 
)

constructor.

◆ ~albaGUIDicomSettings()

albaGUIDicomSettings::~albaGUIDicomSettings ( )

destructor.

Member Function Documentation

◆ OnEvent()

void albaGUIDicomSettings::OnEvent ( albaEventBase alba_event)
virtual

Answer to the messages coming from interface.

Reimplemented from albaGUISettings.

◆ GetBuildStep()

int albaGUIDicomSettings::GetBuildStep ( )
inline

Retrieve the build step.

Definition at line 107 of file albaGUIDicomSettings.h.

◆ SetLastDicomDir()

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

◆ GetLastDicomDir()

wxString albaGUIDicomSettings::GetLastDicomDir ( )
inline

Definition at line 112 of file albaGUIDicomSettings.h.

◆ GetEnabledCustomName()

int albaGUIDicomSettings::GetEnabledCustomName ( enum NAME_COMPOSITOR  type)

Return if an element of custom name check list is checked.

◆ GetDCMImagePositionPatientExceptionHandling()

int albaGUIDicomSettings::GetDCMImagePositionPatientExceptionHandling ( )
inline

Return the DCM_ImagePositionPatient choice.

Definition at line 118 of file albaGUIDicomSettings.h.

◆ SetDCMImagePositionPatientExceptionHandling()

void albaGUIDicomSettings::SetDCMImagePositionPatientExceptionHandling ( int  choice)
inline

Sets the DCM_ImagePositionPatient choice.

Definition at line 121 of file albaGUIDicomSettings.h.

◆ GetSkipCrop()

int albaGUIDicomSettings::GetSkipCrop ( ) const
inline

Returns SkipCrop.

Definition at line 124 of file albaGUIDicomSettings.h.

◆ SetSkipCrop()

void albaGUIDicomSettings::SetSkipCrop ( int  skipCrop)
inline

Sets SkipCrop.

Definition at line 127 of file albaGUIDicomSettings.h.

◆ GetAutoVMEType()

int albaGUIDicomSettings::GetAutoVMEType ( ) const
inline

Returns AutoVMEType.

Definition at line 130 of file albaGUIDicomSettings.h.

◆ SetAutoVMEType()

void albaGUIDicomSettings::SetAutoVMEType ( int  autoVMEType)
inline

Sets AutoVMEType.

Definition at line 133 of file albaGUIDicomSettings.h.

◆ GetAutoResample()

int albaGUIDicomSettings::GetAutoResample ( ) const
inline

Returns AutoVMEType.

Definition at line 136 of file albaGUIDicomSettings.h.

◆ SetAutoResample()

void albaGUIDicomSettings::SetAutoResample ( int  autoResample)
inline

Sets AutoVMEType.

Definition at line 139 of file albaGUIDicomSettings.h.

◆ GetOutputType()

int albaGUIDicomSettings::GetOutputType ( ) const
inline

Returns OutputType.

Definition at line 142 of file albaGUIDicomSettings.h.

◆ SetOutputType()

void albaGUIDicomSettings::SetOutputType ( int  outputType)
inline

Sets OutputType.

Definition at line 145 of file albaGUIDicomSettings.h.

◆ CreateGui()

void albaGUIDicomSettings::CreateGui ( )
protectedvirtual

Create the GUI for the setting panel.

Reimplemented from albaGUISettings.

◆ InitializeSettings()

void albaGUIDicomSettings::InitializeSettings ( )
protectedvirtual

Initialize the application settings.

Reimplemented from albaGUISettings.

◆ EnableItems()

void albaGUIDicomSettings::EnableItems ( )
protected

Used to enable/disable items according to the current widgets state.

Friends And Related Function Documentation

◆ albaGUIDicomSettingsTest

friend class albaGUIDicomSettingsTest
friend

Definition at line 171 of file albaGUIDicomSettings.h.

Member Data Documentation

◆ m_DicomModalityListBox

albaGUICheckListBox* albaGUIDicomSettings::m_DicomModalityListBox
protected

Definition at line 158 of file albaGUIDicomSettings.h.

◆ m_CheckNameCompositor

int albaGUIDicomSettings::m_CheckNameCompositor[5]
protected

Definition at line 160 of file albaGUIDicomSettings.h.

◆ m_OutputType

int albaGUIDicomSettings::m_OutputType
protected

Definition at line 162 of file albaGUIDicomSettings.h.

◆ m_Step

int albaGUIDicomSettings::m_Step
protected

Definition at line 164 of file albaGUIDicomSettings.h.

◆ m_AutoVMEType

int albaGUIDicomSettings::m_AutoVMEType
protected

Definition at line 165 of file albaGUIDicomSettings.h.

◆ m_AutoResample

int albaGUIDicomSettings::m_AutoResample
protected

Definition at line 166 of file albaGUIDicomSettings.h.

◆ m_SkipCrop

int albaGUIDicomSettings::m_SkipCrop
protected

Definition at line 167 of file albaGUIDicomSettings.h.

◆ m_LastDicomDir

wxString albaGUIDicomSettings::m_LastDicomDir
protected

Definition at line 168 of file albaGUIDicomSettings.h.

◆ m_DCM_ImagePositionPatientchoice

int albaGUIDicomSettings::m_DCM_ImagePositionPatientchoice
protected

Definition at line 169 of file albaGUIDicomSettings.h.


The documentation for this class was generated from the following file: