|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef CubePlotCurve_h
2 #define CubePlotCurve_h
89 QMimeData *createMimeData()
const;
90 QByteArray toByteArray()
const;
91 void mousePressEvent(QMouseEvent *e);
99 QPointer<QWidget> m_legendItem;
102 QString m_originalName;
108 bool m_renameAutomatically;
virtual QString fileName() const
Returns the opened cube's filename.
Definition: Cube.cpp:1563
void updateLegendItemWidget(QWidget *legendItem)
This creates a legend item and overrides events from it.
Definition: CubePlotCurve.cpp:345
void copySource(const CubePlotCurve &other)
This copies the source data from another CubePlotCurve.
Definition: CubePlotCurve.cpp:258
void removing()
This is emitted just before the cube plot curve is deleted.
This is a plot curve with information relating it to a particular cube or region of a cube.
Definition: CubePlotCurve.h:53
Units yUnits() const
Get the units of the y-axis double data.
Definition: PlotCurve.cpp:86
virtual QWidget * legendItem() const
This method is necessary for getting the correct (event filter altered) legend item.
Definition: CubePlotCurve.cpp:224
void paint(CubeViewport *vp, QPainter *painter)
Use information inside of the plot curve to paint onto a cube viewport.
Definition: CubePlotCurve.cpp:171
Definition: PlotCurve.h:44
CubePlotCurve(Units xUnits, Units yUnits)
This constructs a CubePlotCurve...
Definition: CubePlotCurve.cpp:50
void enableAutoRenaming(bool)
This enables/disables the plot curve from changing it's title when the source data changes.
Definition: CubePlotCurve.cpp:247
Units
These are all the possible units for the x or y data in a plot curve.
Definition: PlotCurve.h:54
void setSource(CubeViewport *cvp, QList< QPoint > screenPoints, int band=-1)
Tell this plot curve from where its data originated.
Definition: CubePlotCurve.cpp:323
Q_DECLARE_METATYPE(Isis::CubePlotCurve *)
This allows CubePlotCurves to be stored inside of QVariants.
void cubeToViewport(double sample, double line, int &x, int &y) const
Turns a cube into a viewport.
Definition: CubeViewport.cpp:852
void needsRepaint()
This is emitted when the curve is modified in such a way that it would paint a viewport differently.
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
bool eventFilter(QObject *o, QEvent *e)
This will start the drag & drop operation for these curves.
Definition: CubePlotCurve.cpp:139
QStringList sourceCube() const
This method returns the cube view port associated with the curve.
Definition: CubePlotCurve.cpp:235
Isis exception class.
Definition: IException.h:91
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:122
#define ASSERT(x)
Definition: IsisDebug.h:134
QList< QList< QPointF > > sourceVertices() const
This method returns a list of points which are the vertices of the selected area (by the rubberband) ...
Definition: CubePlotCurve.cpp:213
void setColor(const QColor &color)
Set the color of this curve and it's markers.
Definition: PlotCurve.cpp:97
QByteArray toByteArray() const
Definition: PlotCurve.cpp:262
Units xUnits() const
Get the units of the x-axis double data.
Definition: PlotCurve.cpp:76
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
QByteArray fromByteArray(const QByteArray &classData)
Construct the plot curve given the past results of toByteArray(...).
Definition: PlotCurve.cpp:145
Adds specific functionality to C++ strings.
Definition: IString.h:165
Cube * cube() const
Definition: CubeViewport.h:338
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
QColor color() const
This method returns the color of the curve.
Definition: PlotCurve.cpp:56