Isis 3 Programmer Reference
Isis::ImageReader Class Reference

#include <ImageReader.h>

Inheritance diagram for Isis::ImageReader:
Inheritance graph
Collaboration diagram for Isis::ImageReader:
Collaboration graph

Classes

class  VariantToImageFunctor
 Converts from file name or project representation to Image *. More...
 

Public Slots

void askDefaultAlpha ()
 
void read (PvlObject imagesObj)
 
void read (QStringList imageFileNames)
 Handle opening cubes by filename. More...
 
void setOpenFilled (bool openFilled)
 
void setSafeFileOpen (bool safeFileOpen)
 

Signals

void imagesReady (ImageList images)
 

Public Member Functions

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

Private Slots

void imageReady (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< Image * > * m_watcher
 
bool m_safeFileOpen
 
bool m_openFilled
 
int m_defaultAlpha
 
bool m_requireFootprints
 
bool m_mappedRunning
 

Detailed Description

Author
2012-??-?? ???
History:
2013-07-01 Tracie Sucharski - Clean up ImageList in mappedFinished method to get rid of Null Image pointers from the list. Fixes #1693, #1696.
History:
2016-07-08 Tracie Sucharski - If the requireFootprints is set to false do not even attempt to create a footprint. This was changed from always initing the footprint, but only throwing error if requireFootprints was true.

Definition at line 43 of file ImageReader.h.

Constructor & Destructor Documentation

◆ ImageReader()

Isis::ImageReader::ImageReader ( QMutex *  cameraMutex,
bool  requireFootprints = true,
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 ImageReader.cpp.

◆ ~ImageReader()

Isis::ImageReader::~ImageReader ( )
virtual

Free the allocated memory by this object.

Definition at line 65 of file ImageReader.cpp.

Member Function Documentation

◆ read

void Isis::ImageReader::read ( QStringList  imageFileNames)
slot

Handle opening cubes by filename.

Definition at line 155 of file ImageReader.cpp.

Member Data Documentation

◆ m_askAlphaAct

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

Variant Internal Format: (QString|PvlObject).

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

Definition at line 96 of file ImageReader.h.


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