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
A node in a selection tree. Used to store selection results.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
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:43
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
Store zero or more vtkInformation instances.
virtual int FillInputPortInformation(int port, vtkInformation *info)