VTK  9.0.1
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 =========================================================================*/
29 #ifndef vtkExtractSelectedLocations_h
30 #define vtkExtractSelectedLocations_h
31 
33 #include "vtkFiltersExtractionModule.h" // For export macro
34 
35 class vtkSelection;
36 class vtkSelectionNode;
37 
38 class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedLocations : public vtkExtractSelectionBase
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
45 protected:
47  ~vtkExtractSelectedLocations() override;
48 
49  // Usual data generation method
51 
52  int ExtractCells(vtkSelectionNode* sel, vtkDataSet* input, vtkDataSet* output);
53  int ExtractPoints(vtkSelectionNode* sel, vtkDataSet* input, vtkDataSet* output);
54 
55 private:
57  void operator=(const vtkExtractSelectedLocations&) = delete;
58 };
59 
60 #endif
vtkExtractSelectionBase.h
vtkSelectionNode
A node in a selection tree. Used to store selection results.
Definition: vtkSelectionNode.h:61
vtkExtractSelectedLocations
extract cells within a dataset that contain the locations listen in the vtkSelection.
Definition: vtkExtractSelectedLocations.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkSelection
data object that represents a "selection" in VTK.
Definition: vtkSelection.h:57
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkExtractSelectionBase
abstract base class for all extract selection filters.
Definition: vtkExtractSelectionBase.h:30
vtkDataObjectAlgorithm::New
static vtkDataObjectAlgorithm * New()
vtkDataObjectAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkDataObjectAlgorithm.h:116
vtkExtractSelectionBase::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.