VTK
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 
32 #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
52  vtkInformationVector *) override;
53 
54  int ExtractCells(vtkSelectionNode *sel, vtkDataSet *input,
55  vtkDataSet *output);
56  int ExtractPoints(vtkSelectionNode *sel, vtkDataSet *input,
57  vtkDataSet *output);
58 
59 private:
61  void operator=(const vtkExtractSelectedLocations&) = delete;
62 };
63 
64 #endif
A node in a selection tree.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
static vtkDataObjectAlgorithm * New()
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:63
a simple class to control print indentation
Definition: vtkIndent.h:39
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.