VTK
dox/Filters/Modeling/vtkOutlineFilter.h
Go to the documentation of this file.
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 "vtkFiltersModelingModule.h" // For export macro
00033 #include "vtkPolyDataAlgorithm.h"
00034 
00035 class vtkOutlineSource;
00036 
00037 class VTKFILTERSMODELING_EXPORT vtkOutlineFilter : public vtkPolyDataAlgorithm
00038 {
00039 public:
00040   static vtkOutlineFilter *New();
00041   vtkTypeMacro(vtkOutlineFilter,vtkPolyDataAlgorithm);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00045 
00046   vtkSetMacro(GenerateFaces, int);
00047   vtkBooleanMacro(GenerateFaces, int);
00048   vtkGetMacro(GenerateFaces, int);
00050 
00051 protected:
00052   vtkOutlineFilter();
00053   ~vtkOutlineFilter();
00054 
00055   int GenerateFaces;
00056   vtkOutlineSource *OutlineSource;
00057   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00058   virtual int FillInputPortInformation(int port, vtkInformation *info);
00059 
00060 private:
00061   vtkOutlineFilter(const vtkOutlineFilter&);  // Not implemented.
00062   void operator=(const vtkOutlineFilter&);  // Not implemented.
00063 };
00064 
00065 #endif
00066 // VTK-HeaderTest-Exclude: vtkOutlineFilter.h