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

#include <albaGUIWizardPageNew.h>

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

Public Member Functions

 albaGUIWizardPageNew (albaGUIWizard *wizardParent, long style=albaWIZARDUSEGUI|albaWIZARDUSERWI, bool ZCrop=false, wxString label="")
 
virtual ~albaGUIWizardPageNew ()
 
void SetListener (albaObserver *Listener)
 
void OnEvent (albaEventBase *alba_event)
 
void AddGuiLowerLeft (albaGUI *gui)
 
void AddGuiLowerRight (albaGUI *gui)
 
void AddGuiLowerCenter (albaGUI *gui)
 
void AddGuiLowerUnderLeft (albaGUI *gui)
 
void AddGuiLowerUnderCenter (albaGUI *gui)
 
void RemoveGuiLowerLeft (albaGUI *gui)
 
void RemoveGuiLowerUnderLeft (albaGUI *gui)
 
void RemoveGuiLowerCenter (albaGUI *gui)
 
void SetNextPage (albaGUIWizardPageNew *nextPage)
 
void SetZCropBounds (double ZMin=0, double ZMax=1)
 
void GetZCropBounds (double ZCropBpunds[2])
 
void UpdateWindowing ()
 
void UpdateWindowing (double *scalarRange, double *scalarSubRange)
 
void GetWindowing (double *scalarRange, double *scalarSubRange)
 
void UpdateActor ()
 
albaRWIGetRWI ()
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Public Attributes

albaObserverm_Listener
 

Protected Attributes

wxBoxSizer * m_GUISizer
 
wxBoxSizer * m_GUIUnderSizer
 
wxBoxSizer * m_LUTSizer
 
wxBoxSizer * m_RwiSizer
 
wxBoxSizer * m_SizerAll
 
albaRWIm_Rwi
 
albaGUIm_GuiLowerLeft
 
albaGUIm_GuiLowerCenter
 
albaGUIm_GuiLowerUnderCenter
 
albaGUIm_GuiLowerUnderLeft
 
albaGUIm_GuiView
 
albaGUILutSliderm_LutSlider
 
albaGUILutSliderm_ZCropSlider
 
vtkLookupTable * m_ColorLUT
 
bool m_ZCropOn
 

Friends

class albaGUIWizardPageNewTest
 

Detailed Description

Class Name: albaGUIWizardPageNew.

This class is the simplest possible albaGUIWizard implementation. Add gui in panel positions:

Definition at line 59 of file albaGUIWizardPageNew.h.

Constructor & Destructor Documentation

◆ albaGUIWizardPageNew()

albaGUIWizardPageNew::albaGUIWizardPageNew ( albaGUIWizard wizardParent,
long  style = albaWIZARDUSEGUI|albaWIZARDUSERWI,
bool  ZCrop = false,
wxString  label = "" 
)

construct.

◆ ~albaGUIWizardPageNew()

virtual albaGUIWizardPageNew::~albaGUIWizardPageNew ( )
virtual

destructor.

Member Function Documentation

◆ SetListener()

void albaGUIWizardPageNew::SetListener ( albaObserver Listener)
inline

Set the Listener that will receive event-notification.

Definition at line 67 of file albaGUIWizardPageNew.h.

◆ OnEvent()

void albaGUIWizardPageNew::OnEvent ( albaEventBase alba_event)
virtual

Precess events coming from other objects.

Implements albaObserver.

◆ AddGuiLowerLeft()

void albaGUIWizardPageNew::AddGuiLowerLeft ( albaGUI gui)

Add in wizard gui, another gui in lower left position.

◆ AddGuiLowerRight()

void albaGUIWizardPageNew::AddGuiLowerRight ( albaGUI gui)

Add in wizard gui, another gui in lower right position.

◆ AddGuiLowerCenter()

void albaGUIWizardPageNew::AddGuiLowerCenter ( albaGUI gui)

Add in wizard gui, another gui in lower center position.

◆ AddGuiLowerUnderLeft()

void albaGUIWizardPageNew::AddGuiLowerUnderLeft ( albaGUI gui)

Add in wizard gui, another gui in lower center bottom position.

◆ AddGuiLowerUnderCenter()

void albaGUIWizardPageNew::AddGuiLowerUnderCenter ( albaGUI gui)

Add in wizard gui, another gui in lower center bottom position.

◆ RemoveGuiLowerLeft()

void albaGUIWizardPageNew::RemoveGuiLowerLeft ( albaGUI gui)

Remove in wizard gui, another gui in lower left position.

◆ RemoveGuiLowerUnderLeft()

void albaGUIWizardPageNew::RemoveGuiLowerUnderLeft ( albaGUI gui)

Remove in wizard gui, another gui under lower left position.

◆ RemoveGuiLowerCenter()

void albaGUIWizardPageNew::RemoveGuiLowerCenter ( albaGUI gui)

Remove in wizard gui, another gui in lower center position.

◆ SetNextPage()

void albaGUIWizardPageNew::SetNextPage ( albaGUIWizardPageNew nextPage)

Create a chain between this page ad nextPage.

◆ SetZCropBounds()

void albaGUIWizardPageNew::SetZCropBounds ( double  ZMin = 0,
double  ZMax = 1 
)

Set bounds of ZCrop slider.

◆ GetZCropBounds()

void albaGUIWizardPageNew::GetZCropBounds ( double  ZCropBpunds[2])

Return bounds of ZCrop slider.

◆ UpdateWindowing() [1/2]

void albaGUIWizardPageNew::UpdateWindowing ( )

Update windowing in order to set correct values in lut slider.

◆ UpdateWindowing() [2/2]

void albaGUIWizardPageNew::UpdateWindowing ( double *  scalarRange,
double *  scalarSubRange 
)

Update windowing (with custom range) in order to set correct values in lut slider.


(used in dicom importer because the windowing must be that of the total dicom and we see only a slice)

◆ GetWindowing()

void albaGUIWizardPageNew::GetWindowing ( double *  scalarRange,
double *  scalarSubRange 
)

Get the windowing range values.

◆ UpdateActor()

void albaGUIWizardPageNew::UpdateActor ( )

Update Actor Texture from current lut slider values.

◆ GetRWI()

albaRWI * albaGUIWizardPageNew::GetRWI ( )
inline

Retrieve the current Render Window.

Definition at line 120 of file albaGUIWizardPageNew.h.

Friends And Related Function Documentation

◆ albaGUIWizardPageNewTest

friend class albaGUIWizardPageNewTest
friend

Definition at line 146 of file albaGUIWizardPageNew.h.

Member Data Documentation

◆ m_Listener

albaObserver* albaGUIWizardPageNew::m_Listener

Definition at line 71 of file albaGUIWizardPageNew.h.

◆ m_GUISizer

wxBoxSizer* albaGUIWizardPageNew::m_GUISizer
protected

Sizer used for the Lower GUI.

Definition at line 124 of file albaGUIWizardPageNew.h.

◆ m_GUIUnderSizer

wxBoxSizer* albaGUIWizardPageNew::m_GUIUnderSizer
protected

Sizer used for the under Lower GUI.

Definition at line 125 of file albaGUIWizardPageNew.h.

◆ m_LUTSizer

wxBoxSizer* albaGUIWizardPageNew::m_LUTSizer
protected

Sizer used for the LUT Slider GUI.

Definition at line 126 of file albaGUIWizardPageNew.h.

◆ m_RwiSizer

wxBoxSizer* albaGUIWizardPageNew::m_RwiSizer
protected

Sizer used for the vtk render window and if you want to plug any gui on bottom of the RWI.

Definition at line 127 of file albaGUIWizardPageNew.h.

◆ m_SizerAll

wxBoxSizer* albaGUIWizardPageNew::m_SizerAll
protected

Vertical sizer used to include all other sizer.

Definition at line 128 of file albaGUIWizardPageNew.h.

◆ m_Rwi

albaRWI* albaGUIWizardPageNew::m_Rwi
protected

Render window.

Definition at line 130 of file albaGUIWizardPageNew.h.

◆ m_GuiLowerLeft

albaGUI* albaGUIWizardPageNew::m_GuiLowerLeft
protected

Gui variable used to plug custom widgets localized in LOWER LEFT.

Definition at line 132 of file albaGUIWizardPageNew.h.

◆ m_GuiLowerCenter

albaGUI* albaGUIWizardPageNew::m_GuiLowerCenter
protected

Gui variable used to plug custom widgets localized in LOWER CENTER.

Definition at line 133 of file albaGUIWizardPageNew.h.

◆ m_GuiLowerUnderCenter

albaGUI* albaGUIWizardPageNew::m_GuiLowerUnderCenter
protected

Gui variable used to plug custom widgets localized under LOWER CENTER.

Definition at line 134 of file albaGUIWizardPageNew.h.

◆ m_GuiLowerUnderLeft

albaGUI* albaGUIWizardPageNew::m_GuiLowerUnderLeft
protected

Gui variable used to plug custom widgets localized under LOWER LEFT.

Definition at line 135 of file albaGUIWizardPageNew.h.

◆ m_GuiView

albaGUI* albaGUIWizardPageNew::m_GuiView
protected

Definition at line 136 of file albaGUIWizardPageNew.h.

◆ m_LutSlider

albaGUILutSlider* albaGUIWizardPageNew::m_LutSlider
protected

Definition at line 138 of file albaGUIWizardPageNew.h.

◆ m_ZCropSlider

albaGUILutSlider* albaGUIWizardPageNew::m_ZCropSlider
protected

Definition at line 139 of file albaGUIWizardPageNew.h.

◆ m_ColorLUT

vtkLookupTable* albaGUIWizardPageNew::m_ColorLUT
protected

Definition at line 140 of file albaGUIWizardPageNew.h.

◆ m_ZCropOn

bool albaGUIWizardPageNew::m_ZCropOn
protected

Definition at line 142 of file albaGUIWizardPageNew.h.


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