VTK  9.3.1
vtkExtractSelectedRows.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
16 #ifndef vtkExtractSelectedRows_h
17 #define vtkExtractSelectedRows_h
18 
19 #include "vtkFiltersExtractionModule.h" // For export macro
20 #include "vtkTableAlgorithm.h"
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedRows : public vtkTableAlgorithm
24 {
25 public:
26  static vtkExtractSelectedRows* New();
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
33  void SetSelectionConnection(vtkAlgorithmOutput* in);
34 
38  void SetAnnotationLayersConnection(vtkAlgorithmOutput* in);
39 
44 
46 
50  vtkSetMacro(AddOriginalRowIdsArray, bool);
51  vtkGetMacro(AddOriginalRowIdsArray, bool);
52  vtkBooleanMacro(AddOriginalRowIdsArray, bool);
54 
55 protected:
57  ~vtkExtractSelectedRows() override;
58 
60 
62 
63 private:
65  void operator=(const vtkExtractSelectedRows&) = delete;
66 };
67 
68 VTK_ABI_NAMESPACE_END
69 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
Proxy object to connect input/output ports.
a simple class to control print indentation
Definition: vtkIndent.h:28
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
return selected rows of a table
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.