VTK  9.3.1
vtkExtractSelectedLocations.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
33 #ifndef vtkExtractSelectedLocations_h
34 #define vtkExtractSelectedLocations_h
35 
36 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
38 #include "vtkFiltersExtractionModule.h" // For export macro
39 
40 VTK_ABI_NAMESPACE_BEGIN
41 class vtkSelection;
42 class vtkSelectionNode;
43 
45  VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedLocations : public vtkExtractSelectionBase
46 {
47 public:
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
52 protected:
54  ~vtkExtractSelectedLocations() override;
55 
56  // Usual data generation method
58 
59  int ExtractCells(vtkSelectionNode* sel, vtkDataSet* input, vtkDataSet* output);
60  int ExtractPoints(vtkSelectionNode* sel, vtkDataSet* input, vtkDataSet* output);
61 
62 private:
64  void operator=(const vtkExtractSelectedLocations&) = delete;
65 };
66 
67 VTK_ABI_NAMESPACE_END
68 #endif
69 
70 // VTK-HeaderTest-Exclude: vtkExtractSelectedLocations.h
a node in a vtkSelection the defines the selection criteria.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:52
static vtkDataObjectAlgorithm * New()
#define VTK_DEPRECATED_IN_9_2_0(reason)
abstract base class for all extract selection filters.
extract cells within a dataset that contain the locations listen in the vtkSelection.
data object that represents a "selection" in VTK.
Definition: vtkSelection.h:49
a simple class to control print indentation
Definition: vtkIndent.h:28
extract a subset from a vtkDataSet.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.