Isis 3 Programmer Reference
|
Internalizes a list of images and allows for operations on the entire list. More...
#include <ImageList.h>
Classes | |
class | CopyImageDataFunctor |
This functor is used for copying the images between two projects quickly. More... | |
class | XmlHandler |
This class is used to read an images.xml file into an image list. More... | |
Signals | |
void | countChanged (int newCount) |
Public Member Functions | |
ImageList (QString name, QString path, QObject *parent=NULL) | |
Creates an image list from an image list name and path (does not read Images). More... | |
ImageList (QObject *parent=NULL) | |
Creates a blank image list. More... | |
ImageList (QList< Image * >, QObject *parent=NULL) | |
Creates an image list from a list of images. More... | |
ImageList (Project *project, XmlStackedHandlerReader *xmlReader, QObject *parent=NULL) | |
Creates an image list from XML. More... | |
ImageList (QStringList &) | |
Creates an image list from a list of cube file names. More... | |
ImageList (const ImageList &) | |
Copy constructor. More... | |
~ImageList () | |
Destructor. More... | |
SerialNumberList * | serialNumberList () |
Creates a SerialNumberList from the image list. More... | |
void | append (Image *const &value) |
Appends an image to the image list. More... | |
void | append (const QList< Image * > &value) |
Appends a list of images to the image list. More... | |
void | clear () |
Clears the image list. More... | |
iterator | erase (iterator pos) |
Erases a single image from the image list. More... | |
iterator | erase (iterator begin, iterator end) |
Erases a range of images from the image list. More... | |
void | insert (int i, Image *const &value) |
Inserts an image into the image list at an index. More... | |
iterator | insert (iterator before, Image *const &value) |
Inserts an image into the image list after an iterator. More... | |
void | prepend (Image *const &value) |
Inserts an image at the beginning of the image list. More... | |
void | push_back (Image *const &value) |
Appends an image to the end of the image list. More... | |
void | push_front (Image *const &value) |
Prepends an image to the beginning of the image list. More... | |
int | removeAll (Image *const &value) |
Removes all occurances of an image. More... | |
void | removeAt (int i) |
Removes the image at an index. More... | |
void | removeFirst () |
Removes the image at the front of the image list. More... | |
void | removeLast () |
Removes the image at the end of the image list. More... | |
bool | removeOne (Image *const &value) |
Removes the first occurance of an image. More... | |
void | swap (QList< Image * > &other) |
Swaps the image list with another list of images. More... | |
Image * | takeAt (int i) |
Removes the image at an index and returns it. More... | |
Image * | takeFirst () |
Removes and returns the first image. More... | |
Image * | takeLast () |
Removes and returns the last image. More... | |
ImageList & | operator+= (const QList< Image * > &other) |
Appends a list of images to the end of the image list. More... | |
ImageList & | operator+= (Image *const &other) |
Appends a single image to the end of the image list. More... | |
ImageList & | operator<< (const QList< Image * > &other) |
Appends a list of images to the end of the image list. More... | |
ImageList & | operator<< (Image *const &other) |
Appends a single image to the end of the image list. More... | |
ImageList & | operator= (const QList< Image * > &rhs) |
Assigns another list of images to the image list. More... | |
ImageList & | operator= (const ImageList &rhs) |
Assignment operator. More... | |
QList< QAction * > | supportedActions (Project *project=NULL) |
Gets a list of pre-connected actions that have to do with display. More... | |
bool | allSupport (ImageDisplayProperties::Property prop) |
Check if all images in the image list support a display property. More... | |
void | setName (QString newName) |
Set the human-readable name of this image list. More... | |
void | setPath (QString newPath) |
Set the relative path (from the project root) to this image list's folder. More... | |
QString | name () const |
Get the human-readable name of this image list. More... | |
QString | path () const |
Get the path to the images in the image list (relative to project root). More... | |
void | deleteFromDisk (Project *project) |
Delete all of the contained Images from disk. More... | |
void | save (QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const |
Convert this image list into XML format for saving/restoring capabilities. More... | |
Private Slots | |
void | askAndUpdateAlpha () |
Prompt the user for a new alpha value. More... | |
void | askAndUpdateColor () |
Prompt the user for a new color. More... | |
void | showRandomColor () |
This applies a new semi-random color to every image's display property for every image in this image list. More... | |
QStringList | saveAndToggleShowDNs () |
Changes the visibility of the DNs of the first image in the image list and synchronizes the visibility of the DNs of every other image with the visibility of the DNs of the first image. More... | |
QStringList | saveAndToggleShowFill () |
Changes the visibility of the fill area of the first image in the image list and synchronizes the visibility of the fill areas of every other image with the visibility of fill area of the first image. More... | |
QStringList | saveAndToggleShowLabel () |
Changes the visibility of the display name of the first image in the image list and synchronizes the visibility of the display names of every other image with the visibility of the display name of the first image. More... | |
QStringList | saveAndToggleShowOutline () |
Changes the visibility of the outline of the first image in the image list and synchronizes the visibility of the outlines of every other image with the visibility of the outline of the first image. More... | |
Private Member Functions | |
QAction * | createWorkOrder (Project *project, ImageListActionWorkOrder::Action action) |
Creates an ImageListActionWorkOrder and sets the image list as the data for the work order. More... | |
void | applyAlphas (QStringList alphaValues) |
Sets the alpha values of the images based on a list of values. More... | |
void | applyColors (QStringList colorValues, int column=0) |
Sets the colors values of the images based on a list of values. More... | |
void | applyShowLabel (QStringList showLabelValues) |
Sets the visibility of the display names of the images in the image list based on a list of values. More... | |
void | applyShowFill (QStringList showFillValues) |
Sets the visibility of the fill areas of the images in the image list based on a list of values. More... | |
void | applyShowDNs (QStringList showDNsValues) |
Sets the visibility of the DNs of the images in the image list based on a list of values. More... | |
void | applyShowOutline (QStringList showOutlineValues) |
Sets the visibility of the outlines of the images in the image list based on a list of values. More... | |
bool | askAlpha (int *alphaResult) const |
Prompts the user for an alpha value. More... | |
bool | askNewColor (QColor *colorResult) const |
Prompts the user for color values. More... | |
QStringList | saveAndApplyAlpha (int newAlpha) |
Sets the alpha value of every image in the image list to a specificed value. More... | |
QStringList | saveAndApplyColor (QColor newColor) |
Sets the color values of every image to a specificed set of values. More... | |
QStringList | saveAndApplyRandomColor () |
Sets the color values of every image to a random color. More... | |
Private Attributes | |
QString | m_name |
This stores the image list's name. More... | |
QString | m_path |
This stores the directory name that contains the images in this image list. More... | |
Friends | |
class | ImageListActionWorkOrder |
Internalizes a list of images and allows for operations on the entire list.
This class reads a list of images from an images.xml file and internalizes them as aQList of images. It also allows for modifications to the entire list of images and storing the image list as an images.xml file.
Definition at line 55 of file ImageList.h.
Isis::ImageList::ImageList | ( | QString | name, |
QString | path, | ||
QObject * | parent = NULL |
||
) |
Creates an image list from an image list name and path (does not read Images).
name | The ImageList's name (i.e. import1, import2, ...). |
path | The ImageList's folder name (i.e. import1, import2, ...). |
parent | The Qt-relationship parent. |
Definition at line 54 of file ImageList.cpp.
|
explicit |
Creates a blank image list.
parent | The Qt-relationship parent. |
Definition at line 65 of file ImageList.cpp.
Creates an image list from a list of images.
images | The list of images. |
parent | The Qt-relationship parent. |
Definition at line 75 of file ImageList.cpp.
References append().
|
explicit |
Creates an image list from XML.
project | The project with the image list. |
xmlReader | The XML reader currently at an <imageList > tag. |
parent | The Qt-relationship parent. |
Definition at line 87 of file ImageList.cpp.
References Isis::XmlStackedHandlerReader::pushContentHandler().
|
explicit |
Creates an image list from a list of cube file names.
This is slow (serial) and not recommended.
fileNames | The list of cube fileNames. |
Definition at line 110 of file ImageList.cpp.
References append(), and Isis::Image::closeCube().
Isis::ImageList::ImageList | ( | const ImageList & | other | ) |
Copy constructor.
other | The image list to copy. |
Definition at line 98 of file ImageList.cpp.
Isis::ImageList::~ImageList | ( | ) |
Destructor.
This does not free the Images from memory.
Definition at line 126 of file ImageList.cpp.
bool Isis::ImageList::allSupport | ( | ImageDisplayProperties::Property | prop | ) |
Check if all images in the image list support a display property.
prop | The property we're testing for support for |
Definition at line 684 of file ImageList.cpp.
References Isis::Image::displayProperties(), and Isis::DisplayProperties::supports().
Referenced by supportedActions().
Appends a list of images to the image list.
value | the list of images to be appened. |
Definition at line 166 of file ImageList.cpp.
void Isis::ImageList::append | ( | Image *const & | value | ) |
Appends an image to the image list.
value | The image to be appended. |
Definition at line 153 of file ImageList.cpp.
Referenced by Isis::MosaicSceneItem::contextMenuEvent(), Isis::MosaicSceneWidget::contextMenuEvent(), ImageList(), Isis::BundleAdjust::imageLists(), Isis::Project::imagesReady(), Isis::ImportImagesWorkOrder::importConfirmedImages(), Isis::WorkOrder::isExecutable(), Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), Isis::Footprint2DView::onItemAdded(), Isis::Footprint2DView::onItemRemoved(), Isis::Footprint2DView::onMosItemRemoved(), Isis::MosaicSceneWidget::selectedImages(), Isis::WorkOrder::setData(), and Isis::RemoveImagesWorkOrder::setupExecution().
|
private |
Sets the alpha values of the images based on a list of values.
The alpha value of the first image in the image list will be set to the first value in alphaValues, the alpha value of the second image will be set to the second value, etc.
alphaValues | The list of alpha values to be applied. |
Definition at line 950 of file ImageList.cpp.
References Isis::ImageDisplayProperties::Color, Isis::DisplayProperties::getValue(), Isis::ImageDisplayProperties::setColor(), and Isis::toInt().
Referenced by Isis::ImageListActionWorkOrder::undoExecution().
|
private |
Sets the colors values of the images based on a list of values.
The color values of the first image in the image list will be set to the values in the first element of colorValues, the color values of the second image will be set to the values in the second element, etc.
colorValues | The list of color values to be applies. Color values should be formated as RGBA with each value separated by " ". |
column | The number of entries in each color value. Usually 4, R G B A. |
Definition at line 971 of file ImageList.cpp.
References Isis::Color::fromRGBAString().
Referenced by Isis::ImageListActionWorkOrder::execute(), and Isis::ImageListActionWorkOrder::undoExecution().
|
private |
Sets the visibility of the DNs of the images in the image list based on a list of values.
The visibility of the DNs of the first image in the image list will be set based on the first value in showDNsValues, the visibility of the DNs of the second image will be set based on the second value, etc.
showDNsValues | The list of values to determine which image DNs will be shown. If a value in showDNsValues is "shown", then the fill area of the associated image will be shown. Otherwise it will not be shown. |
Definition at line 1030 of file ImageList.cpp.
References Isis::ImageDisplayProperties::setShowDNs().
Referenced by Isis::ImageListActionWorkOrder::undoExecution().
|
private |
Sets the visibility of the fill areas of the images in the image list based on a list of values.
The visibility of the fill area of the first image in the image list will be set based on the first value in showFillValues, the visibility of the fill area of the second image will be set based on the second value, etc.
showFillValues | The list of values to determine which image fill areas will be shown. If a value in showFillValues is "shown", then the fill area of the associated image will be shown. Otherwise it will not be shown. |
Definition at line 1011 of file ImageList.cpp.
References Isis::ImageDisplayProperties::setShowFill().
Referenced by Isis::ImageListActionWorkOrder::undoExecution().
|
private |
Sets the visibility of the display names of the images in the image list based on a list of values.
The visibility of the display name of the first image in the image list will be set based on the first value in showLabelValues, The visibility of the display name of the second image will be set based on the second value, etc.
showLabelValues | The list of values to determine which image display names will be shown. If a value in showLabelValues is "shown", then the display name of the associated image will be shown. Otherwise it will not be shown. |
Definition at line 991 of file ImageList.cpp.
References Isis::ImageDisplayProperties::setShowLabel().
Referenced by Isis::ImageListActionWorkOrder::undoExecution().
|
private |
Sets the visibility of the outlines of the images in the image list based on a list of values.
The visibility of the outline of the first image in the image list will be set based on the first value in showOutlineValues, the visibility of the outline of the second image will be set based on the second value, etc.
showOutlineValues | The list of values to determine which image outlines will be shown. If a value in showOutlineValues is "shown", then the outline of the associated image will be shown. Otherwise it will not be shown. |
Definition at line 1049 of file ImageList.cpp.
References Isis::ImageDisplayProperties::setShowOutline().
Referenced by Isis::ImageListActionWorkOrder::undoExecution().
|
private |
Prompts the user for an alpha value.
If the user selects an alpha then this sets alphaResult and returns true. Does not modify the image list.
alphaResult | The alpha value input by the user |
Definition at line 1072 of file ImageList.cpp.
References Isis::ImageDisplayProperties::Color, and Isis::DisplayProperties::getValue().
Referenced by askAndUpdateAlpha(), and Isis::ImageListActionWorkOrder::setupExecution().
|
privateslot |
Prompt the user for a new alpha value.
If the user selects a new alpha then every image's display properties is updated.
Definition at line 1207 of file ImageList.cpp.
References askAlpha(), and saveAndApplyAlpha().
Referenced by supportedActions().
|
privateslot |
Prompt the user for a new color.
If the user selects a new color then every image's display properties is updated.
Definition at line 1220 of file ImageList.cpp.
References askNewColor(), and saveAndApplyColor().
Referenced by supportedActions().
|
private |
Prompts the user for color values.
If the user selects color values then this sets colorResult and returns true. Does no modify the image list.
colorResult | The color values input by the user |
Definition at line 1100 of file ImageList.cpp.
References Isis::ImageDisplayProperties::Color, and Isis::DisplayProperties::getValue().
Referenced by askAndUpdateColor(), and Isis::ImageListActionWorkOrder::setupExecution().
void Isis::ImageList::clear | ( | ) |
Clears the image list.
Definition at line 177 of file ImageList.cpp.
|
inlineprivate |
Creates an ImageListActionWorkOrder and sets the image list as the data for the work order.
project | The project the work order is for |
action | The action the work order performs |
Definition at line 200 of file ImageList.h.
References Isis::ImageListActionWorkOrder::qualifyString(), and Isis::ImageListActionWorkOrder::toString().
Referenced by supportedActions().
void Isis::ImageList::deleteFromDisk | ( | Project * | project | ) |
Delete all of the contained Images from disk.
project | The project the images in the image list belong to. |
Definition at line 747 of file ImageList.cpp.
References Isis::Image::deleteFromDisk(), Isis::Project::imageDataRoot(), and m_path.
Referenced by Isis::Project::deleteAllProjectFiles(), and Isis::ImportImagesWorkOrder::undoExecution().
Erases a range of images from the image list.
Erases all images from begin up to (but not including) end.
begin | An iterator pointing to the first image to be erased. |
end | An iterator pointing to the image just after the last image to be erased. Will be invalid after the call. |
Definition at line 214 of file ImageList.cpp.
Erases a single image from the image list.
pos | An iterator pointing to the image to be erased. |
Definition at line 195 of file ImageList.cpp.
Referenced by Isis::MosaicController::imageClosed().
void Isis::ImageList::insert | ( | int | i, |
Image *const & | value | ||
) |
Inserts an image into the image list at an index.
i | The index at which to insert the image. |
value | the image to be inserted. |
Definition at line 229 of file ImageList.cpp.
Inserts an image into the image list after an iterator.
before | An iterator pointing to the image that value will be inserted after |
value | The image to be inserted. |
Definition at line 246 of file ImageList.cpp.
QString Isis::ImageList::name | ( | ) | const |
Get the human-readable name of this image list.
Definition at line 724 of file ImageList.cpp.
References m_name.
Referenced by Isis::ImageFileListWidget::addImages(), Isis::Project::imageList(), ImageList(), Isis::SetActiveImageListWorkOrder::isExecutable(), Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), Isis::ProjectItemModel::onImagesAdded(), save(), Isis::ProjectItem::setImageList(), Isis::ExportImagesWorkOrder::setupExecution(), and Isis::ImageList::XmlHandler::startElement().
Appends a list of images to the end of the image list.
other | The list of images to be appended. |
Definition at line 439 of file ImageList.cpp.
Appends a single image to the end of the image list.
other | The image to be appended. |
Definition at line 460 of file ImageList.cpp.
Appends a list of images to the end of the image list.
other | The list of images to be appended. |
Definition at line 477 of file ImageList.cpp.
Appends a single image to the end of the image list.
other | The image to be appended. |
Definition at line 498 of file ImageList.cpp.
Assignment operator.
rhs | The right hand side of the '=' operator |
Definition at line 533 of file ImageList.cpp.
Assigns another list of images to the image list.
rhs | The list of images that imageList will become a copy of. |
Definition at line 514 of file ImageList.cpp.
QString Isis::ImageList::path | ( | ) | const |
Get the path to the images in the image list (relative to project root).
This only applies to an image list from the project.
Definition at line 735 of file ImageList.cpp.
References m_path.
Referenced by ImageList(), Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), Isis::ProjectItem::setImageList(), and Isis::ImageList::XmlHandler::startElement().
void Isis::ImageList::prepend | ( | Image *const & | value | ) |
Inserts an image at the beginning of the image list.
value | The image to be inserted. |
Definition at line 260 of file ImageList.cpp.
void Isis::ImageList::push_back | ( | Image *const & | value | ) |
Appends an image to the end of the image list.
Equivalent to append().
value | The image to be appended. |
Definition at line 274 of file ImageList.cpp.
void Isis::ImageList::push_front | ( | Image *const & | value | ) |
Prepends an image to the beginning of the image list.
Equivalent to prepend().
value | The image to be appended. |
Definition at line 288 of file ImageList.cpp.
int Isis::ImageList::removeAll | ( | Image *const & | value | ) |
Removes all occurances of an image.
value | The image to be removed. |
Definition at line 303 of file ImageList.cpp.
Referenced by Isis::RemoveImagesWorkOrder::execute().
void Isis::ImageList::removeAt | ( | int | i | ) |
Removes the image at an index.
i | The index of the image to be removed. |
Definition at line 321 of file ImageList.cpp.
Referenced by Isis::Project::imageClosed().
void Isis::ImageList::removeFirst | ( | ) |
Removes the image at the front of the image list.
Definition at line 332 of file ImageList.cpp.
void Isis::ImageList::removeLast | ( | ) |
Removes the image at the end of the image list.
Definition at line 343 of file ImageList.cpp.
bool Isis::ImageList::removeOne | ( | Image *const & | value | ) |
Removes the first occurance of an image.
value | The image to be removed. |
Definition at line 358 of file ImageList.cpp.
void Isis::ImageList::save | ( | QXmlStreamWriter & | stream, |
const Project * | project, | ||
FileName | newProjectRoot | ||
) | const |
Convert this image list into XML format for saving/restoring capabilities.
This writes:
<imageList name="..." path="...">
to the given xml stream, and creates an 'images.xml' inside the folder with the images. Inside the images.xml, this writes:
<images> ... </images>
stream | XmlStream to write out the document. |
project | The project the image list will be saved to. |
newProjectRoot | The path to the root directory for the new project. |
iException::Io | "Failed to create directory" |
iException::Io | "Unable to save image information because new file could not be opened for writing" |
Definition at line 785 of file ImageList.cpp.
References Isis::FileName::dir(), Isis::Project::imageDataRoot(), Isis::IException::Io, m_name, m_path, name(), Isis::Project::newProjectRoot(), Isis::FileName::original(), Isis::FileName::path(), Isis::Project::projectRoot(), Isis::Image::save(), and Isis::FileName::toString().
|
private |
Sets the alpha value of every image in the image list to a specificed value.
Saves and returns the old alpha values.
newAlpha | The alpha value which every image's alpha values will be set to. |
Definition at line 1123 of file ImageList.cpp.
References Isis::ImageDisplayProperties::Color, Isis::Image::displayProperties(), Isis::DisplayProperties::getValue(), and Isis::ImageDisplayProperties::setColor().
Referenced by askAndUpdateAlpha().
|
private |
Sets the color values of every image to a specificed set of values.
Saves and returns the old color values for each image.
newColor | The colro values which every image's color values will be set to. |
Definition at line 1150 of file ImageList.cpp.
References Isis::ImageDisplayProperties::Color, Isis::Image::displayProperties(), Isis::DisplayProperties::getValue(), Isis::ImageDisplayProperties::setColor(), and Isis::Color::toRGBAString().
Referenced by askAndUpdateColor().
|
private |
Sets the color values of every image to a random color.
Preserves the alpha values of each individual image.
Definition at line 1177 of file ImageList.cpp.
References Isis::ImageDisplayProperties::Color, Isis::Image::displayProperties(), Isis::DisplayProperties::getValue(), Isis::ImageDisplayProperties::randomColor(), Isis::ImageDisplayProperties::setColor(), and Isis::Color::toRGBAString().
|
privateslot |
Changes the visibility of the DNs of the first image in the image list and synchronizes the visibility of the DNs of every other image with the visibility of the DNs of the first image.
Definition at line 1245 of file ImageList.cpp.
References Isis::Image::displayProperties(), Isis::DisplayProperties::getValue(), Isis::ImageDisplayProperties::setShowDNs(), and Isis::ImageDisplayProperties::ShowDNs.
Referenced by supportedActions().
|
privateslot |
Changes the visibility of the fill area of the first image in the image list and synchronizes the visibility of the fill areas of every other image with the visibility of fill area of the first image.
Definition at line 1273 of file ImageList.cpp.
References Isis::Image::displayProperties(), Isis::DisplayProperties::getValue(), Isis::ImageDisplayProperties::setShowFill(), and Isis::ImageDisplayProperties::ShowFill.
Referenced by supportedActions().
|
privateslot |
Changes the visibility of the display name of the first image in the image list and synchronizes the visibility of the display names of every other image with the visibility of the display name of the first image.
Definition at line 1301 of file ImageList.cpp.
References Isis::Image::displayProperties(), Isis::DisplayProperties::getValue(), Isis::ImageDisplayProperties::setShowLabel(), and Isis::ImageDisplayProperties::ShowLabel.
Referenced by supportedActions().
|
privateslot |
Changes the visibility of the outline of the first image in the image list and synchronizes the visibility of the outlines of every other image with the visibility of the outline of the first image.
Definition at line 1329 of file ImageList.cpp.
References Isis::Image::displayProperties(), Isis::DisplayProperties::getValue(), Isis::ImageDisplayProperties::setShowOutline(), and Isis::ImageDisplayProperties::ShowOutline.
Referenced by supportedActions().
SerialNumberList * Isis::ImageList::serialNumberList | ( | ) |
Creates a SerialNumberList from the image list.
Definition at line 135 of file ImageList.cpp.
References Isis::SerialNumberList::add().
void Isis::ImageList::setName | ( | QString | newName | ) |
Set the human-readable name of this image list.
This is really only useful for project image lists (not anonymous temporary ones).
newName | The name to give this image list |
Definition at line 703 of file ImageList.cpp.
References m_name.
Referenced by Isis::ProjectItemModel::setData().
void Isis::ImageList::setPath | ( | QString | newPath | ) |
Set the relative path (from the project root) to this image list's folder.
This is really only useful for project image lists (not anonymous temporary ones).
newPath | The path to the images in this image list |
Definition at line 714 of file ImageList.cpp.
References m_path.
|
privateslot |
This applies a new semi-random color to every image's display property for every image in this image list.
Definition at line 1231 of file ImageList.cpp.
References Isis::Image::displayProperties(), Isis::ImageDisplayProperties::randomColor(), and Isis::ImageDisplayProperties::setColor().
Referenced by supportedActions().
Gets a list of pre-connected actions that have to do with display.
If any image does not support a given set of actions, then those will actions will be skipped for all images.
project | The project that owns the images in the imageList. |
Definition at line 565 of file ImageList.cpp.
References allSupport(), askAndUpdateAlpha(), askAndUpdateColor(), Isis::ImageListActionWorkOrder::ChangeColor, Isis::ImageListActionWorkOrder::ChangeTransparency, Isis::ImageDisplayProperties::Color, createWorkOrder(), Isis::Image::displayProperties(), Isis::ImageListActionWorkOrder::MoveDownOne, Isis::ImageListActionWorkOrder::MoveToBottom, Isis::ImageListActionWorkOrder::MoveToTop, Isis::ImageListActionWorkOrder::MoveUpOne, Isis::ImageListActionWorkOrder::RandomizeColor, saveAndToggleShowDNs(), saveAndToggleShowFill(), saveAndToggleShowLabel(), saveAndToggleShowOutline(), Isis::ImageDisplayProperties::ShowDNs, Isis::ImageDisplayProperties::ShowFill, Isis::ImageDisplayProperties::ShowLabel, Isis::ImageDisplayProperties::ShowOutline, showRandomColor(), Isis::ImageListActionWorkOrder::ToggleShowCubeData, Isis::ImageListActionWorkOrder::ToggleShowFilled, Isis::ImageListActionWorkOrder::ToggleShowLabel, Isis::ImageListActionWorkOrder::ToggleShowOutline, Isis::ImageListActionWorkOrder::ZoomFit, Isis::ImageDisplayProperties::Zooming, and Isis::ImageDisplayProperties::ZOrdering.
Referenced by Isis::MosaicSceneItem::contextMenuEvent(), and Isis::MosaicSceneWidget::contextMenuEvent().
Swaps the image list with another list of images.
other | The list of images to swapped with. |
Definition at line 376 of file ImageList.cpp.
Image * Isis::ImageList::takeAt | ( | int | i | ) |
Removes the image at an index and returns it.
i | The index of the image to be removed and returned. |
Definition at line 394 of file ImageList.cpp.
Image * Isis::ImageList::takeFirst | ( | ) |
Removes and returns the first image.
Definition at line 408 of file ImageList.cpp.
Image * Isis::ImageList::takeLast | ( | ) |
Removes and returns the last image.
Definition at line 422 of file ImageList.cpp.
|
private |
This stores the image list's name.
Definition at line 242 of file ImageList.h.
Referenced by ImageList(), name(), operator=(), save(), and setName().
|
private |
This stores the directory name that contains the images in this image list.
For example: import1 or import2
This path is relative to Project::imageDataRoot()
Definition at line 254 of file ImageList.h.
Referenced by deleteFromDisk(), ImageList(), operator=(), path(), save(), and setPath().