Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ImagesListMask Class Reference

specialized to display the mask aspect of images More...

#include <ImagesList.h>

Inheritance diagram for ImagesListMask:
Inheritance graph

Public Member Functions

 ImagesListMask ()
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel"))
 
void Init (HuginBase::Panorama *pano)
 
virtual void UpdateItem (unsigned int imgNr)
 update the information in an already existing list item More...
 
void SetSingleSelect (bool isSingleSelect)
 sets the listbox to single item select or multiply item select More...
 
- Public Member Functions inherited from ImagesList
 ImagesList ()
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel"))
 
void Init (HuginBase::Panorama *pano)
 
virtual ~ImagesList (void)
 
virtual void panoramaImagesChanged (HuginBase::Panorama &pano, const HuginBase::UIntSet &imgNr)
 receive the update signal and update display accordingly More...
 
virtual void panoramaChanged (HuginBase::Panorama &pano)
 Notification about a Panorama change. More...
 
virtual void CreateItem (unsigned int imgNr)
 create an list item for imgNr More...
 
virtual void UpdatePartNumbersForItem (unsigned int imgNr)
 Update the part numbers (e.g. More...
 
virtual void RemoveItem (unsigned int imgNr)
 remove an existing list item More...
 
void SelectSingleImage (unsigned int imgNr)
 Select an image. More...
 
void SelectImageRange (unsigned int imgStart, unsigned int imgEnd)
 Select an image range. More...
 
void SelectImages (const HuginBase::UIntSet imgs)
 selects the given images More...
 
void SelectAll ()
 Select all images. More...
 
void DeselectAll ()
 Deselects all images. More...
 
const HuginBase::UIntSetGetSelected () const
 get the currently selected images More...
 
- Public Member Functions inherited from HuginBase::PanoramaObserver
virtual ~PanoramaObserver ()
 

Additional Inherited Members

- Protected Member Functions inherited from ImagesList
void OnItemSelected (wxListEvent &e)
 
void OnItemDeselected (wxListEvent &e)
 
void OnColumnWidthChange (wxListEvent &e)
 
void OnChar (wxKeyEvent &e)
 event handler to capture special key code More...
 
- Protected Attributes inherited from ImagesList
HuginBase::Panoramapano
 
HuginBase::StandardImageVariableGroupsvariable_groups
 
HuginBase::UIntSet selectedItems
 create icons for an image More...
 
wxImageList * m_smallIcons
 
int m_iconHeight
 
int m_degDigits
 
int m_distDigits
 
int m_pixelDigits
 
bool m_notifyParents
 
bool m_singleSelect
 
wxString m_configClassName
 

Detailed Description

specialized to display the mask aspect of images

Definition at line 167 of file ImagesList.h.

Constructor & Destructor Documentation

ImagesListMask::ImagesListMask ( )

Definition at line 426 of file ImagesList.cpp.

Member Function Documentation

bool ImagesListMask::Create ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxT("panel") 
)

Definition at line 430 of file ImagesList.cpp.

References ImagesList::Create(), DEBUG_TRACE, and ImagesList::m_configClassName.

void ImagesListMask::Init ( HuginBase::Panorama pano)

Definition at line 458 of file ImagesList.cpp.

References ImagesList::Init().

Referenced by MaskEditorPanel::Init().

void ImagesListMask::SetSingleSelect ( bool  isSingleSelect)

sets the listbox to single item select or multiply item select

Definition at line 485 of file ImagesList.cpp.

References ImagesList::m_singleSelect.

Referenced by MaskEditorPanel::OnModeChanged().

void ImagesListMask::UpdateItem ( unsigned int  imgNr)
virtual

update the information in an already existing list item

Reimplemented from ImagesList.

Definition at line 463 of file ImagesList.cpp.

References HuginBase::Panorama::getImage(), HuginBase::SrcPanoImage::hasMasks(), HUGIN_CONV_FILENAME, HuginBase::BaseSrcPanoImage::NO_CROP, and ImagesList::pano.


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