Isis 3.0 Programmer Reference
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Isis 3.0 Programmer Reference
Isis 3.0 Object Documentation
Todo List
Deprecated List
History
Modules
Namespaces
Classes
Files
File List
File Members
ImageImageTreeModel.h
1
#ifndef ImageImageTreeModel_H
2
#define ImageImageTreeModel_H
3
4
5
// parent
6
#include "AbstractTreeModel.h"
7
8
// parent of inner class
9
#include <functional>
10
11
12
template
<
typename
A>
class
QFutureWatcher
;
13
class
QString;
14
15
16
namespace
Isis {
17
class
ControlCubeGraphNode;
18
class
ControlNet;
19
20
namespace
CnetViz {
21
class
TreeView;
22
class
ImageParentItem;
23
41
class
ImageImageTreeModel
:
public
AbstractTreeModel
{
42
Q_OBJECT
43
44
public
:
45
ImageImageTreeModel
(
ControlNet
*cNet,
TreeView
*v,
46
QObject
*parent = 0);
47
virtual
~
ImageImageTreeModel
();
48
49
// This is a slot!!! There is no "pubic slots:" because it has already
50
// been marked as a slot in the parent (pure virtual). Adding the slots
51
// keyword here would do nothing except make more work for both MOC and
52
// the compiler!
53
void
rebuildItems();
54
55
56
private
:
63
class
CreateRootItemFunctor
:
public
std::unary_function <
64
ControlCubeGraphNode *const &, ImageParentItem * > {
65
public
:
66
CreateRootItemFunctor
(
AbstractTreeModel
*tm,
QThread
*tt);
67
CreateRootItemFunctor
(
const
CreateRootItemFunctor
&);
68
~
CreateRootItemFunctor
();
69
ImageParentItem
*operator()(
ControlCubeGraphNode
*
const
&)
70
const
;
71
CreateRootItemFunctor
&operator=(
const
CreateRootItemFunctor
&);
72
73
static
void
addToRootItem(
QAtomicPointer< RootItem >
&,
74
ImageParentItem
*
const
&);
75
76
private
:
77
int
m_avgCharWidth;
78
AbstractTreeModel
*m_treeModel;
79
QThread
*m_targetThread;
80
};
81
};
82
}
83
}
84
85
#endif
Isis::ControlCubeGraphNode
Serial Number with added functionality for Control Networks.
Definition:
ControlCubeGraphNode.h:67
Isis::CnetViz::TreeView
Definition:
TreeView.h:23
QAtomicPointer
Definition:
ConcurrentControlNetReader.h:35
Isis::ControlNet
a control network
Definition:
ControlNet.h:207
QFutureWatcher
Definition:
AbstractTableModel.h:16
Isis::CnetViz::AbstractTreeModel
Base class for tree models.
Definition:
AbstractTreeModel.h:40
QThread
QObject
Isis::CnetViz::ImageImageTreeModel::CreateRootItemFunctor
Definition:
ImageImageTreeModel.h:63
Isis::CnetViz::ImageImageTreeModel
Tree model for images and images.
Definition:
ImageImageTreeModel.h:41
Isis::CnetViz::ImageParentItem
Tree item that is a parent and represents an image.
Definition:
ImageParentItem.h:24
U.S. Department of the Interior
|
U.S. Geological Survey
ISIS
|
Privacy & Disclaimers
|
Astrogeology Research Program
To contact us, please post comments and questions on the
ISIS Support Center
File Modified: 07/12/2023 23:20:07