1 #ifndef MosaicSceneWidget_H
2 #define MosaicSceneWidget_H
9 template <
typename A>
class QList;
11 class QGraphicsPolygonItem;
14 class QGraphicsSceneContextMenuEvent;
26 class MosaicGraphicsView;
27 class MosaicSceneItem;
146 bool showTools,
bool internalizeToolBarsAndProgress,
151 return m_graphicsView;
155 return m_graphicsScene;
163 return *m_mosaicSceneItems;
166 void addTo(QMenu *menu);
171 using QWidget::contextMenuEvent;
177 return m_cubesSelectable;
184 return m_userToolControl;
206 double moveDownOne(
Image *);
210 double moveToBottom(
Image *);
214 double moveUpOne(
Image *);
218 double moveToTop(
Image *);
222 double moveZ(
Image *image,
double newZ,
bool newZValueMightExist =
true);
227 template <
typename DataType>
288 void onSelectionChanged();
289 void onQueuedSelectionChanged();
291 void configProjectionParameters();
292 void quickConfigProjectionParameters();
293 void sendVisibleRectChanged();
301 void reprojectItems();
304 void recalcSceneRect();
326 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
327 const QString &qName,
const QXmlAttributes &atts);
328 virtual bool characters(
const QString &ch);
329 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
330 const QString &qName);
333 Q_DISABLE_COPY(XmlHandler);
335 QString m_characterData;
338 int m_scrollBarXValue;
339 int m_scrollBarYValue;
346 Directory *m_directory;
348 bool m_cubesSelectable;
349 bool m_customRubberBandEnabled;
350 QRubberBand *m_customRubberBand;
351 QPoint *m_rubberBandOrigin;
353 MosaicGraphicsView *m_graphicsView;
354 Projection *m_projection;
359 QToolButton *m_mapButton;
369 ProgressBar *m_progress;
373 bool m_blockingSelectionChanged;
374 bool m_userToolControl;
375 bool m_ownProjection;
376 bool m_queuedSelectionChanged;
377 bool m_shouldRequeueSelectionChanged;
379 double m_currentMinimumFootprintZ;
380 double m_currentMaximumFootprintZ;
382 PvlObject *m_projectViewTransform;
Internalizes a list of images and allows for operations on the entire list.
Definition: ImageList.h:44
The main project for cnetsuite.
Definition: Project.h:105
A graphics view that resizes in a more friendly way.
Definition: MosaicGraphicsView.h:14
File name manipulation and expansion.
Definition: FileName.h:111
Base class for Map Projections.
Definition: Projection.h:169
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
Definition: DisplayProperties.h:26
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:47
A single control point.
Definition: ControlPoint.h:339
This represents a cube in a project-based GUI interface.
Definition: Image.h:91
Container for cube-like labels.
Definition: Pvl.h:135
Definition: BoxcarCachingAlgorithm.h:29
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74
A single cube in the mosaic scene.
Definition: MosaicSceneItem.h:45
Definition: Directory.h:106
his enables stack-based XML parsing of XML files.
Definition: XmlStackedHandlerReader.h:26
Definition: CubeIoHandler.h:38