46 ImageReader(QMutex *cameraMutex,
bool requireFootprints =
true,
QObject *parent = NULL);
59 void read(PvlObject imagesObj);
66 void mappedFinished();
72 template <
typename Iterator>
73 void read(Iterator begin, Iterator end) {
74 int numNewEntries = 0;
75 while (begin != end) {
76 m_backlog.append(QVariant::fromValue(*begin));
81 m_progress->setRange(0, m_progress->maximum() + numNewEntries);
97 QPointer<QAction> m_askAlphaAct;
99 QMutex *m_cameraMutex;
100 QPointer<QAction> m_openFilledAct;
101 QPointer<ProgressBar> m_progress;
102 QPointer<QAction> m_safeFileOpenAct;
110 bool m_requireFootprints;
112 bool m_mappedRunning;
123 class VariantToImageFunctor :
public std::function<
124 Image *(const QVariant &)> {
127 VariantToImageFunctor(QMutex *cameraMutex,
bool requireFootprints,
QThread *targetThread,
128 bool openFilled,
int defaultAlpha,
int qtVersion);
129 Image *operator()(
const QVariant &);
138 bool m_requireFootprints;
Property
This is a list of properties and actions that are possible.
Definition ImageDisplayProperties.h:90
Internalizes a list of images and allows for operations on the entire list.
Definition ImageList.h:52
void setSafeFileOpen(bool safeFileOpen)
Definition ImageReader.cpp:172
void read(PvlObject imagesObj)
Definition ImageReader.cpp:151
void setQtVersion(int qtVersion)
Definition ImageReader.cpp:133
void imagesReady(ImageList images)
ImageReader(QMutex *cameraMutex, bool requireFootprints=true, QObject *parent=NULL)
MosaicWidget constructor.
Definition ImageReader.cpp:35
QList< QAction * > actions(ImageDisplayProperties::Property relevantDispProperties)
Definition ImageReader.cpp:84
virtual ~ImageReader()
Free the allocated memory by this object.
Definition ImageReader.cpp:65
void askDefaultAlpha()
Definition ImageReader.cpp:138
void setOpenFilled(bool openFilled)
Definition ImageReader.cpp:164
QProgressBar * progress()
Definition ImageReader.cpp:129
This is free and unencumbered software released into the public domain.
Definition AbstractTableModel.h:24
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16