VTK  9.1.0
vtkExtractSelectedIds.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractSelectedIds.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 =========================================================================*/
50 #ifndef vtkExtractSelectedIds_h
51 #define vtkExtractSelectedIds_h
52 
54 #include "vtkFiltersExtractionModule.h" // For export macro
55 
56 class vtkSelection;
57 class vtkSelectionNode;
58 
59 class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedIds : public vtkExtractSelectionBase
60 {
61 public:
64  void PrintSelf(ostream& os, vtkIndent indent) override;
65 
66 protected:
69 
70  // Overridden to indicate that the input must be a vtkDataSet.
72 
73  // Usual data generation method
75 
76  int ExtractCells(vtkSelectionNode* sel, vtkDataSet* input, vtkDataSet* output);
78 
79 private:
81  void operator=(const vtkExtractSelectedIds&) = delete;
82 };
83 
84 #endif
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
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.
a simple class to control print indentation
Definition: vtkIndent.h:113
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:163
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453