USGS

Isis 3.0 Object Programmers' Reference

Home

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.
 
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.
 
virtual ~ImageReader ()
 Free the allocated memory by this object.
 
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).
 
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.

Definition at line 40 of file ImageReader.h.

Constructor & Destructor Documentation

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 34 of file ImageReader.cpp.

Isis::ImageReader::~ImageReader ( )
virtual

Free the allocated memory by this object.

Definition at line 64 of file ImageReader.cpp.

Member Function Documentation

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

Handle opening cubes by filename.

Definition at line 154 of file ImageReader.cpp.

Member Data Documentation

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 93 of file ImageReader.h.


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