isis/src/qisis/objs/PlotWindow/PlotWindow.cpp
QList<const QwtPlotSpectrogram *> PlotWindow::plotSpectrograms() const {
    QList<const QwtPlotSpectrogram *> foundSpectrograms;

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

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

      if (item->rtti() == QwtPlotItem::Rtti_PlotSpectrogram) {
        const QwtPlotSpectrogram *spectrogram =
            dynamic_cast<const QwtPlotSpectrogram *>(item);

        if (spectrogram)
          foundSpectrograms.append(spectrogram);
      }
    }

    return foundSpectrograms;
  }
/**
   * Get a comprehensive const list of the scatter plots (spectrograms) inside
   *   of this plot window.
   *
   * @return The const spectrograms (scatter plots) contained inside of this
   *         plot window
   */
Get a comprehensive const list of the scatter plots (spectrograms) inside
of this plot window.

@return The const spectrograms (scatter plots) contained inside of this
plot window
Get a comprehensive const list of the scatter plots ( spectrograms ) inside of this plot window . @return The const spectrograms ( scatter plots ) contained inside of this plot window
QList<const QwtPlotSpectrogram *> PlotWindow::plotSpectrograms() const {
    QList<const QwtPlotSpectrogram *> foundSpectrograms;
    const QwtPlotItemList &plotItems = m_plot->itemList();
    for (int itemIndex = 0; itemIndex < plotItems.size(); itemIndex++) {
      const QwtPlotItem *item = plotItems[itemIndex];
      if (item->rtti() == QwtPlotItem::Rtti_PlotSpectrogram) {
        const QwtPlotSpectrogram *spectrogram =
            dynamic_cast<const QwtPlotSpectrogram *>(item);
        if (spectrogram)
          foundSpectrograms.append(spectrogram);
      }
    }
    return foundSpectrograms;
  }
QList < const QwtPlotSpectrogram * > PlotWindow :: plotSpectrograms ( ) const { QList < const QwtPlotSpectrogram * > foundSpectrograms ; const QwtPlotItemList & plotItems = m_plot -> itemList ( ) ; for ( int itemIndex = 0 ; itemIndex < plotItems . size ( ) ; itemIndex ++ ) { const QwtPlotItem * item = plotItems [ itemIndex ] ; if ( item -> rtti ( ) == QwtPlotItem :: Rtti_PlotSpectrogram ) { const QwtPlotSpectrogram * spectrogram = dynamic_cast < const QwtPlotSpectrogram * > ( item ) ; if ( spectrogram ) foundSpectrograms . append ( spectrogram ) ; } } return foundSpectrograms ; }
Get a comprehensive const list of the scatter plots (spectrograms) inside
   of this plot window.
Get a comprehensive const list of the scatter plots ( spectrograms ) inside of this plot window .