VTK  9.2.6
vtkExtractSelectedLocations.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractSelectedLocations.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 =========================================================================*/
45 #ifndef vtkExtractSelectedLocations_h
46 #define vtkExtractSelectedLocations_h
47 
48 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
50 #include "vtkFiltersExtractionModule.h" // For export macro
51 
52 class vtkSelection;
53 class vtkSelectionNode;
54 
56  VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedLocations : public vtkExtractSelectionBase
57 {
58 public:
61  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
63 protected:
65  ~vtkExtractSelectedLocations() override;
66 
67  // Usual data generation method
69 
70  int ExtractCells(vtkSelectionNode* sel, vtkDataSet* input, vtkDataSet* output);
71  int ExtractPoints(vtkSelectionNode* sel, vtkDataSet* input, vtkDataSet* output);
72 
73 private:
75  void operator=(const vtkExtractSelectedLocations&) = delete;
76 };
77 
78 #endif
79 
80 // 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:62
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:59
a simple class to control print indentation
Definition: vtkIndent.h:39
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.