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 "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
33 #include "vtkPolyDataAlgorithm.h"
34 
36 {
37 public:
38  static vtkExtractScatterPlot* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
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:
79  void operator=(const vtkExtractScatterPlot&) = delete;
80  ~vtkExtractScatterPlot() override;
81 
82  int FillInputPortInformation(int port, vtkInformation* info) override;
83  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
84  vtkInformationVector* outputVector) override;
85 
86  int XComponent;
87  int YComponent;
88  int XBinCount;
89  int YBinCount;
90 };
91 
92 #endif
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Extract a scatter plot (two-dimensional histogram) from any dataset.
static vtkPolyDataAlgorithm * New()
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
void operator=(const vtkObjectBase &)