[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

CPEditorPanel Class Reference

control point editor panel. More...

#include <CPEditorPanel.h>

Inheritance diagram for CPEditorPanel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CPEditorPanel ()
 ctor.
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 (PT::Panorama *pano)
virtual ~CPEditorPanel ()
 dtor.
void setLeftImage (unsigned int imgNr)
 set left image
void setRightImage (unsigned int imgNr)
 set right image
void SetPano (PT::Panorama *panorama)
void panoramaChanged (PT::Panorama &pano)
 called when the panorama changes and we should update our display
void panoramaImagesChanged (PT::Panorama &pano, const PT::UIntSet &imgNr)
void SelectGlobalPoint (unsigned int globalNr)
 Select a point.
void ShowControlPoint (unsigned int cpNr)
 show a control point
void ClearSelection ()
 unselect a point

Detailed Description

control point editor panel.

This panel is used to create/change/edit control points

Todo:
support control lines


Constructor & Destructor Documentation

CPEditorPanel::CPEditorPanel  ) 
 

ctor.

CPEditorPanel::~CPEditorPanel  )  [virtual]
 

dtor.


Member Function Documentation

void CPEditorPanel::ClearSelection  ) 
 

unselect a point

bool CPEditorPanel::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 CPEditorPanel::Init PT::Panorama pano  ) 
 

void CPEditorPanel::panoramaChanged PT::Panorama pano  ) 
 

called when the panorama changes and we should update our display

void CPEditorPanel::panoramaImagesChanged PT::Panorama pano,
const PT::UIntSet imgNr
 

void CPEditorPanel::SelectGlobalPoint unsigned int  globalNr  ) 
 

Select a point.

This should highlight it in the listview and on the pictures.

Does not change the pictures. The control point must be on the two existing images

void CPEditorPanel::setLeftImage unsigned int  imgNr  ) 
 

set left image

void CPEditorPanel::SetPano PT::Panorama panorama  )  [inline]
 

void CPEditorPanel::setRightImage unsigned int  imgNr  ) 
 

set right image

void CPEditorPanel::ShowControlPoint unsigned int  cpNr  ) 
 

show a control point

show control point cpNr and the corrosponding images


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