VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkRotationalExtrusionFilter.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 =========================================================================*/ 00063 #ifndef __vtkRotationalExtrusionFilter_h 00064 #define __vtkRotationalExtrusionFilter_h 00065 00066 #include "vtkFiltersModelingModule.h" // For export macro 00067 #include "vtkPolyDataAlgorithm.h" 00068 00069 class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm 00070 { 00071 public: 00072 vtkTypeMacro(vtkRotationalExtrusionFilter,vtkPolyDataAlgorithm); 00073 void PrintSelf(ostream& os, vtkIndent indent); 00074 00077 static vtkRotationalExtrusionFilter *New(); 00078 00080 00082 vtkSetClampMacro(Resolution,int,1,VTK_INT_MAX); 00083 vtkGetMacro(Resolution,int); 00085 00087 00088 vtkSetMacro(Capping,int); 00089 vtkGetMacro(Capping,int); 00090 vtkBooleanMacro(Capping,int); 00092 00094 00095 vtkSetMacro(Angle,double); 00096 vtkGetMacro(Angle,double); 00098 00100 00101 vtkSetMacro(Translation,double); 00102 vtkGetMacro(Translation,double); 00104 00106 00107 vtkSetMacro(DeltaRadius,double); 00108 vtkGetMacro(DeltaRadius,double); 00110 00111 protected: 00112 vtkRotationalExtrusionFilter(); 00113 ~vtkRotationalExtrusionFilter() {} 00114 00115 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00116 int Resolution; 00117 int Capping; 00118 double Angle; 00119 double Translation; 00120 double DeltaRadius; 00121 private: 00122 vtkRotationalExtrusionFilter(const vtkRotationalExtrusionFilter&); // Not implemented. 00123 void operator=(const vtkRotationalExtrusionFilter&); // Not implemented. 00124 }; 00125 00126 #endif