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