VTK
vtkExtractSelectedRows.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractSelectedRows.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
32 #ifndef vtkExtractSelectedRows_h
33 #define vtkExtractSelectedRows_h
34 
35 #include "vtkFiltersExtractionModule.h" // For export macro
36 #include "vtkTableAlgorithm.h"
37 
38 
39 class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedRows : public vtkTableAlgorithm
40 {
41 public:
42  static vtkExtractSelectedRows* New();
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
49  void SetSelectionConnection(vtkAlgorithmOutput* in);
50 
54  void SetAnnotationLayersConnection(vtkAlgorithmOutput* in);
55 
60 
62 
66  vtkSetMacro(AddOriginalRowIdsArray, bool);
67  vtkGetMacro(AddOriginalRowIdsArray, bool);
68  vtkBooleanMacro(AddOriginalRowIdsArray, bool);
70 
71 protected:
73  ~vtkExtractSelectedRows() override;
74 
75  int RequestData(
78  vtkInformationVector*) override;
79 
81 private:
83  void operator=(const vtkExtractSelectedRows&) = delete;
84 };
85 
86 #endif
87 
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:39
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.