Isis 3 Programmer Reference
Isis::ShapeReader Class Reference

#include <ShapeReader.h>

Inheritance diagram for Isis::ShapeReader:
Inheritance graph
Collaboration diagram for Isis::ShapeReader:
Collaboration graph

Classes

class  VariantToShapeFunctor
 Converts from file name or project representation to Shape *. More...
 

Public Slots

void read (PvlObject shapesObj)
 
void read (QStringList shapeFileNames)
 Handle opening cubes by filename. More...
 
void setSafeFileOpen (bool safeFileOpen)
 

Signals

void shapesReady (ShapeList shapes)
 

Public Member Functions

 ShapeReader (QMutex *cameraMutex, bool requireFootprints=false, QObject *parent=NULL)
 MosaicWidget constructor. More...
 
virtual ~ShapeReader ()
 Free the allocated memory by this object. More...
 
QList< QAction * > actions (ShapeDisplayProperties::Property relevantDispProperties)
 
QProgressBarprogress ()
 

Private Slots

void shapesReady (int)
 
void mappedFinished ()
 

Private Member Functions

template<typename Iterator >
void read (Iterator begin, Iterator end)
 
void initProgress ()
 
void start ()
 
void readSettings ()
 
void writeSettings ()
 

Private Attributes

QPointer< QActionm_askAlphaAct
 Variant Internal Format: (QString|PvlObject). More...
 
QList< QVariant > m_backlog
 
QMutex * m_cameraMutex
 
QPointer< QActionm_openFilledAct
 
QPointer< ProgressBarm_progress
 
QPointer< QActionm_safeFileOpenAct
 
QFutureWatcher< Shape * > * m_watcher
 
bool m_safeFileOpen
 
bool m_openFilled
 
int m_defaultAlpha
 
bool m_requireFootprints
 
bool m_mappedRunning
 

Detailed Description

Author
2016-07-25 Tracie Sucharski

Definition at line 34 of file ShapeReader.h.

Constructor & Destructor Documentation

◆ ShapeReader()

Isis::ShapeReader::ShapeReader ( QMutex *  cameraMutex,
bool  requireFootprints = false,
QObject parent = NULL 
)

MosaicWidget constructor.

MosaicWidget is derived from QSplitter, the left side of the splitter is a QTreeWidget and the right side of the splitter is a QGraphicsView.

Parameters
parent

Definition at line 35 of file ShapeReader.cpp.

◆ ~ShapeReader()

Isis::ShapeReader::~ShapeReader ( )
virtual

Free the allocated memory by this object.

Definition at line 65 of file ShapeReader.cpp.

Member Function Documentation

◆ read

void Isis::ShapeReader::read ( QStringList  shapeFileNames)
slot

Handle opening cubes by filename.

Definition at line 118 of file ShapeReader.cpp.

Member Data Documentation

◆ m_askAlphaAct

QPointer<QAction> Isis::ShapeReader::m_askAlphaAct
private

Variant Internal Format: (QString|PvlObject).

This stores what we haven't started reading yet in QtConcurrent.

Definition at line 85 of file ShapeReader.h.


The documentation for this class was generated from the following files: