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.
 
void setSafeFileOpen (bool safeFileOpen)
 

Signals

void shapesReady (ShapeList shapes)
 

Public Member Functions

 ShapeReader (QMutex *cameraMutex, bool requireFootprints=false, QObject *parent=NULL)
 MosaicWidget constructor.
 
virtual ~ShapeReader ()
 Free the allocated memory by this object.
 
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).
 
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

◆ actions()

QList< QAction * > Isis::ShapeReader::actions ( ShapeDisplayProperties::Property relevantDispProperties)

Definition at line 84 of file ShapeReader.cpp.

◆ initProgress()

void Isis::ShapeReader::initProgress ( )
private

Definition at line 131 of file ShapeReader.cpp.

◆ mappedFinished

void Isis::ShapeReader::mappedFinished ( )
privateslot

Definition at line 182 of file ShapeReader.cpp.

◆ progress()

QProgressBar * Isis::ShapeReader::progress ( )

Definition at line 105 of file ShapeReader.cpp.

◆ read() [1/3]

template<typename Iterator >
void Isis::ShapeReader::read ( Iterator begin,
Iterator end )
inlineprivate

Definition at line 61 of file ShapeReader.h.

◆ read [2/3]

void Isis::ShapeReader::read ( PvlObject shapesObj)
slot

Definition at line 110 of file ShapeReader.cpp.

◆ read [3/3]

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

Handle opening cubes by filename.

Definition at line 118 of file ShapeReader.cpp.

◆ readSettings()

void Isis::ShapeReader::readSettings ( )
private

Definition at line 157 of file ShapeReader.cpp.

◆ setSafeFileOpen

void Isis::ShapeReader::setSafeFileOpen ( bool safeFileOpen)
slot

Definition at line 123 of file ShapeReader.cpp.

◆ shapesReady

void Isis::ShapeReader::shapesReady ( int index)
privateslot

Definition at line 177 of file ShapeReader.cpp.

◆ start()

void Isis::ShapeReader::start ( )
private

Definition at line 138 of file ShapeReader.cpp.

◆ writeSettings()

void Isis::ShapeReader::writeSettings ( )
private

Definition at line 167 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.

◆ m_backlog

QList<QVariant> Isis::ShapeReader::m_backlog
private

Definition at line 86 of file ShapeReader.h.

◆ m_cameraMutex

QMutex* Isis::ShapeReader::m_cameraMutex
private

Definition at line 87 of file ShapeReader.h.

◆ m_defaultAlpha

int Isis::ShapeReader::m_defaultAlpha
private

Definition at line 95 of file ShapeReader.h.

◆ m_mappedRunning

bool Isis::ShapeReader::m_mappedRunning
private

Definition at line 98 of file ShapeReader.h.

◆ m_openFilled

bool Isis::ShapeReader::m_openFilled
private

Definition at line 94 of file ShapeReader.h.

◆ m_openFilledAct

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

Definition at line 88 of file ShapeReader.h.

◆ m_progress

QPointer<ProgressBar> Isis::ShapeReader::m_progress
private

Definition at line 89 of file ShapeReader.h.

◆ m_requireFootprints

bool Isis::ShapeReader::m_requireFootprints
private

Definition at line 96 of file ShapeReader.h.

◆ m_safeFileOpen

bool Isis::ShapeReader::m_safeFileOpen
private

Definition at line 93 of file ShapeReader.h.

◆ m_safeFileOpenAct

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

Definition at line 90 of file ShapeReader.h.

◆ m_watcher

QFutureWatcher<Shape *>* Isis::ShapeReader::m_watcher
private

Definition at line 91 of file ShapeReader.h.


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