vtkExtractSelectionRange.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkExtractSelectionRange.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
24 #ifndef vtkExtractSelectionRange_h
25 #define vtkExtractSelectionRange_h
26 
27 #include "vtkPVVTKExtensionsExtractionModule.h" //needed for exports
28 #include "vtkTableAlgorithm.h"
29 
31 {
32 public:
33  static vtkExtractSelectionRange* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
41  vtkSetStringMacro(ArrayName);
42  vtkGetStringMacro(ArrayName);
44 
46 
49  vtkSetMacro(FieldType, int);
50  vtkGetMacro(FieldType, int);
52 
54 
57  vtkSetMacro(Component, int);
58  vtkGetMacro(Component, int);
60 
62 
65  vtkGetVector2Macro(Range, double);
67 
68 protected:
70  ~vtkExtractSelectionRange() override;
71 
72  int FillInputPortInformation(int port, vtkInformation* info) override;
73  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
74  vtkInformationVector* outputVector) override;
75 
76  int FieldType;
77  int Component;
78  char* ArrayName;
79  double Range[2];
80 
81 private:
83  void operator=(const vtkExtractSelectionRange&) = delete;
84 };
85 
86 #endif
compute the range of the input selection.
static vtkTableAlgorithm * New()
#define VTKPVVTKEXTENSIONSEXTRACTION_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)