16#include "ProgressBar.h"
46 ImageReader(QMutex *cameraMutex,
bool requireFootprints =
true,
QObject *parent = NULL);
52 void setQtVersion(
int qtVersion);
58 void askDefaultAlpha();
59 void read(PvlObject imagesObj);
61 void setOpenFilled(
bool openFilled);
62 void setSafeFileOpen(
bool safeFileOpen);
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);
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;
124 Image *(const QVariant &)> {
128 bool openFilled,
int defaultAlpha,
int qtVersion);
138 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.
VariantToImageFunctor(QMutex *cameraMutex, bool requireFootprints, QThread *targetThread, bool openFilled, int defaultAlpha, int qtVersion)
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.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.