00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOutlineFilter.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 =========================================================================*/ 00026 #ifndef __vtkOutlineFilter_h 00027 #define __vtkOutlineFilter_h 00028 00029 #include "vtkPolyDataAlgorithm.h" 00030 00031 class vtkOutlineSource; 00032 00033 class VTK_GRAPHICS_EXPORT vtkOutlineFilter : public vtkPolyDataAlgorithm 00034 { 00035 public: 00036 static vtkOutlineFilter *New(); 00037 vtkTypeRevisionMacro(vtkOutlineFilter,vtkPolyDataAlgorithm); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 00042 vtkSetMacro(GenerateFaces, int); 00043 vtkBooleanMacro(GenerateFaces, int); 00044 vtkGetMacro(GenerateFaces, int); 00046 00047 protected: 00048 vtkOutlineFilter(); 00049 ~vtkOutlineFilter(); 00050 00051 int GenerateFaces; 00052 vtkOutlineSource *OutlineSource; 00053 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00054 virtual int FillInputPortInformation(int port, vtkInformation *info); 00055 00056 private: 00057 vtkOutlineFilter(const vtkOutlineFilter&); // Not implemented. 00058 void operator=(const vtkOutlineFilter&); // Not implemented. 00059 }; 00060 00061 #endif