An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis Developer Reference
|
Tree model for images and control points. More...
#include <ImagePointTreeModel.h>
Public Types | |
enum | InterestingItems { PointItems = 1 , MeasureItems = 2 , ImageItems = 4 , AllItems = PointItems | MeasureItems | ImageItems } |
Public Slots | |
void | applyFilter () |
Signals | |
void | cancelSort () |
void | modelModified () |
void | filterProgressChanged (int) |
void | filterProgressRangeChanged (int, int) |
void | rebuildProgressChanged (int) |
void | rebuildProgressRangeChanged (int, int) |
void | treeSelectionChanged (QList< AbstractTreeItem * >) |
void | tableSelectionChanged (QList< AbstractTreeItem * >) |
void | filterCountsChanged (int visibleTopLevelItemCount, int topLevelItemCount) |
This signal is emitted after filtering to provide the number of visible top-level items remaining after the filter was applied, as well as the total number of items that were possible. | |
Public Member Functions | |
ImagePointTreeModel (ControlNet *cNet, TreeView *v, QObject *parent=0) | |
virtual | ~ImagePointTreeModel () |
void | rebuildItems () |
QList< AbstractTreeItem * > | getItems (int, int, InterestingItemsFlag=AllItems, bool=false) |
QList< AbstractTreeItem * > | getItems (AbstractTreeItem *, AbstractTreeItem *, InterestingItemsFlag=AllItems, bool=false) |
QList< AbstractTreeItem * > | getSelectedItems (InterestingItemsFlag=AllItems, bool=false) |
QMutex * | getMutex () const |
int | getItemCount (InterestingItemsFlag) const |
int | getTopLevelItemCount () const |
int | getVisibleItemCount (InterestingItemsFlag, bool) const |
int | getVisibleTopLevelItemCount () const |
TreeView * | getView () const |
void | setDrivable (bool drivableStatus) |
bool | isDrivable () const |
bool | isFiltering () const |
bool | isRebuilding () const |
void | setRebuilding (bool running) |
void | setFilter (FilterWidget *newFilter) |
void | setGlobalSelection (bool selected, InterestingItemsFlag=AllItems) |
void | stopWorking () |
QSize | getVisibleSize (int indentation) const |
indentation is in pixels | |
int | indexOfVisibleItem (AbstractTreeItem const *item, InterestingItemsFlag=AllItems, bool=false) const |
void | setFrozen (bool) |
bool | isFrozen () const |
void | queueRebuild () |
Protected Member Functions | |
void | clear () |
ControlNet * | getControlNetwork () const |
FilterWidget * | getFilterWidget () const |
QFutureWatcher< QAtomicPointer< RootItem > > * | getRebuildWatcher () const |
RootItem * | getRootItem () const |
Protected Attributes | |
RootItem * | rootItem |
Tree model for images and control points.
This class represents a model that provides access to images and the control points that are contained within. The tree structure is designed such that images are parent nodes with control points as children (leaf) nodes.
This class also provides functionality for the multi-threaded rebuilding of the image-point tree model structure, which is necessary when certain types of changes are made to the underlying control network.
|
inherited |
Isis::ImagePointTreeModel::ImagePointTreeModel | ( | ControlNet * | cNet, |
TreeView * | v, | ||
QObject * | parent = 0 ) |
References Isis::AbstractTreeModel::AbstractTreeModel(), and rebuildItems().
|
virtual |
|
slotinherited |
References cancelSort(), filterCountsChanged(), getTopLevelItemCount(), and rootItem.
Referenced by Isis::AbstractTableModel::applyFilter(), setFilter(), and setFrozen().
|
signalinherited |
|
protectedinherited |
References rootItem.
|
signalinherited |
This signal is emitted after filtering to provide the number of visible top-level items remaining after the filter was applied, as well as the total number of items that were possible.
Referenced by applyFilter(), Isis::ImageImageTreeModel::rebuildItems(), Isis::ImagePointTreeModel::rebuildItems(), and Isis::PointMeasureTreeModel::rebuildItems().
|
signalinherited |
Referenced by AbstractTreeModel().
|
signalinherited |
Referenced by AbstractTreeModel().
|
protectedinherited |
|
protectedinherited |
|
inherited |
References getItemCount(), and rootItem.
Referenced by getItemCount().
|
inherited |
References _FILEINFO_, Isis::IException::Programmer, and rootItem.
|
inherited |
References isFiltering(), Isis::AbstractTreeItem::parent(), and rootItem.
Referenced by Isis::AbstractTableModel::getSortedItems(), and Isis::AbstractTableModel::getSortedItems().
|
inherited |
|
protectedinherited |
|
inherited |
References isFiltering(), Isis::AbstractTreeItem::isSelected(), and rootItem.
Referenced by Isis::MeasureTableModel::getSelectedItems(), and Isis::PointTableModel::getSelectedItems().
|
inherited |
References rootItem.
Referenced by applyFilter(), Isis::ImageImageTreeModel::rebuildItems(), Isis::ImagePointTreeModel::rebuildItems(), and Isis::PointMeasureTreeModel::rebuildItems().
|
inherited |
|
inherited |
References isFiltering(), and rootItem.
Referenced by Isis::MeasureTableModel::getVisibleRowCount(), and Isis::PointTableModel::getVisibleRowCount().
|
inherited |
indentation is in pixels
References AllItems, Isis::AbstractTreeItem::getDataWidth(), Isis::AbstractTreeItem::getDepth(), isFiltering(), and rootItem.
|
inherited |
References Isis::AbstractTreeItem::getNextVisiblePeer(), isFiltering(), and rootItem.
|
inherited |
References isFiltering(), and rootItem.
Referenced by Isis::MeasureTableModel::indexOfVisibleItem(), and Isis::PointTableModel::indexOfVisibleItem().
|
inherited |
|
inherited |
Referenced by getItems(), getSelectedItems(), getVisibleItemCount(), getVisibleSize(), getVisibleTopLevelItemCount(), and indexOfVisibleItem().
|
inherited |
|
inherited |
|
signalinherited |
|
inherited |
|
virtual |
Implements Isis::AbstractTreeModel.
References Isis::AbstractTreeModel::cancelSort(), Isis::AbstractTreeModel::filterCountsChanged(), Isis::AbstractTreeModel::getControlNetwork(), Isis::AbstractTreeModel::getRebuildWatcher(), Isis::AbstractTreeModel::getTopLevelItemCount(), Isis::AbstractTreeModel::isFrozen(), Isis::AbstractTreeModel::queueRebuild(), and Isis::AbstractTreeModel::setRebuilding().
Referenced by ImagePointTreeModel().
|
signalinherited |
Referenced by AbstractTreeModel().
|
signalinherited |
Referenced by AbstractTreeModel().
|
inherited |
|
inherited |
References applyFilter().
|
inherited |
References applyFilter(), and rebuildItems().
|
inherited |
References rootItem.
Referenced by Isis::MeasureTableModel::setGlobalSelection(), and Isis::PointTableModel::setGlobalSelection().
|
inlineinherited |
|
inherited |
|
signalinherited |
|
signalinherited |
|
protectedinherited |