38 ShapeReader(QMutex *cameraMutex,
bool requireFootprints =
false,
QObject *parent = NULL);
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);
85 QPointer<QAction> m_askAlphaAct;
87 QMutex *m_cameraMutex;
88 QPointer<QAction> m_openFilledAct;
89 QPointer<ProgressBar> m_progress;
90 QPointer<QAction> m_safeFileOpenAct;
96 bool m_requireFootprints;
109 class VariantToShapeFunctor :
public std::unary_function<
110 const QVariant &, Shape *> {
113 VariantToShapeFunctor(QMutex *cameraMutex,
bool requireFootprints,
QThread *targetThread,
114 bool openFilled,
int defaultAlpha);
115 Shape *operator()(
const QVariant &);
123 bool m_requireFootprints;
Internalizes a list of shapes and allows for operations on the entire list.
Definition: ShapeList.h:33
ShapeReader(QMutex *cameraMutex, bool requireFootprints=false, QObject *parent=NULL)
MosaicWidget constructor.
Definition: ShapeReader.cpp:35
virtual ~ShapeReader()
Free the allocated memory by this object.
Definition: ShapeReader.cpp:65
QList< QAction * > actions(ShapeDisplayProperties::Property relevantDispProperties)
Definition: ShapeReader.cpp:84
QProgressBar * progress()
Definition: ShapeReader.cpp:105
void shapesReady(ShapeList shapes)
Definition: AbstractTableModel.h:16
void setSafeFileOpen(bool safeFileOpen)
Definition: ShapeReader.cpp:123
Definition: ShapeReader.h:34
This represents a shape in a project-based GUI interface.
Definition: Shape.h:78
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Property
This is a list of properties and actions that are possible.
Definition: ShapeDisplayProperties.h:80
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74
void read(PvlObject shapesObj)
Definition: ShapeReader.cpp:110