ParaView
vtkExtractScatterPlot.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractScatterPlot.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkExtractScatterPlot_h
30 #define vtkExtractScatterPlot_h
31 
32 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
33 #include "vtkPolyDataAlgorithm.h"
34 
35 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkExtractScatterPlot : public vtkPolyDataAlgorithm
36 {
37 public:
38  static vtkExtractScatterPlot* New();
39  vtkTypeMacro(vtkExtractScatterPlot, vtkPolyDataAlgorithm);
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
47  vtkSetClampMacro(XComponent, int, 0, VTK_INT_MAX);
48  vtkGetMacro(XComponent, int);
50 
52 
56  vtkSetClampMacro(YComponent, int, 0, VTK_INT_MAX);
57  vtkGetMacro(YComponent, int);
59 
61 
64  vtkSetClampMacro(XBinCount, int, 1, VTK_INT_MAX);
65  vtkGetMacro(XBinCount, int);
67 
69 
72  vtkSetClampMacro(YBinCount, int, 1, VTK_INT_MAX);
73  vtkGetMacro(YBinCount, int);
75 
76 private:
78  vtkExtractScatterPlot(const vtkExtractScatterPlot&) VTK_DELETE_FUNCTION;
79  void operator=(const vtkExtractScatterPlot&) VTK_DELETE_FUNCTION;
81 
82  virtual int FillInputPortInformation(int port, vtkInformation* info);
83  virtual int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
84  vtkInformationVector* outputVector);
85 
86  int XComponent;
87  int YComponent;
88  int XBinCount;
89  int YBinCount;
90 };
91 
92 #endif
Extract a scatter plot (two-dimensional histogram) from any dataset.