Hugintrunk
0.1
|
this handler class will receive change events from the Panorama. More...
#include <PanoramaData.h>
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... | |
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.
|
inlinevirtual |
Definition at line 406 of file PanoramaData.h.
|
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.
|
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.
pano | the panorama object that changed |
changed | set of changed images |
Implemented in GLPreviewFrame, MainFrame, CPEditorPanel, MaskEditorPanel, ViewState, ImagesTreeCtrl, ImagesList, PanoPanel, ImagesPanel, CPListCtrl, PreviewLayoutLinesTool, PreviewPanel, OptimizePanel, OptimizePhotometricPanel, PreviewFrame, and OverviewOutlinesTool.