VTK  9.3.0
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:
55 
56  // Usual data generation method
58 
59  int ExtractCells(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
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
extract cells within a dataset that contain the locations listen in the vtkSelection.
~vtkExtractSelectedLocations() override
static vtkExtractSelectedLocations * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
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 ExtractCells(vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output)
abstract base class for all extract selection filters.
extract a subset from a vtkDataSet.
a simple class to control print indentation
Definition: vtkIndent.h:38
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:59
#define VTK_DEPRECATED_IN_9_2_0(reason)