Isis 3.0 Programmer Reference
Back | Home
AbstractImageItem.h
1 #ifndef AbstractImageItem_H
2 #define AbstractImageItem_H
3 
4 
5 #include "AbstractTreeItem.h"
6 
7 
8 class QString;
9 class QVariant;
10 
11 
12 namespace Isis {
13  class ControlCubeGraphNode;
14 
15  namespace CnetViz {
16 
28  class AbstractImageItem : public virtual AbstractTreeItem {
29  public:
31  int avgCharWidth, AbstractTreeItem *parent = 0);
32  virtual ~AbstractImageItem();
33 
34  QVariant getData() const;
35  QVariant getData(QString columnTitle) const;
36  void setData(QString const &columnTitle, QString const &newData);
37  bool isDataEditable(QString columnTitle) const;
38  void deleteSource();
39  InternalPointerType getPointerType() const;
40  void *getPointer() const;
41  bool hasNode(ControlCubeGraphNode *) const;
42 
43 
44  protected:
45  virtual void sourceDeleted();
46 
47  private: // disable copying of this class
49  const AbstractImageItem &operator=(const AbstractImageItem &other);
50 
51 
52  private:
53  ControlCubeGraphNode *m_ccgn;
54  };
55  }
56 }
57 
58 #endif
Serial Number with added functionality for Control Networks.
Base class for an image item in the tree.
Base class for an item in the tree.

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:13:36