File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis Developer Reference
AbstractImageItem.h
Go to the documentation of this file.
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();
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::isDataEditable
bool isDataEditable(QString columnTitle) const
Definition: AbstractImageItem.cpp:57
Isis::AbstractTreeItem::parent
AbstractTreeItem * parent() const
Definition: AbstractTreeItem.cpp:46
Isis::AbstractImageItem::setData
void setData(QString const &columnTitle, QString const &newData)
Definition: AbstractImageItem.cpp:52
Isis::AbstractTreeItem::hasImage
virtual bool hasImage(QString imageSerial) const
Definition: AbstractTreeItem.cpp:106
Isis::AbstractImageItem::~AbstractImageItem
virtual ~AbstractImageItem()
Definition: AbstractImageItem.cpp:31
Isis::AbstractImageItem::hasImage
bool hasImage(QString imageSerial) const
Definition: AbstractImageItem.cpp:75
AbstractImageItem.h
Isis::AbstractImageItem
Base class for an image item in the tree.
Definition: AbstractImageItem.h:34
ControlNet.h
Isis::AbstractTreeItem::calcDataWidth
virtual void calcDataWidth(int avgCharWidth)
Definition: AbstractTreeItem.cpp:194
Isis::AbstractImageItem::getData
QVariant getData() const
Definition: AbstractImageItem.cpp:39
Isis::AbstractImageItem::getPointerType
InternalPointerType getPointerType() const
Definition: AbstractImageItem.cpp:65
AbstractTreeItem.h
Isis::AbstractImageItem::getPointer
void * getPointer() const
Definition: AbstractImageItem.cpp:70
Isis::ControlNet
a control network
Definition: ControlNet.h:257
Isis::AbstractImageItem::AbstractImageItem
AbstractImageItem(QString imageSerial, ControlNet *net, int avgCharWidth, AbstractTreeItem *parent=0)
Definition: AbstractImageItem.cpp:23
QPair
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
Isis::AbstractTreeItem::ImageAndNet
@ ImageAndNet
Definition: AbstractTreeItem.h:48
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::AbstractImageItem::deleteSource
void deleteSource()
Definition: AbstractImageItem.cpp:62
IsisDebug.h
Isis::AbstractTreeItem
Base class for an item in the tree.
Definition: AbstractTreeItem.h:39
Isis::AbstractTreeItem::InternalPointerType
InternalPointerType
Definition: AbstractTreeItem.h:44
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: 03/21/2022 06:50:28