Isis 3 Programmer Reference
|
Converts from file name or project representation to Image *. More...
Public Member Functions | |
VariantToImageFunctor (QMutex *cameraMutex, bool requireFootprints, QThread *targetThread, bool openFilled, int defaultAlpha) | |
Create a functor for converting from QVariant to an Image *. | |
Image * | operator() (const QVariant &) |
Read the QString filename and make an Image from it. | |
Private Attributes | |
QMutex * | m_mutex |
QThread * | m_targetThread |
int | m_defaultAlpha |
bool | m_openFilled |
bool | m_requireFootprints |
Converts from file name or project representation to Image *.
This is designed to work with QtConcurrentMap.
Definition at line 120 of file ImageReader.h.
Isis::ImageReader::VariantToImageFunctor::VariantToImageFunctor | ( | QMutex * | cameraMutex, |
bool | requireFootprints, | ||
QThread * | targetThread, | ||
bool | openFilled, | ||
int | defaultAlpha ) |
Create a functor for converting from QVariant to an Image *.
This method is always called from the GUI thread.
Definition at line 260 of file ImageReader.cpp.
Image * Isis::ImageReader::VariantToImageFunctor::operator() | ( | const QVariant & | imageData | ) |
Read the QString filename and make an Image from it.
Set the default values. This is what we're doing in another thread, so make sure the QObject ends up in the correct thread.
This method is never called from the GUI thread.
Definition at line 278 of file ImageReader.cpp.
References Isis::ImageDisplayProperties::Color, Isis::Image::fromPvl(), and Isis::Image::initFootprint().
|
private |
Definition at line 132 of file ImageReader.h.
|
private |
Definition at line 129 of file ImageReader.h.
|
private |
Definition at line 133 of file ImageReader.h.
|
private |
Definition at line 134 of file ImageReader.h.
|
private |
Definition at line 130 of file ImageReader.h.