VTK  9.3.0
vtkExtractSelectedIds.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
35 #ifndef vtkExtractSelectedIds_h
36 #define vtkExtractSelectedIds_h
37 
38 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
40 #include "vtkFiltersExtractionModule.h" // For export macro
41 
42 VTK_ABI_NAMESPACE_BEGIN
43 class vtkSelection;
44 class vtkSelectionNode;
45 
47  VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedIds : public vtkExtractSelectionBase
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
54 protected:
57 
58  // Overridden to indicate that the input must be a vtkDataSet.
60 
61  // Usual data generation method
63 
64  int ExtractCells(vtkSelectionNode* sel, vtkDataSet* input, vtkDataSet* output);
66 
67 private:
69  void operator=(const vtkExtractSelectedIds&) = delete;
70 };
71 
72 VTK_ABI_NAMESPACE_END
73 #endif
74 
75 // VTK-HeaderTest-Exclude: vtkExtractSelectedIds.h
abstract class to specify dataset behavior
Definition: vtkDataSet.h:53
extract a list of cells from a dataset
~vtkExtractSelectedIds() override
static vtkExtractSelectedIds * New()
int ExtractCells(vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ExtractPoints(vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
abstract base class for all extract selection filters.
extract a subset from a vtkDataSet.
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
a node in a vtkSelection the defines the selection criteria.
data object that represents a "selection" in VTK.
Definition: vtkSelection.h:50
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
#define VTK_DEPRECATED_IN_9_2_0(reason)