16#include "ProgressBar.h"
47 ImageReader(QMutex *cameraMutex,
bool requireFootprints =
true,
QObject *parent = NULL);
57 void askDefaultAlpha();
60 void setOpenFilled(
bool openFilled);
61 void setSafeFileOpen(
bool safeFileOpen);
65 void mappedFinished();
71 template <
typename Iterator>
72 void read(Iterator begin, Iterator end) {
73 int numNewEntries = 0;
74 while (begin != end) {
75 m_backlog.append(QVariant::fromValue(*begin));
80 m_progress->setRange(0, m_progress->maximum() + numNewEntries);
97 QList<QVariant> m_backlog;
98 QMutex *m_cameraMutex;
99 QPointer<QAction> m_openFilledAct;
100 QPointer<ProgressBar> m_progress;
101 QPointer<QAction> m_safeFileOpenAct;
102 QFutureWatcher<Image *> * m_watcher;
107 bool m_requireFootprints;
109 bool m_mappedRunning;
121 Image *(const QVariant &)> {
125 bool openFilled,
int defaultAlpha);
134 bool m_requireFootprints;
Property
This is a list of properties and actions that are possible.
This represents a cube in a project-based GUI interface.
Internalizes a list of images and allows for operations on the entire list.
Converts from file name or project representation to Image *.
VariantToImageFunctor(QMutex *cameraMutex, bool requireFootprints, QThread *targetThread, bool openFilled, int defaultAlpha)
Create a functor for converting from QVariant to an Image *.
Image * operator()(const QVariant &)
Read the QString filename and make an Image from it.
QPointer< QAction > m_askAlphaAct
Variant Internal Format: (QString|PvlObject).
ImageReader(QMutex *cameraMutex, bool requireFootprints=true, QObject *parent=NULL)
MosaicWidget constructor.
virtual ~ImageReader()
Free the allocated memory by this object.
Contains Pvl Groups and Pvl Objects.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.