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 
34 
35 class vtkSelection;
36 class vtkSelectionNode;
37 
39 {
40 public:
41  static vtkExtractSelectedIds *New();
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
45 protected:
48 
49  // Overridden to indicate that the input must be a vtkDataSet.
51 
52  // Usual data generation method
53  virtual int RequestData(vtkInformation *,
56 
57 
58  int ExtractCells(vtkSelectionNode *sel, vtkDataSet *input,
59  vtkDataSet *output);
60  int ExtractPoints(vtkSelectionNode *sel, vtkDataSet *input,
61  vtkDataSet *output);
62 
63 private:
64  vtkExtractSelectedIds(const vtkExtractSelectedIds&); // Not implemented.
65  void operator=(const vtkExtractSelectedIds&); // Not implemented.
66 };
67 
68 #endif