[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CPImagesComboBox Class Reference

Owner Drawn ComboBox for showing connected images on CP tab. More...

#include <CPImagesComboBox.h>

List of all members.

Public Member Functions

virtual void OnDrawItem (wxDC &dc, const wxRect &rect, int item, int WXUNUSED(flags)) const
 Paint method for drawing text and indication bar of combo box.
void CalcCPDistance (Panorama *pano)
 Get maximum CP distance for all images pairs containing the reference image.
void SetRefImage (Panorama *pano, unsigned int newRefImg)
 Set new reference image.
const unsigned int GetRefImage ()
 Returns the reference image number.

Protected Member Functions

void OnMouseWheel (wxMouseEvent &e)
 Mouse wheel handler to mimic wxChoice behavior.
void OnKeyDown (wxKeyEvent &e)
 Key handler to mimic wxChoice behavior.


Detailed Description

Owner Drawn ComboBox for showing connected images on CP tab.


Member Function Documentation

void CPImagesComboBox::CalcCPDistance Panorama pano  ) 
 

Get maximum CP distance for all images pairs containing the reference image.

const unsigned int CPImagesComboBox::GetRefImage  )  [inline]
 

Returns the reference image number.

void CPImagesComboBox::OnDrawItem wxDC &  dc,
const wxRect &  rect,
int  item,
int   WXUNUSED(flags)
const [virtual]
 

Paint method for drawing text and indication bar of combo box.

void CPImagesComboBox::OnKeyDown wxKeyEvent &  e  )  [protected]
 

Key handler to mimic wxChoice behavior.

void CPImagesComboBox::OnMouseWheel wxMouseEvent &  e  )  [protected]
 

Mouse wheel handler to mimic wxChoice behavior.

void CPImagesComboBox::SetRefImage Panorama pano,
unsigned int  newRefImg
[inline]
 

Set new reference image.


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

Generated on Mon Sep 20 01:01:33 2010 for Hugintrunk by doxygen 1.3.9.1