00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPOutlineFilter.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 =========================================================================*/ 00036 #ifndef __vtkPOutlineFilter_h 00037 #define __vtkPOutlineFilter_h 00038 00039 #include "vtkDataSetToPolyDataFilter.h" 00040 class vtkOutlineSource; 00041 class vtkMultiProcessController; 00042 00043 class VTK_PARALLEL_EXPORT vtkPOutlineFilter : public vtkDataSetToPolyDataFilter 00044 { 00045 public: 00046 static vtkPOutlineFilter *New(); 00047 vtkTypeRevisionMacro(vtkPOutlineFilter,vtkDataSetToPolyDataFilter); 00048 void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 00052 virtual void SetController(vtkMultiProcessController*); 00053 vtkGetObjectMacro(Controller, vtkMultiProcessController); 00055 00056 protected: 00057 vtkPOutlineFilter(); 00058 ~vtkPOutlineFilter(); 00059 00060 vtkMultiProcessController* Controller; 00061 vtkOutlineSource *OutlineSource; 00062 void Execute(); 00063 void ExecuteInformation(); 00064 private: 00065 vtkPOutlineFilter(const vtkPOutlineFilter&); // Not implemented. 00066 void operator=(const vtkPOutlineFilter&); // Not implemented. 00067 }; 00068 00069 #endif 00070 00071