|
VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPOutlineCornerFilter.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 =========================================================================*/ 00024 #ifndef vtkPOutlineCornerFilter_h 00025 #define vtkPOutlineCornerFilter_h 00026 00027 #include "vtkFiltersParallelModule.h" // For export macro 00028 #include "vtkPolyDataAlgorithm.h" 00029 class vtkOutlineCornerSource; 00030 class vtkMultiProcessController; 00031 class vtkAppendPolyData; 00032 class vtkPOutlineFilterInternals; 00033 00034 class VTKFILTERSPARALLEL_EXPORT vtkPOutlineCornerFilter : public vtkPolyDataAlgorithm 00035 { 00036 public: 00037 vtkTypeMacro(vtkPOutlineCornerFilter,vtkPolyDataAlgorithm); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 static vtkPOutlineCornerFilter *New(); 00042 00044 00049 virtual void SetCornerFactor(double cornerFactor); 00050 virtual double GetCornerFactorMinValue() { return 0.001;} 00051 virtual double GetCornerFactorMaxValue() { return 0.5; } 00053 00054 vtkGetMacro(CornerFactor, double); 00055 00057 00058 virtual void SetController(vtkMultiProcessController*); 00059 vtkGetObjectMacro(Controller, vtkMultiProcessController); 00061 00062 protected: 00063 vtkPOutlineCornerFilter(); 00064 ~vtkPOutlineCornerFilter(); 00065 00066 vtkMultiProcessController* Controller; 00067 vtkOutlineCornerSource *OutlineCornerSource; 00068 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00069 virtual int FillInputPortInformation(int port, vtkInformation *info); 00070 00071 double CornerFactor; 00072 private: 00073 vtkPOutlineCornerFilter(const vtkPOutlineCornerFilter&); // Not implemented. 00074 void operator=(const vtkPOutlineCornerFilter&); // Not implemented. 00075 00076 vtkPOutlineFilterInternals* Internals; 00077 }; 00078 00079 #endif
1.8.0