37 ShapeReader(QMutex *cameraMutex,
bool requireFootprints =
false,
QObject *parent = NULL);
47 void read(PvlObject shapesObj);
53 void mappedFinished();
59 template <
typename Iterator>
60 void read(Iterator begin, Iterator end) {
61 int numNewEntries = 0;
62 while (begin != end) {
63 m_backlog.append(QVariant::fromValue(*begin));
68 m_progress->setRange(0, m_progress->maximum() + numNewEntries);
84 QPointer<QAction> m_askAlphaAct;
86 QMutex *m_cameraMutex;
87 QPointer<QAction> m_openFilledAct;
88 QPointer<ProgressBar> m_progress;
89 QPointer<QAction> m_safeFileOpenAct;
95 bool m_requireFootprints;
108 class VariantToShapeFunctor :
public std::function<
109 Shape *(const QVariant &)> {
112 VariantToShapeFunctor(QMutex *cameraMutex,
bool requireFootprints,
QThread *targetThread,
113 bool openFilled,
int defaultAlpha);
114 Shape *operator()(
const QVariant &);
122 bool m_requireFootprints;
Property
This is a list of properties and actions that are possible.
Definition ShapeDisplayProperties.h:64
Internalizes a list of shapes and allows for operations on the entire list.
Definition ShapeList.h:30
ShapeReader(QMutex *cameraMutex, bool requireFootprints=false, QObject *parent=NULL)
MosaicWidget constructor.
Definition ShapeReader.cpp:35
void read(PvlObject shapesObj)
Definition ShapeReader.cpp:110
QProgressBar * progress()
Definition ShapeReader.cpp:105
void shapesReady(ShapeList shapes)
QList< QAction * > actions(ShapeDisplayProperties::Property relevantDispProperties)
Definition ShapeReader.cpp:84
virtual ~ShapeReader()
Free the allocated memory by this object.
Definition ShapeReader.cpp:65
void setSafeFileOpen(bool safeFileOpen)
Definition ShapeReader.cpp:123
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