[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

AssistantPanel Class Reference

The assistant panel. More...

#include <AssistantPanel.h>

Inheritance diagram for AssistantPanel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AssistantPanel ()
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 ~AssistantPanel (void)
virtual void panoramaChanged (PT::Panorama &pano)
 this is called whenever the panorama has changed.
void panoramaImagesChanged (PT::Panorama &pano, const PT::UIntSet &imgNr)

Detailed Description

The assistant panel.

Kind of a helper panel.

Idea shamelessly stolen from PTGui


Constructor & Destructor Documentation

AssistantPanel::OnLensTypeChanged AssistantPanel::OnCropFactorChanged AssistantPanel::OnLoadImages AssistantPanel::OnCreate AssistantPanel::AssistantPanel  ) 
 

AssistantPanel::~AssistantPanel void   )  [virtual]
 


Member Function Documentation

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

void AssistantPanel::panoramaChanged PT::Panorama pano  )  [virtual]
 

this is called whenever the panorama has changed.

This function must now update all the gui representations of the panorama to display the new state.

Functions that change the panororama must not update the GUI directly. The GUI should always be updated to reflect the current panorama state in this function.

This avoids unnessecary close coupling between the controller and the view (even if they sometimes are in the same object). See model view controller pattern.

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


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

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