VTK: Filters/Extraction/vtkExtractSelectedRows.h Source File

| 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();
27 vtkTypeMacro(vtkExtractSelectedRows, vtkTableAlgorithm);
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
33 void SetSelectionConnection(vtkAlgorithmOutput* in);
34
38 void SetAnnotationLayersConnection(vtkAlgorithmOutput* in);
39
43 int FillInputPortInformation(int port, vtkInformation* info) override;
44
46
50 vtkSetMacro(AddOriginalRowIdsArray, bool);
51 vtkGetMacro(AddOriginalRowIdsArray, bool);
52 vtkBooleanMacro(AddOriginalRowIdsArray, bool);
54
55 protected:
56 vtkExtractSelectedRows();
57 ~vtkExtractSelectedRows() override;
58
59 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
60
61 bool AddOriginalRowIdsArray;
62
63 private:
64 vtkExtractSelectedRows(const vtkExtractSelectedRows&) = delete;
65 void operator=(const vtkExtractSelectedRows&) = delete;
66 };
67
68 VTK_ABI_NAMESPACE_END
69 #endif
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:41
vtkExtractSelectedRows
return selected rows of a table
Definition: vtkExtractSelectedRows.h:24
vtkExtractSelectedRows::vtkExtractSelectedRows
vtkExtractSelectedRows()
vtkExtractSelectedRows::AddOriginalRowIdsArray
bool AddOriginalRowIdsArray
Definition: vtkExtractSelectedRows.h:61
vtkExtractSelectedRows::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractSelectedRows::~vtkExtractSelectedRows
~vtkExtractSelectedRows() override
vtkExtractSelectedRows::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Specify the first vtkGraph input and the second vtkSelection input.
vtkExtractSelectedRows::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
vtkExtractSelectedRows::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractSelectedRows::SetAnnotationLayersConnection
void SetAnnotationLayersConnection(vtkAlgorithmOutput *in)
A convenience method for setting the third input (i.e.
vtkExtractSelectedRows::New
static vtkExtractSelectedRows * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:37
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkTableAlgorithm.h