00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkExtractSelectedPolyDataIds.h,v $ 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 "vtkPolyDataAlgorithm.h" 00031 00032 class vtkSelection; 00033 00034 class VTK_GRAPHICS_EXPORT vtkExtractSelectedPolyDataIds : public vtkPolyDataAlgorithm 00035 { 00036 public: 00037 vtkTypeRevisionMacro(vtkExtractSelectedPolyDataIds,vtkPolyDataAlgorithm); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 static vtkExtractSelectedPolyDataIds *New(); 00040 00041 protected: 00042 vtkExtractSelectedPolyDataIds(); 00043 ~vtkExtractSelectedPolyDataIds(); 00044 00045 int FillInputPortInformation(int port, vtkInformation* info); 00046 00047 // Usual data generation method 00048 int RequestData(vtkInformation *, 00049 vtkInformationVector **, 00050 vtkInformationVector *); 00051 00052 private: 00053 vtkExtractSelectedPolyDataIds(const vtkExtractSelectedPolyDataIds&); // Not implemented. 00054 void operator=(const vtkExtractSelectedPolyDataIds&); // Not implemented. 00055 }; 00056 00057 #endif