00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPOutlineCornerFilter.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 =========================================================================*/ 00035 #ifndef __vtkPOutlineCornerFilter_h 00036 #define __vtkPOutlineCornerFilter_h 00037 00038 #include "vtkDataSetToPolyDataFilter.h" 00039 class vtkOutlineCornerSource; 00040 class vtkMultiProcessController; 00041 00042 class VTK_PARALLEL_EXPORT vtkPOutlineCornerFilter : public vtkDataSetToPolyDataFilter 00043 { 00044 public: 00045 vtkTypeRevisionMacro(vtkPOutlineCornerFilter,vtkDataSetToPolyDataFilter); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 static vtkPOutlineCornerFilter *New(); 00050 00052 00054 vtkSetClampMacro(CornerFactor, double, 0.001, 0.5); 00055 vtkGetMacro(CornerFactor, double); 00057 00059 00060 virtual void SetController(vtkMultiProcessController*); 00061 vtkGetObjectMacro(Controller, vtkMultiProcessController); 00063 00064 protected: 00065 vtkPOutlineCornerFilter(); 00066 ~vtkPOutlineCornerFilter(); 00067 00068 vtkMultiProcessController* Controller; 00069 vtkOutlineCornerSource *OutlineCornerSource; 00070 void Execute(); 00071 void ExecuteInformation(); 00072 00073 double CornerFactor; 00074 private: 00075 vtkPOutlineCornerFilter(const vtkPOutlineCornerFilter&); // Not implemented. 00076 void operator=(const vtkPOutlineCornerFilter&); // Not implemented. 00077 }; 00078 00079 #endif 00080 00081