11#include "ShapeDisplayProperties.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(QVariant::fromValue(*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 Shape *(const QVariant &)> {
114 bool openFilled,
int defaultAlpha);
123 bool m_requireFootprints;
Contains Pvl Groups and Pvl Objects.
Property
This is a list of properties and actions that are possible.
This represents a shape in a project-based GUI interface.
Internalizes a list of shapes and allows for operations on the entire list.
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.
ShapeReader(QMutex *cameraMutex, bool requireFootprints=false, QObject *parent=NULL)
MosaicWidget constructor.
QPointer< QAction > m_askAlphaAct
Variant Internal Format: (QString|PvlObject).
virtual ~ShapeReader()
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.