VTK
vtkExtractSelectedIds.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractSelectedIds.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 =========================================================================*/
30 #ifndef vtkExtractSelectedIds_h
31 #define vtkExtractSelectedIds_h
32 
33 #include "vtkFiltersExtractionModule.h" // For export macro
35 
36 class vtkSelection;
37 class vtkSelectionNode;
38 
40 {
41 public:
42  static vtkExtractSelectedIds *New();
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
46 protected:
49 
50  // Overridden to indicate that the input must be a vtkDataSet.
52 
53  // Usual data generation method
54  virtual int RequestData(vtkInformation *,
57 
58 
59  int ExtractCells(vtkSelectionNode *sel, vtkDataSet *input,
60  vtkDataSet *output);
61  int ExtractPoints(vtkSelectionNode *sel, vtkDataSet *input,
62  vtkDataSet *output);
63 
64 private:
65  vtkExtractSelectedIds(const vtkExtractSelectedIds&); // Not implemented.
66  void operator=(const vtkExtractSelectedIds&); // Not implemented.
67 };
68 
69 #endif
A node in a selection tree. Used to store selection results.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
static vtkDataObjectAlgorithm * New()
extract a list of cells from a dataset
abstract base class for all extract selection filters.
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:44
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKFILTERSEXTRACTION_EXPORT
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
virtual int FillInputPortInformation(int port, vtkInformation *info)