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