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

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

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

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

        if (curve && curve->color().alpha() != 0)
          foundCurves.append(curve);
      }
    }

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

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