Hugin trunk 0.1
Loading...
Searching...
No Matches
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.
 
virtual void panoramaImagesChanged (Panorama &pano, const UIntSet &changed)=0
 notifies about changes to images
 

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

◆ ~PanoramaObserver()

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

Definition at line 406 of file PanoramaData.h.

Member Function Documentation

◆ panoramaChanged()

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 CPEditorPanel, CPListCtrl, GLPreviewFrame, ImagesPanel, ImagesTreeCtrl, MainFrame, MaskEditorPanel, OptimizePanel, OptimizePhotometricPanel, OverviewOutlinesTool, PanoPanel, PreviewFrame, PreviewLayoutLinesTool, PreviewPanel, and ViewState.

◆ panoramaImagesChanged()

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 OverviewOutlinesTool, PreviewLayoutLinesTool, ViewState, CPListCtrl, GLPreviewFrame, PreviewFrame, CPEditorPanel, ImagesPanel, ImagesTreeCtrl, MainFrame, MaskEditorPanel, OptimizePanel, OptimizePhotometricPanel, PanoPanel, and PreviewPanel.


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