text: /*=========================================================================
  
    Program:   Visualization Toolkit
    Module:    $RCSfile$
  
    Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
    All rights reserved.
    See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
  
       This software is distributed WITHOUT ANY WARRANTY; without even
       the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
       PURPOSE.  See the above copyright notice for more information.
  
  =========================================================================*/
  
  // .NAME vtkPlotPoints - Class for drawing an XY plot given two columns from a
  // vtkTable.
  //
  // .SECTION Description
  //
  
  #ifndef __vtkPlotPoints_h
  #define __vtkPlotPoints_h
  
  #include "vtkPlot.h"
  
  class vtkContext2D;
  class vtkTable;
  class vtkPoints2D;
  class vtkStdString;
  
  class VTK_CHARTS_EXPORT vtkPlotPoints : public vtkPlot
  {
  public:
    vtkTypeRevisionMacro(vtkPlotPoints, vtkPlot);
    virtual void PrintSelf(ostream &os, vtkIndent indent);
  
    // Description:
    // Creates a 2D Chart object.
    static vtkPlotPoints *New();
  
    // Description:
    // Paint event for the XY plot, called whenever the chart needs to be drawn
    virtual bool Paint(vtkContext2D *painter);
  
    // Description:
    // Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
    virtual void GetBounds(double bounds[4]);
  
  //BTX
  protected:
    vtkPlotPoints();
    ~vtkPlotPoints();
  
    // Description:
    // Update the table cache.
    bool UpdateTableCache(vtkTable *table);
  
    // Description:
    // Store a well packed set of XY coordinates for this data series.
    vtkPoints2D *Points;
  
    // Description:
    // The point cache is marked dirty until it has been initialized.
    vtkTimeStamp BuildTime;
  
  private:
    vtkPlotPoints(const vtkPlotPoints &); // Not implemented.
    void operator=(const vtkPlotPoints &); // Not implemented.
  
  //ETX
  };
  
  #endif //__vtkPlotPoints_h
  