File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
AbstractImageItem.h
1 #ifndef AbstractImageItem_H
2 #define AbstractImageItem_H
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "AbstractTreeItem.h"
13 
14 class QString;
15 class QVariant;
16 
17 namespace Isis {
18  class ControlNet;
19 
34  class AbstractImageItem : public virtual AbstractTreeItem {
35  public:
36  AbstractImageItem(QString imageSerial, ControlNet *net,
37  int avgCharWidth, AbstractTreeItem *parent = 0);
38  virtual ~AbstractImageItem();
39 
40  QVariant getData() const;
41  QVariant getData(QString columnTitle) const;
42  void setData(QString const &columnTitle, QString const &newData);
43  bool isDataEditable(QString columnTitle) const;
44  void deleteSource();
45  InternalPointerType getPointerType() const;
46  void *getPointer() const;
47  bool hasImage(QString imageSerial) const;
48 
49 
50  protected:
51  virtual void sourceDeleted();
52 
53  private: // disable copying of this class
55  const AbstractImageItem &operator=(const AbstractImageItem &other);
56 
57 
58  private:
59  QPair<QString, ControlNet *> *m_imageAndNet;
60  };
61 }
62 
63 #endif
Isis::AbstractImageItem
Base class for an image item in the tree.
Definition: AbstractImageItem.h:34
Isis::ControlNet
a control network
Definition: ControlNet.h:257
QPair
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
Isis::AbstractImageItem::sourceDeleted
virtual void sourceDeleted()
This method is required to be implemented by the parent AbstractTreeItem class, but for this it's a N...
Definition: AbstractImageItem.cpp:88
Isis::AbstractTreeItem
Base class for an item in the tree.
Definition: AbstractTreeItem.h:39
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16

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 USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/13/2023 15:16:03