isis/src/qisis/objs/ScatterPlotTool/ScatterPlotWindow.cpp
bool ScatterPlotWindow::isXCube(MdiCubeViewport *vp) const {
    return (vp && m_xAxisCube &&
            vp->cube() == m_xAxisCube && vp->grayBand() == m_xAxisCubeBand &&
            vp->isGray());
  }
/**
   * Returns true if the viewport's cube is the cube currently being used on the
   *   x-axis.
   *
   * @param vp The viewport to test for a cube match
   * @return True if the vp is showing the x axis cube data
   */
Returns true if the viewport's cube is the cube currently being used on the
x-axis.

@param vp The viewport to test for a cube match
@return True if the vp is showing the x axis cube data
Returns true if the viewport ' s cube is the cube currently being used on the x - axis . @param vp The viewport to test for a cube match @return True if the vp is showing the x axis cube data
bool ScatterPlotWindow::isXCube(MdiCubeViewport *vp) const {
    return (vp && m_xAxisCube &&
            vp->cube() == m_xAxisCube && vp->grayBand() == m_xAxisCubeBand &&
            vp->isGray());
  }
bool ScatterPlotWindow :: isXCube ( MdiCubeViewport * vp ) const { return ( vp && m_xAxisCube && vp -> cube ( ) == m_xAxisCube && vp -> grayBand ( ) == m_xAxisCubeBand && vp -> isGray ( ) ) ; }
Returns true if the viewport's cube is the cube currently being used on the
   x-axis.
Returns true if the viewport ' s cube is the cube currently being used on the x - axis .