00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00023 #ifndef __vtkArcSource_h
00024 #define __vtkArcSource_h
00025
00026 #include "vtkPolyDataAlgorithm.h"
00027
00028 class VTK_GRAPHICS_EXPORT vtkArcSource : public vtkPolyDataAlgorithm
00029 {
00030 public:
00031 static vtkArcSource *New();
00032 vtkTypeRevisionMacro(vtkArcSource,vtkPolyDataAlgorithm);
00033 void PrintSelf(ostream& os, vtkIndent indent);
00034
00036
00037 vtkSetVector3Macro(Point1,double);
00038 vtkGetVectorMacro(Point1,double,3);
00040
00042
00043 vtkSetVector3Macro(Point2,double);
00044 vtkGetVectorMacro(Point2,double,3);
00046
00048
00049 vtkSetVector3Macro(Center,double);
00050 vtkGetVectorMacro(Center,double,3);
00052
00054
00055 vtkSetClampMacro(Resolution,int,1,VTK_LARGE_INTEGER);
00056 vtkGetMacro(Resolution,int);
00058
00059 protected:
00060 vtkArcSource(int res=1);
00061 ~vtkArcSource() {};
00062
00063 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00064 int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00065 double Point1[3];
00066 double Point2[3];
00067 double Center[3];
00068 int Resolution;
00069
00070 private:
00071 vtkArcSource(const vtkArcSource&);
00072 void operator=(const vtkArcSource&);
00073 };
00074
00075 #endif
00076