12 #include "ShapeList.h" 13 #include "ProgressBar.h" 38 ShapeReader(QMutex *cameraMutex,
bool requireFootprints =
false,
QObject *parent = NULL);
50 void setSafeFileOpen(
bool safeFileOpen);
53 void shapesReady(
int);
54 void mappedFinished();
60 template <
typename Iterator>
61 void read(Iterator begin, Iterator end) {
62 int numNewEntries = 0;
63 while (begin != end) {
64 m_backlog.append(qVariantFromValue(*begin));
69 m_progress->setRange(0, m_progress->maximum() + numNewEntries);
87 QMutex *m_cameraMutex;
88 QPointer<QAction> m_openFilledAct;
89 QPointer<ProgressBar> m_progress;
90 QPointer<QAction> m_safeFileOpenAct;
96 bool m_requireFootprints;
110 const QVariant &, Shape *> {
114 bool openFilled,
int defaultAlpha);
123 bool m_requireFootprints;
Internalizes a list of shapes and allows for operations on the entire list.
ShapeReader(QMutex *cameraMutex, bool requireFootprints=false, QObject *parent=NULL)
MosaicWidget constructor.
virtual ~ShapeReader()
Free the allocated memory by this object.
QPointer< QAction > m_askAlphaAct
Variant Internal Format: (QString|PvlObject).
Converts from file name or project representation to Shape *.
This represents a shape in a project-based GUI interface.
Namespace for ISIS/Bullet specific routines.
Property
This is a list of properties and actions that are possible.
Contains Pvl Groups and Pvl Objects.
VariantToShapeFunctor(QMutex *cameraMutex, bool requireFootprints, QThread *targetThread, bool openFilled, int defaultAlpha)
Create a functor for converting from QVariant to an Shape *.
Shape * operator()(const QVariant &)
Read the QString filename and make an Shape from it.