VTK  9.1.0
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
38class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedRows : public vtkTableAlgorithm
39{
40public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
49
54
58 int FillInputPortInformation(int port, vtkInformation* info) override;
59
61
65 vtkSetMacro(AddOriginalRowIdsArray, bool);
66 vtkGetMacro(AddOriginalRowIdsArray, bool);
67 vtkBooleanMacro(AddOriginalRowIdsArray, bool);
69
70protected:
73
75
77
78private:
80 void operator=(const vtkExtractSelectedRows&) = delete;
81};
82
83#endif
Proxy object to connect input/output ports.
return selected rows of a table
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkExtractSelectedRows() override
int FillInputPortInformation(int port, vtkInformation *info) override
Specify the first vtkGraph input and the second vtkSelection input.
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetAnnotationLayersConnection(vtkAlgorithmOutput *in)
A convenience method for setting the third input (i.e.
static vtkExtractSelectedRows * New()
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkTables as output.