VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkExtractSelectedPolyDataIds.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00027 #ifndef __vtkExtractSelectedPolyDataIds_h 00028 #define __vtkExtractSelectedPolyDataIds_h 00029 00030 #include "vtkFiltersExtractionModule.h" // For export macro 00031 #include "vtkPolyDataAlgorithm.h" 00032 00033 class vtkSelection; 00034 00035 class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedPolyDataIds : public vtkPolyDataAlgorithm 00036 { 00037 public: 00038 vtkTypeMacro(vtkExtractSelectedPolyDataIds,vtkPolyDataAlgorithm); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 static vtkExtractSelectedPolyDataIds *New(); 00041 00042 protected: 00043 vtkExtractSelectedPolyDataIds(); 00044 ~vtkExtractSelectedPolyDataIds(); 00045 00046 int FillInputPortInformation(int port, vtkInformation* info); 00047 00048 // Usual data generation method 00049 int RequestData(vtkInformation *, 00050 vtkInformationVector **, 00051 vtkInformationVector *); 00052 00053 private: 00054 vtkExtractSelectedPolyDataIds(const vtkExtractSelectedPolyDataIds&); // Not implemented. 00055 void operator=(const vtkExtractSelectedPolyDataIds&); // Not implemented. 00056 }; 00057 00058 #endif