Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
HuginBase::PanoramaObserver Class Referenceabstract

this handler class will receive change events from the Panorama. More...

#include <PanoramaData.h>

Inheritance diagram for HuginBase::PanoramaObserver:
Inheritance graph

Public Member Functions

virtual ~PanoramaObserver ()
 
virtual void panoramaChanged (Panorama &pano)=0
 Notification about a Panorama change. More...
 
virtual void panoramaImagesChanged (Panorama &pano, const UIntSet &changed)=0
 notifies about changes to images More...
 

Detailed Description

this handler class will receive change events from the Panorama.

Maybe a fine grained event interface is better, but it can be added later.

Definition at line 401 of file PanoramaData.h.

Constructor & Destructor Documentation

virtual HuginBase::PanoramaObserver::~PanoramaObserver ( )
inlinevirtual

Definition at line 406 of file PanoramaData.h.

Member Function Documentation

virtual void HuginBase::PanoramaObserver::panoramaChanged ( Panorama pano)
pure virtual

Notification about a Panorama change.

This function will always be called, even when the change could be handled by panoramaImageAdded() or other notify functions.

This allows lazy observers to just listen to panoramaChanged().

Implemented in GLPreviewFrame, MainFrame, CPEditorPanel, MaskEditorPanel, ViewState, ImagesTreeCtrl, ImagesList, PanoPanel, ImagesPanel, CPListCtrl, PreviewLayoutLinesTool, PreviewPanel, OptimizePanel, PreviewFrame, OptimizePhotometricPanel, and OverviewOutlinesTool.

virtual void HuginBase::PanoramaObserver::panoramaImagesChanged ( Panorama pano,
const UIntSet changed 
)
pure virtual

notifies about changes to images

Images might have been added/removed. to find out how many images are still there, use Panorama::getNrOfImages.

Parameters
panothe panorama object that changed
changedset of changed images

Implemented in GLPreviewFrame, MainFrame, CPEditorPanel, MaskEditorPanel, ViewState, ImagesTreeCtrl, ImagesList, PanoPanel, ImagesPanel, CPListCtrl, PreviewLayoutLinesTool, PreviewPanel, OptimizePanel, OptimizePhotometricPanel, PreviewFrame, and OverviewOutlinesTool.


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