isis/src/qisis/objs/PlotWindow/PlotWindow.cpp
QList<const CubePlotCurve *> PlotWindow::plotCurves() const {
    QList<const CubePlotCurve *> foundCurves;

    const QwtPlotItemList &plotItems = m_plot->itemList();

    for (int itemIndex = 0; itemIndex < plotItems.size(); itemIndex++) {
      const QwtPlotItem *item = plotItems[itemIndex];

      if (item->rtti() == QwtPlotItem::Rtti_PlotCurve) {
        const CubePlotCurve *curve = dynamic_cast<const CubePlotCurve *>(item);

        if (curve)
          foundCurves.append(curve);
      }
    }

    return foundCurves;
  }
/**
   * Get a comprehensive const list of the plot curves inside of this plot
   *   window, excluding plot curves that are in the process of being removed.
   *
   * @return The const plot curves contained inside of this plot window
   */
Get a comprehensive const list of the plot curves inside of this plot
window, excluding plot curves that are in the process of being removed.

@return The const plot curves contained inside of this plot window
Get a comprehensive const list of the plot curves inside of this plot window excluding plot curves that are in the process of being removed . @return The const plot curves contained inside of this plot window
QList<const CubePlotCurve *> PlotWindow::plotCurves() const {
    QList<const CubePlotCurve *> foundCurves;
    const QwtPlotItemList &plotItems = m_plot->itemList();
    for (int itemIndex = 0; itemIndex < plotItems.size(); itemIndex++) {
      const QwtPlotItem *item = plotItems[itemIndex];
      if (item->rtti() == QwtPlotItem::Rtti_PlotCurve) {
        const CubePlotCurve *curve = dynamic_cast<const CubePlotCurve *>(item);
        if (curve)
          foundCurves.append(curve);
      }
    }
    return foundCurves;
  }
QList < const CubePlotCurve * > PlotWindow :: plotCurves ( ) const { QList < const CubePlotCurve * > foundCurves ; const QwtPlotItemList & plotItems = m_plot -> itemList ( ) ; for ( int itemIndex = 0 ; itemIndex < plotItems . size ( ) ; itemIndex ++ ) { const QwtPlotItem * item = plotItems [ itemIndex ] ; if ( item -> rtti ( ) == QwtPlotItem :: Rtti_PlotCurve ) { const CubePlotCurve * curve = dynamic_cast < const CubePlotCurve * > ( item ) ; if ( curve ) foundCurves . append ( curve ) ; } } return foundCurves ; }
Get a comprehensive const list of the plot curves inside of this plot
   window, excluding plot curves that are in the process of being removed.
Get a comprehensive const list of the plot curves inside of this plot window excluding plot curves that are in the process of being removed .