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

#include <albaGUIImageViewer.h>

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

Public Member Functions

 albaGUIImageViewer (albaObserver *Listener, const albaString &label=_("ImageViewer"))
 
 ~albaGUIImageViewer ()
 
virtual void OnEvent (albaEventBase *alba_event)
 
void SetListener (albaObserver *Listener)
 
void ShowImageDialog (albaVMEGroup *group, int selection=0)
 
void HideImageDialog ()
 
void Reset ()
 
wxString GetSelectedImageName ()
 
int GetSelection ()
 
void UpdateSelectionDialog (int selection)
 
void SetTitle (wxString title)
 
void EnableOkButton (bool enable)
 
void EnablePrintButton (bool enable)
 
void EnableDeleteButton (bool enable)
 
void EnableSaveButton (bool enable)
 
void EnableCheckButton (bool enable)
 
void SetCheck (int check)
 
int GetCheck ()
 
void AddImage (wxBitmap &bitmap, wxString name)
 
void DeleteImage (int index)
 
void DeleteSelectedImage ()
 
int GetImagesNum ()
 
void SetMouse (albaDeviceButtonsPadMouse *mouse)
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Protected Member Functions

void FillImageList ()
 
int SaveVMEImage (albaVMEImage *image, wxString imageFileName, bool scale=false)
 
void SaveImageAs ()
 
void SaveAllImages ()
 

Protected Attributes

albaObserverm_Listener
 
albaVMEGroup * m_ImagesGroup
 
std::vector< wxString > m_ImagesList
 
int m_ImageSelection
 
int m_ImageCheck
 
bool m_IsDialogOpened
 
albaGUIDialogm_Dialog
 
albaGUIButtonm_PrevBtn
 
albaGUIButtonm_NextBtn
 
wxCheckBox * m_CheckBtn
 
wxString m_TitleDialog
 
bool m_EnableOkButton
 
bool m_EnablePrintButton
 
bool m_EnableDeleteButton
 
bool m_EnableSaveImageButton
 
bool m_EnableImageCheckButton
 
albaDeviceButtonsPadMousem_Mouse
 
wxBoxSizer * m_RwiSizer
 
albaRWIm_Rwi
 
vtkPlaneSource * m_PlaneSource
 
vtkPolyDataMapper * m_DataMapper
 
vtkTexture * m_Texture
 
vtkActor * m_Actor
 

Detailed Description

class name: albaGUIImageViewer

Definition at line 62 of file albaGUIImageViewer.h.

Constructor & Destructor Documentation

◆ albaGUIImageViewer()

albaGUIImageViewer::albaGUIImageViewer ( albaObserver Listener,
const albaString label = _("ImageViewer") 
)

◆ ~albaGUIImageViewer()

albaGUIImageViewer::~albaGUIImageViewer ( )

Member Function Documentation

◆ OnEvent()

virtual void albaGUIImageViewer::OnEvent ( albaEventBase alba_event)
virtual

Answer to the messages coming from interface.

Implements albaObserver.

◆ SetListener()

void albaGUIImageViewer::SetListener ( albaObserver Listener)
inline

Set the listener of the events launched.

Definition at line 73 of file albaGUIImageViewer.h.

◆ ShowImageDialog()

void albaGUIImageViewer::ShowImageDialog ( albaVMEGroup *  group,
int  selection = 0 
)

Show ImagePreview dialog.

◆ HideImageDialog()

void albaGUIImageViewer::HideImageDialog ( )

◆ Reset()

void albaGUIImageViewer::Reset ( )

◆ GetSelectedImageName()

wxString albaGUIImageViewer::GetSelectedImageName ( )

◆ GetSelection()

int albaGUIImageViewer::GetSelection ( )
inline

Definition at line 83 of file albaGUIImageViewer.h.

◆ UpdateSelectionDialog()

void albaGUIImageViewer::UpdateSelectionDialog ( int  selection)

◆ SetTitle()

void albaGUIImageViewer::SetTitle ( wxString  title)
inline

Definition at line 87 of file albaGUIImageViewer.h.

◆ EnableOkButton()

void albaGUIImageViewer::EnableOkButton ( bool  enable)
inline

Definition at line 88 of file albaGUIImageViewer.h.

◆ EnablePrintButton()

void albaGUIImageViewer::EnablePrintButton ( bool  enable)
inline

Definition at line 89 of file albaGUIImageViewer.h.

◆ EnableDeleteButton()

void albaGUIImageViewer::EnableDeleteButton ( bool  enable)
inline

Definition at line 90 of file albaGUIImageViewer.h.

◆ EnableSaveButton()

void albaGUIImageViewer::EnableSaveButton ( bool  enable)
inline

Definition at line 91 of file albaGUIImageViewer.h.

◆ EnableCheckButton()

void albaGUIImageViewer::EnableCheckButton ( bool  enable)
inline

Definition at line 92 of file albaGUIImageViewer.h.

◆ SetCheck()

void albaGUIImageViewer::SetCheck ( int  check)
inline

Definition at line 94 of file albaGUIImageViewer.h.

◆ GetCheck()

int albaGUIImageViewer::GetCheck ( )
inline

Definition at line 95 of file albaGUIImageViewer.h.

◆ AddImage()

void albaGUIImageViewer::AddImage ( wxBitmap &  bitmap,
wxString  name 
)

◆ DeleteImage()

void albaGUIImageViewer::DeleteImage ( int  index)

◆ DeleteSelectedImage()

void albaGUIImageViewer::DeleteSelectedImage ( )

◆ GetImagesNum()

int albaGUIImageViewer::GetImagesNum ( )
inline

Definition at line 101 of file albaGUIImageViewer.h.

◆ SetMouse()

void albaGUIImageViewer::SetMouse ( albaDeviceButtonsPadMouse mouse)
inline

Definition at line 103 of file albaGUIImageViewer.h.

◆ FillImageList()

void albaGUIImageViewer::FillImageList ( )
protected

◆ SaveVMEImage()

int albaGUIImageViewer::SaveVMEImage ( albaVMEImage *  image,
wxString  imageFileName,
bool  scale = false 
)
protected

◆ SaveImageAs()

void albaGUIImageViewer::SaveImageAs ( )
protected

◆ SaveAllImages()

void albaGUIImageViewer::SaveAllImages ( )
protected

Member Data Documentation

◆ m_Listener

albaObserver* albaGUIImageViewer::m_Listener
protected

Definition at line 112 of file albaGUIImageViewer.h.

◆ m_ImagesGroup

albaVMEGroup* albaGUIImageViewer::m_ImagesGroup
protected

Definition at line 114 of file albaGUIImageViewer.h.

◆ m_ImagesList

std::vector<wxString> albaGUIImageViewer::m_ImagesList
protected

Definition at line 116 of file albaGUIImageViewer.h.

◆ m_ImageSelection

int albaGUIImageViewer::m_ImageSelection
protected

Definition at line 118 of file albaGUIImageViewer.h.

◆ m_ImageCheck

int albaGUIImageViewer::m_ImageCheck
protected

Definition at line 119 of file albaGUIImageViewer.h.

◆ m_IsDialogOpened

bool albaGUIImageViewer::m_IsDialogOpened
protected

Definition at line 121 of file albaGUIImageViewer.h.

◆ m_Dialog

albaGUIDialog* albaGUIImageViewer::m_Dialog
protected

Definition at line 123 of file albaGUIImageViewer.h.

◆ m_PrevBtn

albaGUIButton* albaGUIImageViewer::m_PrevBtn
protected

Definition at line 124 of file albaGUIImageViewer.h.

◆ m_NextBtn

albaGUIButton* albaGUIImageViewer::m_NextBtn
protected

Definition at line 125 of file albaGUIImageViewer.h.

◆ m_CheckBtn

wxCheckBox* albaGUIImageViewer::m_CheckBtn
protected

Definition at line 126 of file albaGUIImageViewer.h.

◆ m_TitleDialog

wxString albaGUIImageViewer::m_TitleDialog
protected

Definition at line 128 of file albaGUIImageViewer.h.

◆ m_EnableOkButton

bool albaGUIImageViewer::m_EnableOkButton
protected

Definition at line 130 of file albaGUIImageViewer.h.

◆ m_EnablePrintButton

bool albaGUIImageViewer::m_EnablePrintButton
protected

Definition at line 131 of file albaGUIImageViewer.h.

◆ m_EnableDeleteButton

bool albaGUIImageViewer::m_EnableDeleteButton
protected

Definition at line 132 of file albaGUIImageViewer.h.

◆ m_EnableSaveImageButton

bool albaGUIImageViewer::m_EnableSaveImageButton
protected

Definition at line 133 of file albaGUIImageViewer.h.

◆ m_EnableImageCheckButton

bool albaGUIImageViewer::m_EnableImageCheckButton
protected

Definition at line 134 of file albaGUIImageViewer.h.

◆ m_Mouse

albaDeviceButtonsPadMouse* albaGUIImageViewer::m_Mouse
protected

Definition at line 136 of file albaGUIImageViewer.h.

◆ m_RwiSizer

wxBoxSizer* albaGUIImageViewer::m_RwiSizer
protected

Definition at line 138 of file albaGUIImageViewer.h.

◆ m_Rwi

albaRWI* albaGUIImageViewer::m_Rwi
protected

Definition at line 139 of file albaGUIImageViewer.h.

◆ m_PlaneSource

vtkPlaneSource* albaGUIImageViewer::m_PlaneSource
protected

Definition at line 141 of file albaGUIImageViewer.h.

◆ m_DataMapper

vtkPolyDataMapper* albaGUIImageViewer::m_DataMapper
protected

Definition at line 142 of file albaGUIImageViewer.h.

◆ m_Texture

vtkTexture* albaGUIImageViewer::m_Texture
protected

Definition at line 143 of file albaGUIImageViewer.h.

◆ m_Actor

vtkActor* albaGUIImageViewer::m_Actor
protected

Definition at line 144 of file albaGUIImageViewer.h.


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